Updating Batch Number while delivery creation from sales document

Hi Experts,
     I have to write code inside user exit MV50AFZZ which updates batch number during delivery creation. Suppose I have a sales having more than one line items. Each line item have different material numbers, and one material number may have more than 1 batch number. And all these batch numbers have to be updated for their corresponding material numbers. Batch  number corresponds to LIPS-CHARG. So how we can maintain values for this field more than once for a particular material number?

Hi Pankaj,
Were you able to update the Batch Number?
What is the function Module that you used? and where exactly did you code in the logic?
Thanks,
RV

Similar Messages

  • Derivation of batch number in Profitability Analysis for Sales document

    Hi Gurus
    We are trying to put Batch number in PA derived through sales order sales delivery document but due to timing issue like do not have billing document untill processed and PA derivation done
    scenario SA created with multiple line items
    Batch number can be seen in Delivery document number   
    Thanks in advance

    We are trying to put Batch number in PA derived through sales order sales delivery document but due to timing issue like do not have billing document untill processed and PA derivation done
    scenario
    SO created with no batch number
    In the Delivery split batch into two seperate lines with batch numbers in it
    PA post two seperate lines however unbale to map batch numbers
    Btach number exist in tables MSEG, LIPS and VBRP
    Unfortunately these postings happen after updating PA so not available for derivation in PA
    Thanks in advance

  • Bapi for Delivery Creation from Sales Order

    Hi
    I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
    Can i have BAPI or fumctiona module for same.
    Best Regards
    Subham

    Check this thread:BAPI for Delivery Creation
    Also search the forums..there are many threads addressing the same issue.
    Regards,
    Kiran

  • Dynamic Credit check - problem -Delivery creation from Sales order

    Hi
    we have a problem which i would appreciate some help with.
    Sales order is blocked for credit and subsequently released via VKM1
    BUT as soon as line item is selected and then Sales document > deliver -
    the Dynamic credit block kicks in again straight away, no other changes have been made
    why is this occurring ?
    I managed to get round the problem by creating delivery via VL10c and selecting line item and then create in background

    Hi Tony,
    Do you have a credit check active again at Delivery level?
    In OVA8 - for the combination of credit control area, risk cat & credit group - please check field 'Number of days'.
    If you do not wish to carry out the credit check again for the released doc, here you can maintain the number of days.
    Description of F1 for this field is as below.
    Credit check: Number of days without check
    Specifies the number of days after which a changed document must be re-checked for credit.
    Use
    This function is used for checking documents that have already been released by a credit representative, but that have subsequently been changed. The system does NOT carry out another credit check if the following conditions are met:
    The value of the changed order is not greater than the value already approved for credit (inclusive of the deviation factor), AND
    The current date is not greater than the original release date plus the number of days specified here
    thanks
    Anirudh

  • Automatic project creation from Sales Document

    Hi Experts,
    Could you please advise what are the steps needed to obtain automatic creation of project from Sales Inquiry?
    Thank you in advance!!
    Aleksandra

    Hi,
    1. Create standard WBS CJ91
    2.create standard Network CN01
    3.Assign material (Finished) to standard network CN08.
    SD Config:
    1. Create sales document type.
    2. Check requirement classes and requirement types take KMPN and 212
    Material Master Settings:
    3. For material in MM02 material master ,
    4.Maintain view MRP3 Strategy group 85 Assembly processing with network/project.
    Create Sales order:
    Assign material to sales order and while saving it will trigger project.
    Muzamil

  • HOW TO KNOW DELIVERY DATE FROM SALES DOCUMENT NO...?

    HI all.
          i have sales document no..
    how can i have the delivery date of that sales order...?

    Dear Shashank,
    against any sales Document no. VBELN ...
    u will find it's Delivery date in LIKP  :Delivery Header Table
    in LFDAT "Delivery Date.
    Hope it helps u...!!!
    Pls reward if Helpful...!!!

  • VL10G Delivery Creation from Sales Order

    I am facing a problem where if I go to create delivery from VL10G, all the line items from the sales orders are transported to the delivery document EVEN when no stock is available?
    Can anyone help me out
    Thanks

    Hello Andrew,
    are the delivery items than created with 0 quantity?
    If this is the case, than you can change the customizing of the delivery item category.
    There is the option 'Check quantity 0' you have to set the value to B or C.
    Best regards, Hannes

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • FIFO batch determination while delivery in SD

    Hi Experts
    I did tried to search FIFO batch determination while delivery in SD, but could not find any solution. Please suggest.
    1. Strategy type -SD01
    2. Batch search Procedure - SD0001
    3. Allocated SD Search procedure to the sales area + Sales doc. Type
    4. Activated automatic batch determination in SD.
    5. Class - CLASS_FIFO is created with Char- LOBM_LWEDT
    6. Sort rule - SORT_FIFO and assigned Char - LOBM_LWEDT
    7. Create material and assiged Class - CLASS_FIFO and Batch management is activated
    8. Maintained condition record VCH1 in keycombination - Material.
    After all above configuration, I am able to do the automatic batch determiation. The suggest where I am wrong.
    The same configuration I have done for FEFO and its working.
    Thanks in advance.
    Regards,
    Kaushal Sharma.

    I have resolved the problem
    Happy to note you have resolved on your own but at the same time, your above comments are not going to help anybody who face similar issue.  Please make it as a practice to update the forum properly as to how you resolved
    G. Lakshmipathi

  • Error while delivery creation

    hi,
      i am getting an error while delivery creation for qty 2.The error is "Only 0 EA of material xxxx available".
    The schedule line cat in this case is cp and avalibility check is carried out and confirmed qty is given on some date ahead.
    User then runs the MRP and PR is created .
    Then the user creates a PO but not with ref to the PR created from above,instead the user creates a SO assigned PO and then creates GR which is SO assigned.
    Now when the user is trying to create delivery the erroe is "Only 0 EA of material xxxx available".
    Pl tell me why am i getting this error inspite of having the qty against the SO?
    Is it because a PR is generated from the MRP run for tht order and we have no GR agaist tht PR?Where do u i check this setting

    Hi,
    In SAP there is no stock available for that material. That is the reason it is showing that message..
    Please check MMBE t.code  stock overview for that material. I  think sales order scheduleline date is showing some other date.becuase today there is no stock so u will be not able to create any delvery. So please create delivery only on confirmed schdulines date....
    Other wise do stock posting and then do availability check then try to create delivery...
    Regards
    sankar
    Edited by: sankar sankar on Jul 1, 2008 1:10 PM

  • Blocking RdA creation from Sales Order Schedule Line

    Hi Gurus,
    please do you know if there is a way to block the RdA creation from Sales Order schedule line, for TAS item category? I tried with Header Delivery block without quantity confirmation but even if quantity on schedule lines are not confirmed, RdA is created anyway.
    Thank you very much
    Kind Regards
    Andrea

    thank you

  • Unable to block creation of sales document from Quotation thru user status

    Dear Experts,
    I have maintained a status profile in my Quotation document through the use of user status. I have defined a status to forbid creation of sales document if the status has not yet been set to "Approved".
    However, even when the status is not yet "Approved", it still allows me to create subsequent sales document from this Quotation.
    Anything that I have missed here?

    Hi,
    It should not happen.
    Please check the Object types for which the status profile is created. It should be for either Sales Order header or Sales order Item.
    Make sure that the "create sales document" is "forbiddden" for the initial status only.
    Also please check Low- High numbers for each status.
    Hope this helps.
    Regards,
    Sharan

  • Automatic PR Creation from Sales order

    Hi All,
              This is with respect to PR creation from Sales order for 3rd party items.
    I am able to create PR from standard sales order and i dont have any issues with that.  I have used schedule line categories which is configured with Order type Z2, Item rel for dlvy checked and Acct assigment group as E.
    Now my question is , I want to copy partners from sales order to Purchas req. Currently some partners are getting transferred from Sales order to P.Req, But not all there in sales order. Where do we control the data that can be copied from Sales order to P. Req
    Thank you
    Kris

    Hi,
    Genrating PR, Mostely depends on shedule line,see which shedule line u r determining for HIGH LEVEL ITEM ,for that shedule line maintain setting is VOV6.
    kapil

  • Does anybody know table for copy controls from Sales document to Delivery

    Hi,
    Does anybody know table for copy controls from Sales document to Delivery. Especially for item level.
    Regards,
    Praveen

    >
    Lakshmipathi wrote:
    > Almost all members know copy control from sale order to delivery.  What exactly your problem is ??   Please post that and avoid asking questions like this !!!!!!!!!!
    >
    > thanks
    > G. Lakshmipathi
    Sorry for my post. I guess you were a wee bit quicker than me in the reposnse

  • BAPI needed for goods receipt for delivery created from sales order

    Hi experts,
    I need help.
    I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
    Is there any way to post this? I need BAPI and not FM MB_*....
    Thanks & REgards,
    Bhavin A. Shah

    Hi,
    Please refer to link,
    https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
    Regards
    Shree

Maybe you are looking for

  • Trouble with Lumia 900 navigation button not worki...

    Hei guys, This afternoon, all of a sudden, without nothing happened, my 3 navigation buttons (back, start and search) on my nokia lumia 900 stopped working. I really can't understand what happened since 2 minutes before the buttons were working perfe

  • Cannot commit for update

    Hi I have a problem about adf commit. I have master and detail table. I change master table's one row data in jsf page and then press commit. It doesnt change in database. But if change datail table row and press commit it change Can anyone help me?

  • Captivate Not Showing Results

    I have created an interactive quiz using click boxes. I made sure that the click boxes were included with the quiz. I asked that the results be shown at the end of the quiz. I published the quiz, but no results were shown at the end. Please advise as

  • Failed to open page - To many redirects occurred

    What does that mean? and how would I fix or solve this ? I'm having problems opening new pages via Rockstar Games website E.g socialcub.rockstargames.com Thanks for Helping.

  • Kernel Label

    Hello, I want to install a system and during the Kernel DVD I'm getting this error: In the diferente Netweaver versions only appear Kernel 7.21 and not 7.20... Regards