Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

USEREXIT_BATCH_DETERMINATION -

Former Member
0 Likes
944

Hi All,

I need some help in batch determination user-exit in delivery processing.

I am passing the MCHA-CHARG, into lips-charg. and delivery is created as expected with the selected batch. BUT issue is if the batch is not having sufficeint quanity, then I would like the system to pick the next batch by adding other delivery line item with 90000, 900001, 900003, 900003 etc until .. all open qty become 0. Please help me where should I code this,



*... ALLGEMEINE PRüFUNG DER CHARGE
     PERFORM LIPS-CHARG_PRUEFEN_ALLGEMEIN(SAPFV50P) USING LIPS-MATNR
                                                         LIPS-WERKS
                                                         MCHA-CHARG
                                                         LIPS-SOBKZ
                                                         SY-DATUM
                                                         LIKP-LFDAT
                                                         SPACE
                                                         UBD_SUBRC.
      IF UBD_SUBRC = 0.
        LIPS-CHARG = MCHA-CHARG.                "CHARGE üBERNEHMEN
     ENDIF.


.

In case Delivery Qty is more then available batch quantity, it is taking only the available batch qty and creating Delv. remaining qty is left open, Instead I would like to add other line 900002 and take the next batch. please suggest how to acheive this.

1 REPLY 1
Read only

Former Member
0 Likes
460

Hi,

I am not seeing any response for this question. can someone please reply and show me the path to begin with or at least ask me more questions, if my question is not clear.

Thank you

Anitha

Edited by: Anitha Reddy Rapole on Jul 26, 2010 6:06 PM