12-17-2008 1:54 PM
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
12-19-2008 9:51 AM
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.
12-19-2008 10:32 AM
Hi Poornima ,
thanks for ur reply
when i have checked the structures it was not showing any value .
kindly suggest me something .
regards
digvijay
12-19-2008 10:40 AM
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.
12-19-2008 11:58 AM
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
12-20-2008 5:52 AM
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
12-20-2008 5:57 AM
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
12-23-2008 6:19 AM
Hi,
Can you send me the code which you have added. This will help to resolve the problem much better.
Kranthi,
9986035735.
12-23-2008 6:37 AM
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