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

Similar Messages

  • 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

  • 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.

  • STO - JEX invoice getting created without Post goods issue of delivery

    Dear Experts,
                We have configured the "Stock Transport Purchase Order" process between 2 different plants within same company code. To satify the Indian legal process, after PGI issue we configured the process as "Proforma" invoice creation using Billing type ZJEX (Copy of JEX). And then Excise Invoice creation using J1IIN.
                      Now problem we are facing is, without "Post Goods Issue" of delivery ZNL also system is allowing to create the invoice using ZJEX type. We are using the standard NLN item category only. But our requirement is, without "Post goods issue" system should not allow to create the sales invoice.
    Can anybody give your suggestion on this issue.
    Thank u
    Regards,
    Nag

    Dear Experts,
            Thanks for your feedback. As per your suggestion i modified the copying requirement in to "034". But during invoice creation i am getting the message that "The item is not relevant for billing". So not successful.
    Can you please give suggestion to solve this issue
    Regards,
    Nag

  • 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

  • Check a UDF of batch number when I create Goods Issue or Delivery

    Hello,
    I manage my items with batch number and I want to block the creation of all  Goods Issue or Delivery in function of the value of a UDF (created the OIBT table).
    I think I can achieve this by using the stored procedure SBO_SP_TransactionNotification, but I never used it and I don't know if (and how) I can retrieve the selected batchnumbers of my documents.
    Is it possible to do so, or do you have any better suggestions???
    Thank You,
    Xavier.

    Hi Xavier,
    You can find some additional information about the SBO_SP_TransactionNotification stored procedure here:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e991e2b9-0901-0010-0395-ef5268b00aaf]
    The stored procedure only returns the following;
    - Object type
    - Transaction type
    - Num_of_cols_key (number of columns in the primary key of the object)
    - List_of_key_cols_tab_del (the list of the columns in the primary key)
    - List_of_cols_val_tab_del (the values of these columns)
    So the stored procedure doesn't directly return the information you want. You would have to link this with a DI application to access the document in question using the value of the primary key returned by the stored procedure. (Or through using an SQL query also using the primary key returned by the SP).
    Please note however, that SBO_SP_TransactionNotification is designed for notification purposes only. SAP can only support any issues arising out of use as a notification mechanism; the use of this stored procedure to block transactions or work as an authentication step are not supported. Please see SAP note 1011154 for more information.
    Regards,
    Niall

  • Issue during automatic Creation of Work Order from Notification

    Hi,
    I have a issue during automatic Creation of Work Order from Notification.
    BADI implemented: NOTIF_EVENT_POST
    BAPI called in BADI: BAPI_ALM_ORDER_MAINTAIN
    I am able to create Work Order successfully but after that i need to update notification header with created work order number.
    But i am unable to update the same (VIQMEL-AUFNR).
    Can anybody provide solution for the same!
    Thanks,
    Kumar.

    Hi,
    Any inputs on above posted issue!
    Thanks in advance.
    Thanks,
    Kumar.

  • 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

  • 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

  • Good issue from delivery not possible due to credit block

    Hi gurus,
    Please help me on this issue.while doing PGI for the delivery i am getting the following error message."Good issue from delivery not possible due to credit block "The simple credit check is assigned for the sales document type.iam doing free of charge delivery.
    What are all the possible ways to get such error
    Regards
    Vis

    but system behavior is not set in transaction OVA8, means combination of risk categories and 03 is not set.
    I think you are checking the wrong risk category, please check once again the Risk category of the payer in FD32, what is it assigned and also check OVA8 with this risk category.
    If you find the above settings are correct as per your observation, try to create a fresh cycle so that you will get the correct results as per your settings in delivery.
    In your case what you are saying is correct, may be the risk category is changed recently this you can check the change log of the payer customer in FD32( if any change takes place).
    If possible try to past the screen shot of both.
    thanks,
    srinu.

  • Error during Post Goods Issue of delivery

    Hello SD experts,
    I have an URGENT problem where users at a particular plant have problems in posting goods issue.  I happened last Thursday and I desparately need solution before month end for closing activities. 
    System would send error msg " All HIM materials require quantity conversion.  Maintain item 000010".  Transaction code used are VL06O and VL02N.  Msg no: 03 012.
    Diagnosis                                                                               
    There is an item for the delivery that has not been fully processed. The
         quantity conversion calculation has not been made. HIM (Hydrocarbon     
         Inventory Management) materials require that all quantities for all     
         units of measure defined in the unit of measure group are calculated by 
         the QCI (Quantity Conversion Interface).                                
    The problem is, there's no problems in posting the particular material form the same plant before this.  When I took a look at the Delivery document, I noticed the "Qty in alt UoM" tab in the Item Details screen is blank whereas there should have data in it.  I believe these data is automatically derived from master data.  Hence, I suspect the Goods issue problem is due to the missing data .
    This problem only happens in one plant, for one material whereas this material is active in many other plants.
    Anyone of you guys had the same problem and can share the solution with me?
    HELP!!
    Suriana

    Please check Plant customer master reconsilation account properly maintained or not in XD03 transaction.

  • POST GOODS ISSUE in Delivery Order

    Dear Friends:
    After going to Delivery Order,Vl02n, I clicked on Post Goods Issue and I am getting this error.
    Delivery has not yet been completely processed by WM.
    Delivery has not yet been put away / picked (completely)
    How to Overcome this problem?
    All the help will be greatly apprecaited.
    Thanks

    Hi,
    What it is telling you is:
    Delivery Note first need to be picked.  If the storage location used in DN# is of WM managed, (you may verify this in the picking tab of the delivery itself.)....It would show WM relevant and not yet picked as statuses in this tab.
    You need to create Transfer Order (TO) pick list for this delivery.
    Do it from LT03.
    Enter the warehouse number that you would see for this delivery in its picking details in the item.
    Enter delivery note.
    Hit enter and if everything works fine for you and if you are familiar with WM TO creation, you will be able to create TO and if not setup for auto confirmation, you can do it from LT12.
    Once you do these steps, you can do the PGI.
    Regards

  • Exchange rate issue during PO creation

    Dear Friends
    I am getting the below error whenever I am trying to create an Import PO
    Enter rate USD / INR rate type  for 28.10.2010 in the system settings
    Message no. SG105
    I have entered the rates in OB08 table-  for direct & Indiret exchange rates for M
    I also have cheched the OBBS and made entries for the date 28.10.2010
    But still I am getting the error
    How do I proceed
    Samuel
    Edited by: samuel mendis on Oct 28, 2010 1:07 PM

    Guys
    We have solved this issue. Even though we were getting the SG105 error, the real problem was some where else. 
    We have never used CIN in our our organisation as it is not applicable. The problem we did is to use the Import pricing procedure for our use which was copied from IN: Purchasing for Imported materials.
    Whenever we tried to create a Import PO it was validating the CVD entries which we make in the company code settings for Tax on Goods Movements. Once I maintained a dummy G/L account the error was gone.
    The problem is why it validated CVD during PO creation we never understood. Since in my opinion CVD capturing is done during Invoicing verification stage and not during PO stage. Either way we have already updated these details to the SAP Support bench.
    Thanks
    Samuel

  • How to reverse goods issue for delivery note by using IDoc

    Hi all,
    I would like to reverse goods issue and picking request for delivery note by using inbound IDoc.
    I used message type SHPCON and IDoc type DEVLRY03 for posting goods issue in inbound processing and it's work but I couldn't find solution for posting reverse goods issue.
    Pls let me know which IDoc type or any ways for posting goods issue reversal and cancelling picking request.
    Thanks for your time.
    Su R.

    Hello,
              For this requirements we can actually follow two Approaches that I can think of. Here they are.
    Approach 1
             Little Complex Approach. What we can do is to make use of the Same Function Module (Posting Program) IDOC_INPUT_DELVRY to do the Delivery Updates (Except reversing the Goods Issue). During this,  we can make use of one of the Customer Functions available in the Enhancement V55K0001 and satisfy our Requirement.
    Approach 2
            We can actually code a Custom Posting Program (Function Module) in which the first part will take care of updating the Delivery & if the PGI is done, then we can make use of the Function Module BAPI_GOODSMVT_CANCEL to reverse the PGI.
            I think the later Approach is much easier rather than going for the Standard Function Module (Posting Program), Exits and find a place where we have to find another Enhancement Spot / Enhancement where we can call the above FM to Cancel the Goods Movement.
    Hope these inputs were helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Sloc Stocks during delivery creation

    Hi,
    We have a unique scenario at our site. The manufacturing booking and Stock loading are automated at the plant and the shopfloor systems feed data automatically to SAP.
    The Production figures are fed only once a shift whereas our movements to our warehouse happens every half an hour once. Assume that the starting inventory at the plant is 0. at the middle of the shift, the production sloc (101) stock is -100 pallets (as the production booking has not happened but stock transfer happens continuously) and the warehouse (103) stock is +100.
    Now the issue arises when we try to create a delivery at the warehouse (103). The system is giving an error message that the stock is zero as it is considering the plant stock and not the warehouse stock.
    The sloc 103 is maintained in the sales order. Is there any ways of making the system only consider the storage location (103) stock when creating a delivery instead of considering the plant stock
    Thanks in advance.
    Rgds,
    KB

    Hi,
    Not too sophisticated solution but maybe allowing negative stock for your material can help you:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a5/63313343a211d189410000e829fbbd/frameset.htm
    Negative stocks are required if, for example, goods issues are entered before the corresponding goods receipts for organizational reasons and the material is already physically located in the warehouse.
    (001, 003 are storage types in WM?)
    Regards,
    Csaba

Maybe you are looking for

  • Schedule line CT and WMS

    hello, friends. in a scenario without WMS, i split a sales order quantity into several schedule lines.  in one schedule line, i specify the category as CT. all items are delivered, including the item with sked line cat CT(movement type [blank]) in a

  • Init variable

    Hi experts! I have a web template with a table and a dropdown box to set variable values. when I run it, it requires me a value for the query variable. I need set value automaticaly with the current month and year. it´s possible? thanks.

  • Invoice Header Notes 1

    Hi all, we seem to have an interesting issue when a header text from one order gets onto a header text of the billing document (invoice) of a completely different order, completely different customer and created by a completely different person. Does

  • Merge tool.

    what photo shop software has the merge paint tool? I have photo shop elements 11,but I can't locate the merge tool.

  • TIFF & PSD Saving-Troubles!!! URGENT!

    Hi guys! Since 4-5 days i cannot save working TIFFs or PSDs out of PS CS6e (13.1.2) anymore! (out of nowhere!) The saving process takes forever, and after all the files are corrupt! So i cant open the PS files in LR5 or any other external viewer...wh