Skip to Content
avatar image
Former Member

PO with Texts items

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 02, 2015 at 03:51 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 04, 2015 at 10:26 AM


    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 05, 2015 at 01:48 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 16, 2015 at 09:23 PM

    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

    Add comment
    10|10000 characters needed characters exceeded