03-11-2016 2:54 PM
HI,
I am adding custom fields in Inbound delivery document but i am getting following error while adding code of modules (PBO,PBI). Experts kindly help resolving the issue.
I have performed following steps for this:
Extension Inbound Delivery VL31N:
In Screen level:
1) Implementation of the BADI LE_SHP_TAB_CUST_HEAD as ZMMXE_TAB_CUST_HEAD
2) Creation of a function group Z_MMX_IBDELIVERY, Add a sub screen 9000 inside it and create screen fields
3) In method ACTIVATE_TAB_PAGE write the following code
ef_caption = 'Customer Data'.
ef_program = 'SAPLZ_MMX_IBDELIVERY'.
ef_dynpro = '9000'.
4) Now Screen is linked, go to VL31N, you will get an addition sub screen tab Customer Data.
Maintain data in from screen to table & vice-versa:
1) In Screen flow logic,
PROCESS BEFORE OUTPUT.
MODULE STATUS_9000.
*
PROCESS AFTER INPUT.
MODULE USER_COMMAND_9000.
2) In method TRANSFER_DATA_TO_SUBSCREEN,
SET PARAMETER ID 'IMEM' FIELD is_likp-zzserno.
3) In the Modules,
Module STATUS_9000 OUTPUT
GET PARAMETER ID 'IMEM' FIELD likp-zzserno.
endmodule.
Module USER_COMMAND_9000 INPUT
SET PARAMETER ID 'OMEM' FIELD likp-zzserno..
endmodule.
4) In Method TRANSFER_DATA_FROM_SUBSCREEN
GET PARAMETER ID 'OMEM' FIELD cs_likp-zzserno.
Regards,
03-11-2016 3:00 PM
In the TOP of your function group did you declare LIKP structure and any other structure you use in PBO/PAI/Dynpros?
The ZZ field exist in ZALIKP structure?
03-11-2016 3:00 PM
In the TOP of your function group did you declare LIKP structure and any other structure you use in PBO/PAI/Dynpros?
The ZZ field exist in ZALIKP structure?
03-11-2016 3:09 PM
How to declare LIKP structure in function group? and no i am not using any other structure. And yes ZZ field exist in LIKP structure.
03-11-2016 3:11 PM
You should have a ....TOP include in your Z function group.
Just put
TABLES: LIKP.
in it.
03-15-2016 5:29 AM
Now as i have followed all the above mentioned steps still the data is not saved and dont appear when I display the Inbound Delivery Document. Please help