Hard Check During Delivery Creation

Hello Experts,
Need your advice. I am stuck up in a enhancement issue during delivery creation. i am working for passenger vehicle company.
Back ground Info.
the company procures chassis from vendor & builds bus body over it. there are various types of chassis & each is uniquely identified in SAP by Material No. & also mentioned in BOM created for bus. when chassis is received , equipment is created using T-code IE01. After this one more equipment is created for bus which is called BBD Serial No. The equipment for BBD serial no holds chassis serial no. My issue is at the time of creation of delivery using T-code VL01N the user puts the BBD Serial No manually in a dialog box provided, This BBD Serial No is not capturing in the importing structure IT_XLIPS of BADI "LE_SHP_DELIVERY_PROC" Method "Delivery_Final_Check".
I have to put a check during delivery creation for consumption of Chassis , if the Chassis is consumed during production phase a Mat Doc will be generated with movement Type 261. As such we don't knew the Mat Doc for Chassis Serial no Consumed during prod phase. so to derive chassis no in the BADI against which we have to check for it's consumption. The user provide BBD Serial no in a standard dialog box in VL01N.
Can we use Field Exit for this or any other BADI Should work.
Best Regards
Priyesh Shah

Hi Priyesh,
Below steps may help you to get the value of the standard dialog box provided in the screen.
1. Find the field name of the standard dialog box provided in the the screen for BBD Serial no.
2. Implement below code in the BAdI "LE_SHP_DELIVERY_PROC" method.
FIELD-SYMBOLS: <fs> TYPE BBDFIELDTYPE.
ASSIGN ('(SAPMV50A)BBDFIELDNAME') TO <fs>.
Now the field symbol <fs> will hold the value passed in the dialog box.
Please try and let me know if it is working or not.
Thanks
Gangadhar

Similar Messages

  • Serial Number validation during Delivery Creation itself(PGI-system checks)

    Process:
    Sales Order PR(Purchase Order) GR( New Serial Numbers are created automatically or manually keyed in)
    Once the Goods Receipt is received, we do the (SO) DELIVERYu2014SERIAL NUMBER ASSIGNMENT Post Goods Issue
    Issue:
    Current Serial Number Profile Management does not do a valid serial number check during DELIVERY CREATION where we do a SERIAL NUMBER ASSIGNMENT.
    Only during POST GOODS ISSUE, the check happens for valid serial numbers; this is too late in the game for business as there is a time lag of 3 days from the DELIVERY CREATION and PGI.
    Reason being--- We donu2019t check the following u201C Existing Stock Checku201D( which does a serial number validation during delivery creation as well)
    SPRO>Plant Maintenance and Customer Service>Master Data in Plant Maintenance and Customer Service>Technical Objects>Serial Number Management>Define Serial Number Profiles
    If we check this option, the business requirement to do a valid serial number check does happen during delivery creation, however we cannot create new serial numbers during Purchase Order- GOODS RECEIPT.
    QUESTION:
    Can we have the system check the valid serial numbers from stock during delivery creation and serial number assignment.
    And Also create new serial numbers during Purchase Order- Goods Receipt.

    Hi
    1.In std SAP its not possible to check the serail number during Delivery creation, through enhancement it can be done.
    2.During GR for PO serial numbers can be created.
    Rgds
    Ramesh

  • Budget exceeded error during delivery creation

    Dear All,
    We are facing a problem during delivery creation. Our business scenario is engineered to order and every customer order is created as a Project in PS module. the sales order is linked to the  WBS element. While creating an outbound delivery for the sales order the system gives error message that "Budget exceeded for the WBS." This is for first time such error has occurred during the delivery creation. Logically delivery creation and PGI indicates negative incurrence on the WBS elements so even if the budget is not there or exhausted still then system should allow to create the delivery.
    Please let me know if anybody has face this problem and solved it.
    regards'
    Preetam

    Preetam,
    What you are saying is correct. Delivery creation and PGI indicates negative incurrence on the WBS elements, the system should not check budget of the WBS.
    Just for checking manually, read the details of the error and note the amount. Check budget availability of wbse and compare this amount with available budget.
    Regards,
    Amol Sarode

  • Automating Goods issue during Delivery creation

    Hi all,
    We have a requirement to automate the Goods issue creation for certain type of orders when the Delivery is getting created. The orders that need to be automatically Goods issued during delivery creation are identified based on certain plants. These plants are linked to certain output type and in the output type routine is the standard program RVADEK01 with one additonal code for automating the Goods Issue creation.
    We have a custom table that holds the status of orders and there is a code in user exit userexit_save_document_prepare which changes the status of the order as closed when the goods issue is done.
    But when the delivery is saved, in this case when an automatic goods issue needs to happen, when the flow reaches this user exit, the output type code dosenot get executed and the Goods issue is not done and so the custom table will not be updated with the closed status. So we are in need to findout a place where we can update the status of the order in that table.
    The output type code is not executed even before the other user exit userexit_save_document. The output type code gets executed and goods issue is done after the this userexit_save_document when the COMMIT statement is executed in the subroutine BELEG_SICHEN_POST in the include FV50XF0B_BELEG_SICHERN.
    I need help in finding out if any user exit or badi is called after this commit statement, so that I can add my code to close the status of the order in my custom table. Just after this commit the Goods issue happens and the VBFA table gets updated with the 'R' records for goods issue.
    Please let me know if anyone has any idea on this. The ultimate goal is to find some place after the goods issue is done to update the status of the order as closed in the custom table we have.
    Thanks,
    Packia

    Dear Siva,
    As informed yesterday I changed the language from DE to EN, to match the other shipping points settings in table V_TVST, this did not bring the solution.
    Please let me summarize, I am really desparate here:
    This is only IM related, Not WM.
    Picking lists are not printed for any Shipping Point from this warehouse, this is just a small subsidiary of my customer in Finland.
    Issue is not Aut. PGI.
    VP01SHP has not been configured for any shipping points, still there we do get the PR except for the new shipping point.
    In the deliveries of correct processed shipping points  I do not find any picking output type.
    Item category in new shipping is equal to Item category in already existing shipping points, so no need to config here.
    There is no picking block active.
    PR creation happens once I enter the pick qty in the delivery in VL02N. This is the part that we need to have automated.
    Can you please try to help me out?
    Tnx & regards,
    Chris

  • New planned goods issue date during delivery creation due to changed route

    Hello All,
    I have defined 2 routes with different values for transit time and transporation lead times. I have configured routes such that in order creation - route A is determined and while delivery creation due to weight group - delivery B is determined.
    Now for Route A i have maintained transit time of 3 days and Transportation lead time of 4 days and for Route B it is 1 day each.
    Delivery scheduling is active for the order type.
    Now when i create the order with a delivery date of say 05/24/2010 then (route A with transit time of 3 days) is determined and the planned goods issue date of 05/21/2010 is in the order.
    Now while creating delivery (Route B which has transit time 1 day) is determined due to the weight group. But the planned goods issue date is still the same 05/21/2010 as in order.
    I am assuming that since the route B has a route of 1 day so the planned goods issue date should be re-determined to 05/23/2010? IS there no scheduling done during delivery creation even though route and subsequently transit time has changed?
    Please let me know the answer to this...
    Thanks
    Shobhit

    Hi ,
    You can use TA - MASS . Enter object type - BUS2032(for sales orders) on initial screen and select sales item data.
    Next screen enter selection fields like sales order no and items. After giving order no and item range , execute and enter all new values for any item data fields. After pressing button "carry out mass change", don't forget to press save button.

  • Authorization Check during PR creation

    Hi,
    I would like to put authorization check in PR creation,particularly
    in the account assignment category. I have created a customized authorization object ZX with the field activity and knttp. My problem now is what userexit i can put this authorization check during PR creation/change...
    i have 2 kind of user, 1st is have access to all and 2nd user is create/change/display to kntpp = K. how can i accomplish this?
    appreciate all the help.points will be given. thanks
    she

    thanks. at the moment, we dont have abaper to work on the coding and to check userexit..so i was hitting this by all the help i can get from this forum. anyone had tried or worked with the same requirement? appreciate if i can have the abap coding at the same time the userexit being used.
    the requirement is to restrict user to create/edit PR to a certain account assignment KNTTP.
    i have created the customized auth object (knttp  -( actvy, knttp)..the customized auth object is maintained to each user role.
    Eg. user1 - knttp (acvtyt =*, knttp=KNTTP)
           user2- knttp(actvt = *, knttp=K)
    so if user2 try to create/change PR with account assigment not equal to K - cost center.
    error message will be trigger during authorization check.
    appreciate all the help.. thanks in advance.

  • Sales Order Update during Delivery Creation

    Hi,
      I have a requirement to update one of the customer specific sales order header table field during the creation of delivery.I'm trying to do this through the delivery user exit USEREXIT_SAVE_DOCUMENT program MV50AFZ1.
    I have a structure CVBAK available, but if i update customer specific the field in the CVBAK it's not changing the sales order.I won't be able to use BAPI or BDC to update SO from the exit, because during this delivery process the current sales order is being used, so system doesn't allow me to acces the sales order.
    Please give me the solution for my problem.
    Thanks

    Hi
    Probably the table VBAK is not updated by delivery transaction, so u can try to update that field (if it's custom field) by yourself.
    U can create a you function module for updating and call it in USEREXIT_SAVE_DOCUMENT:
    FORM USEREXIT_SAVE_DOCUMENT.
    CALL FUNCTION 'Z_VBAK_UPDATE'
          IN UPDATE TASK
          EXPORTING
               VBAK = VBAK.
    ENDFORM.
    In 'Z_VBAK_UPDATE' insert the code to update VBAK, you can also try to call the BAPI here, perhaps (the fm is called in update tusk) in this moment all blocks are released.
    Max

  • Cost Centre authorization check during PR creation

    Hi all,
    Just want to know whether the standard SAP do check the cost centre authorization during PR creation with account assignment.
    Please note that no user exit is used.
    I am looking at standard system check on the authorization object thru the user profile.
    Thanks.
    Tom

    Hi Steve,
    I found the solution.  The control must be from the authorization object that assigned to the user.
    For example, M_BEST_EKO authorization object.  The display activity "09" (Display Price) should not be assigned to this authorization object. 
    Hence, the user would not be able to see the price info in the standard report.
    Cheers.
    Tom

  • FIFO break during delivery creation against STO

    Hi,
    I am running a batch job which is responsible for delivery creation against STO.
    There are 3 STOs I have in system - STO1 from receiving plant - RP1 & STO2 & STO3 from receiving plant RP2.
    In all 3 STO, I have same issuing plant(IP1).
    I expect, when the delivery creation batch job gets triggered, it should create delivery against STO1, later to STO2 & STO3.
    Important parameters as per configuration is set to as below -
    Logistics execution -> Shipping -> Worklists -
    The batch job has shipping due list with
    option "1 Ship-to party and source document" and package type as 1 "All items for  document type and ship to party"
    Any body has any clue, how we can address this?
    Regards,
    Dipak

    Hi,
    Thank you for your reply.
    Below is my MD04 screen -
    The situation is, once GR is done in above plant, stock gets reflected in this issueing plant.
    Next activity is delivery creation batch job triggers.
    System should create delivery for the STO PO for receiving plant SP1.
    Rather than that system creates outbound delivery for receiving plant SP2 & SP3.
    Which I feel is FIFO break.
    My shipping due list has below parameter -
    Delivery creation profile -
    So any idea what causes this FIFO break.
    Also not sure what is this "planned delivery creation dates" you referred earlier.
    Regards,
    Dipak

  • Copy data from VBAK to LIKP during delivery creation

    Hi Experts,
    There is a custom field ZZLATESTDATE in the table VBAK. This is entered during sale order creation on the screen in the Additional Data tab of VA01 transaction.
    Now when I create a delivery with ref to this sale order, and save it, I want to copy this field VBAK-ZZLATESTDATE to LIKP-ZZLATESTDATE. This needs to be done automatically, through a user-exit or any other enhancement available. I dont want to populate it on the delivery screen. I just want to save it in the delivery header table LIKP. How do I go about it?
    Appreciate your help.

    Hi
    First of all, you need that the copy relation will be 1 to 1, ie, don't merge two or more SO in one delivery. For this, check in VTLA the field or VOFM that you set in Combination Requirement.
    Second, in tcode VTLA check in copy rules for the type SO to delivery. So, in VTLA in the field Header Data in transfers, create a copy of VOFM 001 (for instance 901) using VOFM 001 as a template and add this line.
      LIKP-ZZLATESTDATE = CVBAK-ZZLATESTDATE.
    See Note 327220 - VOFM function and its objects for further information related with VOFM.
    I hope this help you
    Regards
    Eduardo

  • ATP check before delivery creation

    Gurus,
    Is there any way of confirming stock in sales order or scheduling agreement by some user exit before we create the delivery.
    For example i have one sales order with quantity of 10. I have 10 pieces in stock but not confirmed in sales order yet so before batch job runs and creates delivey what should be done to confirm that stock in sales order.
    Any help would be appriciated.
    Thanks
    Aman

    Hi Amandeep,
    You need to go for Rescheduling of sales order which is the standard functionality and you dont have to use user exit for the same.
    Lets say your orders are created with 0 confirmed quantity and now you have stock in the system.
    Execute the transaction v_v2 and check out the below mentioned step and result for the same.
    During the rescheduling the open sales order items release their confirmed quantities. The items are sorted according to delivery priority, creation date, document numberand item number and are then transfered to the availability check. Both sales orders are checked in the order of their creation date, because they have the same delivery priority.
    If the Unconfirmed documents required parameter is selected, at least one document of the material must be unconfirmed to assure that all documents of the material are transfered to the availability check.
    The delivery date of the sales order can be set as sorting criterion for the availability check, via the sorting criterion delivery date parameter (which you didn't choose). In this case every sales order is sorted according to the delivery date within the priority.
    Sales order items with the marks date and fixed quantity aren't rescheduled.
    # Choose .
    The system displays a list of the rescheduling results.
    In the rescheduling log you can see, that sales order  has got a new confirmed quantity (column confirmed new).
    # In the dialog box, choose Yes.
    # Choose until the overview tree appears.
    Hope this will resolve your query.
    REgards,
    Krishna O

  • Need Badi or UserExit during Delivery creation

    Hi,
    I have a requirement to create PGI automatically after delivery is created.
    So i am looking for Userexit or BADI which is called immediately after delivery is created so that I can used delivery number and call logic to create PGI.
    I have searched the sdn for same requirement but the badi LE_SHP_DELIVERY_PROC or BADI DELIVERY_PUBLISH and user exit MV50AFZ1 wont suffice .
    Please suggest.
    Thanks & Regards,
    Swapnil.

    Hi,
    to check which BADI are presents during the execution of your trx, just put a break point in the method "get_instance" of the class "cl_exithandler".
    Watch the "sxs_inter" variable (that contains the name of the BADI interface).
    Run the trx and just watch what u can implement.
    Hope it helps
    Bye
    Andrea
    Pls reward if it helps

  • 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

  • Error During Delivery creation with reference to Sales order

    Hi all,
    I am confused while creating delivery order with reference to sales order as this error *" Number of copying routine for table VBKD is missing in Table TVCPL"* is coming again and again.
    I have perhaps made all possible things in VTLA ( Copy sales doc to delivery doc) but still i m finding it difficult to remove it
    Please guide me in it.

    Hi,
    You will need to make assignment from So item to Delivery item please check if copy control is maintained at item level. Also make sure that Copy controls are maintianed for the billing document from the SO & Delivery both as this would be the next step.

  • Error during delivery creation

    Hi Friends,
    I have created a PO, now when i am trying to create its delivery through VL10D, system is showing error message " delivery from plant XX for material YY not possible" and "shipping from shipping point X and plant Y is not possible".
    Although, shipping point is assigned to plant code.
    Plz suggest if any other config needs to be checked.
    Regds

    Hi,
    Check the Customizing properly:
    If stock balance is available in supplying plant, then goods issue (outbound delivery) should get created.
    Please check whether that material blocked in issuing plant.
    If this doesnot work then
    1. You must assign a delivery type to the purchase order document type/supplying plant combination.
    You can do this in the IMG for purchasing under "Purchase Order > Set Up Stock Transport Order> Assign Delivery Type and Checking Rule". NL (Replenishment delivery) is provided for intra-company-code stock transfers and
    NLCC (Replenishment delivery cross company) for cross-company-code stock transfers.
    2. You must assign sales and distribution (SD) organizational units to the supplying plant. They are a sales organization and a
    distribution channel. Purchasing > Purchase order > Set up Stock Transport Order > Plant.
    3. You must assign a customer master record to the receiving plant. IMG Purchasing > Purchase Order > Set Up Stock
    Transport Order > Plant. You require a customer master record for the receiving plant. This customer master record must be
    created for the organizational units of the supplying plant.
    (point 2) (Logistics > Sales and Distribution > Master Data > Business Partners > Customers > Create -> sales and
    distribution VD01 or total XD01).
    For the intra-company-code stock transport, it is sufficent to create the customer master record as a goods recipient (VD01).
    For the cross-company-code stock transport with shipping and billing documents, a complete cutomer master reccord is required
    (XD01).
    4. For the material to be transferred, you must create the sales organization data for the sales organization/distribution channel
    of the supplying plant (point 2), and you must maintain the sales view (general plant data) for the supplying plant.
    5. If there is a cross-company-code stock transport, you must create a vendor master record for the purchasing organization of the receiving plant. You must assign the supplying plant to the vendor master record. The assignment is executed in the vendor master record from the purchasing organization screen using "Extras > Additional Purchasing Data".
    6. You must enter a shipping point for the combination of shipping condition (from the customer master record of the
    ordering plant, see point 3) - loading group (from the material master) - supplying plant, IMG: Logistics Execution > Shipping
    > Basic Shipping Functions > Shipping Point and Goods Receiving Point Determination > Assign shipping points.
    Regards,
    Prashant

Maybe you are looking for