Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9080

Re: Split delivery based on quantity in Scheduling Agreement

$
0
0

Hello Eduardo,

 

Thanks for your support.

 

I tried with routine 906 and did the same which is done for China Invoice Split but for me the problem is parameters in  ZUK906 structure. For invoice there are parameters VGBRL & BILLNO which can be set based on the logic but for delivery i didnt see any.

In fact i tried with split_qty type char1 but it didnt work for me.

 

See my code :

 

DATA: BEGIN OF ZUK906,

       MODUL(3) VALUE '906',

       VTWEG  LIKE VBAK-VTWEG,

       SPART  LIKE VBAK-SPART,

       split_qty like char1,

       END OF ZUK906.

 

DATA: lv_Split_qty like likp-LFIMG.

 

     CLEAR : lv_Split_qty.

    

     lv_Split_qty = 5.

 

     if lips-LFIMG > 5.

     lips-LFIMG = 5.

     ZUK906-VTWEG = VBAK-VTWEG.

     ZUK906-SPART = VBAK-SPART.

     ZUK906-split_qty = 'X'.

     LIPS-ZUKRL = ZUK906.

     ENDIF.

 

Can you suggest me where I am doing wrong.

 

Many Thanks,

Jitendra


Viewing all articles
Browse latest Browse all 9080

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>