‎2006 Oct 09 12:48 PM
HI All,
Can any one explain me about this function module.
CALL CUSTOMER-FUNCTION '001'
EXPORTING
SEGMENT = IDOC_DATA
DXMESCOD = IDOC_CONTRL-MESCOD
CONTRL = IDOC_CONTRL
TABLES
DXVBAP = XVBAP
DIVBEP = IVBEP
DXVBADR = XVBADR
DXVBPA = XVBPA
DD_FLAG_P = D_FLAG_P
DXKOMV = XKOMV
DXBDCDATA = BDCDATA
CHANGING
DXVBAK = XVBAK
DD_FLAG_K = D_FLAG_K
EXCEPTIONS
USER_ERROR = 01.
In this function module .
what is exporting,tables,changing means.
Can any one give me clarification. because i need to work on the tables which are mentioned in the tables option
in this fouction module in the userexits.
can we pass any values to the changing options manually.
Thanks in Advance.
Thnaks&Regards.
Ramu.
‎2006 Oct 09 12:50 PM
This is a call of user-exit.
You have to find the ZX_____ Abap which is called to put your own code.
How do u find it ?
Regards,
Erwan
‎2006 Oct 09 12:53 PM
Hi,
This is one of the FM's for the user exit.
Here you will be able to use the values which you are passing to the FM to change the structure XVBAK and the other tables which you passing.
The coding that you will do will be inside the FM
‎2006 Oct 09 12:54 PM
HI Ramu,
Check
http://www.geocities.com/SiliconValley/Campus/6345/call_cus.htm
Variant 6
CALL CUSTOMER-FUNCTION func.
Additions
The same as for CALL FUNCTION func.
Effect
Calls the function module func . func must be a 3-character literal (e.g. '001')
In line with SAP's enhancement concept, function modules are delivered empty and must be implemented by the customer (the transactions used for this are SMOD at SAP and CMOD at the customer's).
The interface and call location are both defined by SAP.
Note
The customer can use Transaction CMOD to activate the function module. The final name of the function module is compiled from EXIT_ , the name of the module pool where the function module is called, and the name func . For example, the statement " CALL CUSTOMER-FUNCTION '001' " in the module pool SAPMS38M calls the function module EXIT_SAPMS38M_001.
Regards,
Santosh
‎2006 Oct 09 1:05 PM
Hi,
This is a Function module which is called in any mainprogram of any transaction and is used is a call to an USER EXIT.
Exporting means values that you pass to the Function Module from the Program which calls the function module. These values are received in the Import parameters of the function module.
Tables is used to pass values of an internal table from the Program that calls the Function Module.
Changing is used to pass values from the Program that calls the Function Module and some manipulations could be done inside the Function Module and the values of these parameters (Changing parameters) are modified and and can be recieved in the main program.
The code would be written in some user exit and could be found on doubleclicking on '001' which would b ean include starting with 'ZX......' in a Function Module starting with 'EXIT_....._001'.
Moreover this is not an unique function module name.
Hope this would be helpful.
Thanks,
Prashanth
‎2006 Oct 09 3:18 PM
hi
good
go through this link, which ll give you complete idea about this function module.
http://www.geocities.com/SiliconValley/Campus/6345/call_cus.htm
thanks
mrutyun^