cancel
Showing results for 
Search instead for 
Did you mean: 

Header text update in creation of PO

Former Member
0 Kudos

Hi All,

Our reqd is to change the header text while creation of PO.

I am using the badi BBP_CREATE_BE_PO_NEW.

Could some one please tell me how to use this badi for populating the header text in PO.

Regards

Bidyut

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

There is changing type parameter CS_PO1_DOCUMENT.

BBPS_BADI_PO_CREATE1-IT_POTEXTHEADER is Header Text.

Regards,

Masa

Former Member
0 Kudos

Thanks for ur reply Masa,

I am trying to set all flags in cs_po1_document and

for header text

ls-PO_NUMBER = CS_PO1_DOCUMENT-is_poheader-PO_NUMBER. " this is the PO number

ls-PO_ITEM = " not sure what to enter

ls-TEXT_ID = 'F01'. " not sure what to enter

ls-TEXT_FORM = '*'. " not sure what to enter

ls-TEXT_LINE = 'tttt'. " this should be the text

append ls to CS_PO1_DOCUMENT-IT_POTEXTHEADER.

I am not sure wht to enter in -PO_ITEM , -TEXT_ID ,-TEXT_FORM.

Do suggest

Regards

Bidyut

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

Is there any existing value ? The easy way is checking existing value in debug mode.

Regards,

Masa