12-17-2014 7:29 PM
Hi Folks,
My requirement is to pass the text which is maintained in SO10(custom) and also the text which is maintained in the PR while creating the PO using the transactions ME21N and ME59.For ME21N i used a method "PROCESS_ITEM" of badi "ME_PROCESS_PO_CUST" it is working fine with ME21N. But for ME59, i used exit "EXIT_SAPMM06E_013" and i am getting the both texts,that is maintained using SO10 and the PR text by using READ_TEXT.After getting these two texts i am appending these two entries in to an internal table and calling the "SAVE_TEXT".But when this FM "SAVE_TEXT" is called, its returning sy-subrc = 0 but the text which i am passing is not reflected after creation of PO with ME59. Can any one help me out in this issue.
Thanks in advance
Regads
Mallikarjun Reddy G
12-18-2014 5:34 AM
Hi,
Please Note that the FM SAVE_TEXT will not perform any update operation in PM and certain other transactions, please check the below link.
https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F6465...
This may be the reason for your issue. Please try using BADI itself. I had the same problem with Orders which was later rectified using BADI.
Try for suitable BADI it will definitely help you in achieving this functionality.
Regards,
Satish
12-22-2014 5:42 PM
Hi Satish,
I guess there is no suitable badi for my requirement, Hence i am trying to do it by implicit source code enhancement.
Regards
Mallikarjun Reddy G
12-23-2014 11:48 AM
Hi Mallikarjun
Try using tcode ME59n for PR-->PO creation if it can be replaced by ME59.
Since ME_PROCESS_PO_CUST will trigger during this process of PO creation and you will be saved with your effort of creating implicit code enhancement.
Thanks and Regards
Kishan Shah
12-23-2014 5:37 PM
Hi Kishan,
Can you please let me know what exactly would like to suggest me...?
12-24-2014 10:48 AM
Hi Malikarjun
Just try to use tcode me59n instead of me59.Put a break point in BADI ME_PROCESS_PO_CUST and check if it works.