Application Development and Automation 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: 
Read only

Header data not updating using BADI ME_PROCESS_CUST

Former Member
0 Likes
573

Hi,

I am using BADI ME_PROCESS_CUST for updating some data in header using

method CHECK.

When i set the value it shows that the value is set. but when i got back from the transaction ME22n and come back the value disappears.

method used for changing header data is im_header->set_data( ... ).

Regards,

Khusro Habib

Message was edited by:

Khusro Habib

3 REPLIES 3
Read only

Former Member
0 Likes
506

ME22n is an enjoy transaction....If u need to create u can create manually...i think ur using sap program to update data into sap....for this purpose u have to use ME22 & not ME22n.....

Enjoy transaction can't be used in transfer of data via programs...

Read only

0 Likes
506

No. I am not uploading data into SAP, the thing is when the user saves the PO when creating manually the BADI should fill a header note (that is the long text) and a field in PO Header, the Header Note long text is updating but the field in PO Header (collective no.) is not updating, it shows when the value which i set from the BADI but it doesnot save it so when i go back and come again the field is empty again.

I sent an OSS to sap thinking may be it requires a note. But they say this is a consultancy issue.

Khusro Habib

Read only

Former Member
0 Likes
506

CHECK Method should not be used to update data.

Khusro Haib