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: 

Adding custom fields in Inbound Delivery VL31N, VL32N,VL33N

Former Member

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,

1 ACCEPTED SOLUTION

SimoneMilesi
Active Contributor
0 Kudos

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?

4 REPLIES 4

SimoneMilesi
Active Contributor
0 Kudos

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?

0 Kudos

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.

0 Kudos

You should have a ....TOP include in your Z function group.

Just put

TABLES: LIKP.

in it.

0 Kudos

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