2012 May 31 8:07 AM
I want to update the PO ITEM TEXT Fields Data ,Fields given below
PO Item Details --> Texts
Item Text
Info Record PO Text
Material PO text
Delivery text
Info record note
Customer freight acct # note
i want BAPI code for updating above fields data
but for above fields we don't have fields in BAPI_PO_CHANGE ,
for those 6 fields we have onlt one field TLINE , how i can update those field
plz help me
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
I want to update the PO ITEM TEXT Fields Data ,Fields given below
PO Item Details --> Texts
Item Text
Info Record PO Text
Material PO text
Delivery text
Info record note
Customer freight acct # note
i want BAPI code for updating above fields data
but for above fields we don't have fields in BAPI_PO_CHANGE ,
for those 6 fields we have onlt one field TLINE , how i can update those field
plz help me
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
2012 May 31 8:33 AM
In the BAPI_PO_CHANGE you have TABLES param potextitem to change texts .
Priya
2012 May 31 8:37 AM
hi priya ,
i passed the POTEXTITEM data also but it is updating the data base , ple see above code once
2012 May 31 10:34 AM
Your potextitem should be similar to that, When I tried from se37 it worked.
Priya
2012 Jun 01 1:14 AM
Hi Vishnu,
Below sample code may help you!!!
ls_potextitem-po_item = lv_index *10. ---> Line item number (ex: 00010)
ls_potextitem-TEXT_ID = 'F04'.
lv_po_item_text = 'Delivery Text'.
ls_potextitem-text_form = '*'.
ls_potextitem-TEXT_LINE = lv_po_item_text.
APPEND ls_potextitem to lt_potextitem.
write the above code for all other texts and append them to LT_POTEXTITEM. and pass the LT_POTEXTITEM to BAPI_PO_CHANGE. you will be able to save the text.
Thank You.
Shyam
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |