on ‎2015 Nov 02 3:34 PM
Hello Experts,
Please help me with how to transfer PO having texts items. I have seen few posts where people have said we cannot transfer such PO's.
Situation is all PO's are getting locked which has no material codes.
How to handle such PO's.
I cannot use any exits because I cannot skip any PO's without GTS check. By any chance can I handle this by configuration?
Request clarification before answering.
Hi AJ,
If you do not want any code changes, Dave's answer is the best approach. However, if you are open to implementing BADI /SAPSLL/IFEX_MM0A_R3 (Method IF_EXTEND_CON_CDOC), create a generic material named GTS_GENERIC_MATERIAL in ERP, transfer it to GTS and pass that as the material number in the BADI.
loop at cs_itm_cdoc-gen into ls_gen.
* If the productid is empty, get the short text and populate
* additional fields in the extension
if ls_gen-product_id is initial.
* Get the short text from the EKPO table
clear: ls_ekpo.
read table it_ekpo into ls_ekpo with key ebelp = ls_gen-item_number.
ls_gen-product_id = 'GTS_GENERIC_MATERIAL'.
ls_gen-mat_short_text = ls_ekpo-txz01.
modify cs_itm_cdoc-gen from ls_gen.
clear: ls_extension2-field, ls_extension2-value.
ls_extension2-row = ls_gen-item_number.
ls_extension2-field = 'YY_TEXT'.
ls_extension2-value = ls_ekpo-txz01.
append ls_extension2 to ct_extension2.
endif.
endloop. "cd_itm_cdoc
Regards,
Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We can use ECC BADIs - MM0A and MM0B for PO and IBDs resp.
Generic (dummy) materials needs to be created in GTS using FM - /SAPSLL/API_6850_SYNCH_MASS. Custom logic needs to be written in ECC BADI's to pass the dummy to GTS to update in GTS Customs documents for PO/IBD text materials which will help to make customs document complete.
Thanks & Regards,
Pushpraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Aj,
As far i know We cannot do through config. But you can include coding in BADI "BAdI for Mapping and Enrichment of Data from Purchasing Documents (MM0A)" which should automatically assign dummy material for cases which does have material and only text description..then normal process will happen
Regards
Udhaya.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AJ,
Configure or use a different P.O. Type for those having text items, and exclude that Type from compliance checks - easy!
Regards,
Dave
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 10 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.