Professional Documents
Culture Documents
Use the Documentation button to see the documentation for the BTE.
Click on sample function module to see the function module for BET.
Now edit existing structure RFPOS and add the new fields as shown in screen
shot.
FUNCTION ZSAMPLE_INTERFACE_00001650.
*"---------------------------------------------------------------------*"*"Local Interface:
*" IMPORTING
*" VALUE(I_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*" EXPORTING
*" VALUE(E_POSTAB) LIKE RFPOS STRUCTURE RFPOS
*"---------------------------------------------------------------------*-------------- Initialize Output by using the following line ---------e_postab = i_postab.
TABLES : BSEG, LFA1.
DATA: w_name1 TYPE lfa1-name1,
w_lifnr TYPE lfa1-lifnr,
w_ebeln TYPE ekko-ebeln.
IF e_postab-blart EQ 'WE'.
ELSE.
Same way you can add more fields base on your requirement.
Regards,
Rohidas Shinde.