03-15-2007 5:56 AM
Hi Experts,
I knew that to write customer own logic, exits wuld b located in main prog. with the help of following statement,
<i>CALL CUSTOMER-FUNCTION '003'
exporting
xvbak = vbak
xvbuk = vbuk
xkomk = tkomk
importing
lvf_subrc = lvf_subrc
tables
xvbfa = xvbfa
xvbap = xvbap
xvbup = xvbup.</i>
So, my doubts r,
1- Under Export parameter, Which one is exporting, either its vbak or xvbak?
2- In Import paras, there is no X prefix either side! In Tables there is X prefix for either side! Why this difference? Is it just like that?
ThanQ.
03-15-2007 8:32 AM
hi Srinivas,
Yes, as lakshman has mentioned <b>XVBAK is the exporting parameter</b> and
the value exported thru this parameter is the value contained in <b>variable vbak</b>.
Normally, when we create function module / method parameters, 'X' or 'EX' will prefixed for the exporting parameters and 'I' or 'IM' is prefixed for importing parameters; Again, this only a convention or recomendation for readability and it is not mandatory. It all depends on the developer, if he is following all the naming conventions....
Hope this information helps,
Sajan Joseph.
03-15-2007 8:13 AM
Hi Srinivas,
In this function module:
Left side parameters are, while defining function module they will refer to some values. Those values are displayed in the left side. Right side values are while using the function module u mention some structurres or itab in u r program, those u can pass to this function module with values.
<b>1)Under Export parameter, Which one is exporting, either its vbak or xvbak</b>
XVBAK is the exporting parameter with the values of VBAK.
<b>2)In Import paras, there is no X prefix either side! In Tables there is X prefix for either side! Why this difference? Is it just like that?</b>
Based on the user defination it will displayed. Suppose if u define as VBFA while creation function module then it will display as VBFA = XVBF, XVBFA is defined in your won program.
Hope this helps you. Reply for queries..
Reward for useful points..
Regards,
Kumar.
03-15-2007 2:37 PM
03-15-2007 8:32 AM
hi Srinivas,
Yes, as lakshman has mentioned <b>XVBAK is the exporting parameter</b> and
the value exported thru this parameter is the value contained in <b>variable vbak</b>.
Normally, when we create function module / method parameters, 'X' or 'EX' will prefixed for the exporting parameters and 'I' or 'IM' is prefixed for importing parameters; Again, this only a convention or recomendation for readability and it is not mandatory. It all depends on the developer, if he is following all the naming conventions....
Hope this information helps,
Sajan Joseph.