Home > database >  Write a piece of code
Write a piece of code

Time:09-18

String ls_ssny
If ls_ssny & lt;> Gd_sysdate (" yyyy/mm) "then
Gs_err_v_text [1]="unit in yemen is not equal to the current year belongs to business change"
Fc_disp_msg (10008, 2)
The return - 1
End the if
Error: unknown function name gd_sysdate how to modify

CodePudding user response:

Gd_sysdate,



pb not have this functionGlobal function should be customized

CodePudding user response:

Gd_sysdate is this function which object inside, look for them, and then create the reference

CodePudding user response:

Look for the function,

CodePudding user response:

Gd_sysdate estimate is a function of global, lookup in the browser

CodePudding user response:

Should be a custom global function, find out

CodePudding user response:

Pb does not bring this function, you should be in global function to define the function first, so, to use them

CodePudding user response:

Above a few positive solutions

CodePudding user response:

In global function defined in the function, or in other ways to access to current system date, such as today () function,

CodePudding user response:

If ls_ssny & lt;> Gd_sysdate (" yyyy/mm) "then change

If ls_ssny & lt;> String (today (), 'yyyy/mm) then

PB no gd_sysdate this function,
The code is copied other languages

CodePudding user response:

Custom global function is not defined or name should be gf_sysdate (), usually it is this definition,

CodePudding user response:

Gf_sysdate () is not the system function, it is the custom of global function, can't call here.

CodePudding user response:

Gd_sysdate begin with g is to define a global variable, you copy the code

CodePudding user response:

The
refer to 12 floor wojiaoluosha reply:
gd_sysdate begin with g is to define a global variable, you copy the code

CodePudding user response:

Well, as global variables

CodePudding user response:

reference 13 floor afu1972715000 reply:
Quote: refer to 12 floor wojiaoluosha reply:

Gd_sysdate begin with g is to define a global variable, you copy the code

If the code is written by yourself, it will be declared variables, only copy (copy) code just don't know where to define, you know?
  • Related