Quantcast
Viewing all articles
Browse latest Browse all 3184

GL directly from shopping cart without account assignment

Hi All

 

Is there any prerequisite in the account assignment overview  to select GL from the free text shopping cart?

 

(backend acct assignment category ) X=GL ( Account assignment category ).

 

any instances we may need to do this from SRM?

 

 

i believe BAPI  BAPI_PO_CREATE1  badi always expects SOME ACCOUNT ASSIGNMENT  right?

 

Note 1408312 - Direct material does not derive correct account assignment - Can some one expalin this sap note please?

 

 

 

MM06EF0P_PRUEFEN

 

     MESSAGE e000(mepo).

    ENDIF.

    LOOP AT ett WHERE item_with_error NE space.

      MOVE-CORRESPONDING ett TO potkey.

      READ TABLE pot WITH KEY potkey BINARY SEARCH.

      IF sy-subrc EQ 0 AND pot-loekz NE 'L'.

        MESSAGE e001(mepo) WITH ett-ebelp.

      ENDIF.

    ENDLOOP.

    LOOP AT knt WHERE item_with_error NE space.

      MOVE-CORRESPONDING knt TO potkey.

      READ TABLE pot WITH KEY potkey BINARY SEARCH.

      IF sy-subrc EQ 0 AND pot-loekz NE 'L'.

        MESSAGE e046(mepo) WITH knt-ebelp.

      ENDIF.

    ENDLOOP.

  ENDIF.

 

Muthu


Viewing all articles
Browse latest Browse all 3184

Trending Articles