cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PO with Texts items

Former Member
0 Likes
580

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?

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member194424
Active Participant
0 Likes

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

0 Likes

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

udai88
Participant
0 Likes


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

former_member215181
Active Contributor
0 Likes

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