cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit: Saving data in Production Order Header Long Text

former_member405941
Participant
0 Kudos
637

Hi PP Gurus,

Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header.

We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work.

In 4.7 version, is there any other User Exit or BADI can be used to comply with this requirement?

It's quite common requirement, hope someone can help me. Thanks.

Best regards,

Sun Qiang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sun Qiang,

Please check if user exit PPCO0012 Production Order: Display/Change Order Header Data .

Regards

Datta

Former Member
0 Kudos

Hi ,

I think you should also use Function Module : READ_TEXT to read the old longtext and FM SAVE_TEXT to save the longtext in the above User exit ..

regrds

pushpa

Answers (1)

Answers (1)

former_member405941
Participant
0 Kudos

Hi All,

Thank for your reply.

After saving the text using 'SAVE_TEXT' function module and commiting it you need to update the 'ltext' field in AUFK table.

SELECT SINGLE * INTO wa_aufk FROM aufk WHERE aufnr EQ '000012345678'.

wa_aufk-ltext = 'D'.

MODIFY aufk FROM wa_aufk.

It works in Enhancement PPCO0007.

This call can be closed. Thanks.

BR

Qiang