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: 

New Tab on header level for me21n/me22n/me23n

digvijay_rai
Participant
0 Kudos

Hi Friends

i have created a new tab on the me21n/me22n/me23n header level using the exit

MM06E005 , The tab is displayed but i am not unable to udate the records into the

EKKO Table whereas i have added my field in the include of EKKO CL_EKKODB

Kindly somebody help me with elaborated steps .

Thanks & Regards

Digvijay Rai

8 REPLIES 8

former_member201364
Participant
0 Kudos

Hi,

You can implement ur logic for PBO module of the screen SAPLXM06 0101 in the exit ZXM06O01.

For updating the zfield in db table implement the logic in the exit ZXM06U37(Check the importing , exporting and changing parameters for this fn module EXIT_SAPMM06E_008).

Update ur zfield in the structure E_CI_EKKO, i.e,

E_CI_EKKO-zfield = EKKO_CI-zfield. and

E_CI_UPDATE = 'X'.

Regards,

Poornima.

0 Kudos

Hi Poornima ,

thanks for ur reply

when i have checked the structures it was not showing any value .

kindly suggest me something .

regards

digvijay

0 Kudos

HI,

1. You need to implement one more user-exit for your changes to get saved in EKKO.

2. In the same 'MM06E005' there is another exit 'EXIT_SAPMM06E_008' include zxm06u37.

3. Pls put a break-point in this include and check the following parameters.

E_UCOMM = EKKO_CI-zfield and E_CI_UPDATE = 'X'.

4. Now for testing you force some value in debugging in change mode.

5. If the value is in EKKo then accordingly place the value.

Regards,

Kranthi Namala,

91 99860.35735.

0 Kudos

Hi,

The structure E_CI_EKKO(changing parameter in the fn module EXIT_SAPMM06E_008) contains all the zfields, u have added in the structure CI_EKKODB.

To update the zfields in the database, update the same fields present in structure E_CI_EKKO.

Try the below statements in include ZXM06U37.

e_ci_ekko-zfield = ekko_ci-zfield.

e_ci_update = 'X'.

Regards,

Poornima

0 Kudos

Hi Friends ,

Now Data is saved in the ekko table but for the my field data is not flowing into me22n & me23n

if have already made the purchase with those field .

Thanks in Advance

Regards

Digvijay Rai

0 Kudos

Hi Friends ,

Now Data is saved in the ekko table but for the my field data is not flowing into me22n & me23n

if have already made the purchase with those field .

Thanks in Advance

Regards

Digvijay Rai

0 Kudos

Hi,

Can you send me the code which you have added. This will help to resolve the problem much better.

Kranthi,

9986035735.

0 Kudos

Hi Digvijay,

Once the data is entered on the screen ..code is written to update the table ie...

flow of data from custom screen for header is OK..but for display and change we need to

import the data in a similar manner to the customer subscreen or the tab added in header level

As you can see the following 3...code must be done in EXIT_SAPMM06E_006/007 to fetch data to customer subscreen for display/change actions..use 006/007 for PBO/PAI actions..

EXIT_SAPMM06E_006 Export data to customer subscreen for header(PBO)....INCLUDE ZXM06U36

EXIT_SAPMM06E_007 Export data to customer subscreen for header(PAI)....INCLUDE ZXM06U38 .

EXIT_SAPMM06E_008 Import data from customer subscreen for header

Pls check and revert..in addition

go to smod->MM06E005-> "documentation" -> Display to read more on documentation about data flows and exits used for it

Hope it helps

Regards

Byju