on 07-31-2007 9:51 PM
Hi,
I am using BBP_ECS_PO_OUT_BADI to update custom fields data. That part is working fine now. However, i have to populate the Header Text in R/3 for PO with some constant value whenever a PO is created in SRM.
I am populating the Changing parameter 'CT_BAPI_POHEADER_TEXT' with the data i need. Please find the code below.
*----
st_header_text-PO_NUMBER = CS_BAPI_POHEADER-PO_NUMBER.
st_header_text-TEXT_ID = 'F91'
st_header_text-TEXT_FORM = '*'.
st_header_text-TEXT_LINE = 'Work Order Data'.
append st_header_text to CT_BAPI_POHEADER_TEXT.
*----
But still the long text is not getting created for that PO in R/3.
Please help.
Thanks,
Raghu.
Hi
Which SRM version are you using ?
<b>Text ID <u>'F01'</u> is used for Header/Item Text.</b>
<u>Try this sample code ..</u>
st_header_text-PO_NUMBER = CS_BAPI_POHEADER-PO_NUMBER.
st_header_text-TEXT_ID = 'F01'
st_header_text-TEXT_FORM = '*'.
st_header_text-TEXT_LINE = 'Work Order Data'.
append st_header_text to CT_BAPI_POHEADER_TEXT.
Do let me know.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you solve this problem? We are facing the same issue in our client. Let me know ASAP. Thanks in advance.
Regards,
Maria.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.