Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CALL CUSTOMER-FUNCTION 'xxx'

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

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.

0 Kudos

Thanx to all.

Former Member
0 Kudos

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.