How to re-run output determination after goods issue through idoc

Hello,
i've got a question about output determination. We are currently in a process to automate picking, packing and goods issue through a 3rd party software. The software creates DELVRY03-Idocs including picking, packing and goods issue-information. Picking, packing and goods issue work just find and after submitting the idoc, the delivery is updated as needed.
The problem arises when it comes to printing the shipping document on the printer belonging to the picking station that just processed the delivery. To determine the correct printer, the external software includes the picking station number inside the idoc. A user exit in idoc_input_delivery puts the number (3 digits) into likp-traid. The customizing for using this field inside output determination is complete and seems to be working.
The problem is: as the number of the picking station is not known before goods issue, the LD00 message must not be generated before goods issue. I used the appropriate condition insinde the message scheme, the message is not generated until goods issue is complete. After processing the DELVRY03-Idoc, the message should be found and generated, but it isn't. When i take a look at the delivery after submitting the idoc, goods issue is complete, picking and packing is done - and no sign of an header message of type LD00. First i thought about a misconfiguration inside my customizing for output determination, but when i access the delivery via vl02n (change delivery), output determination seems to be processed again and without making any changes or actions, LD00 is generated and waiting for processing. After saving the delivery, LD00 is processed and the shipping document is printed exactly where it should be.
So, as my customizing seems to work and everything else around idoc processing doesn't make any problems either, i conclude that, after processing the idoc, R/3 just needs a little kick to re-run the output determination, find the now fitting condition for LD00, find the appropriate entry in the condition table and print the document.
I already tried report rsnast00, but this one just seems to run already created messages.
Any ideas how to automate this little "kick in the butt"?
Thanks in advance!

I'm working on a similar issue with ws_delivery_update. I'm not using the IDOC as you are, but I'm using the function in a program of mine to PGI the delivery, but the output isn't being added to the delivery. I've tried to run the function twice as you suggested, but that doesn't seem to work. Do you have any suggestions or ideas on things to try?
Thanks,
Eric

Similar Messages

  • Purchase order message Re-determination after goods issue is posted

    We have a requirement to trigger special function message type (which creates a flat file) in a purchase order when goods issue for all items are posted. We have created a requirement routine for message type to check if goods issue is posted for all line items. Goods issue is posted using BAPI which uses transaction MIGO. When goods issue is posted, we want output to be triggered in purchase order. Requirement is working fine but is there any way to trigger output automatically without going to PO?
    After goods issue is posted, if we go into purchase order using ME22N then we see output proposed or if we make any changes in PO then output is proposed. This will not happen in real life though.
    Any suggestion will be highly appreciated. Thanks.
    Sanjay

    Hello,
    You can create a new output message record in NAST using RV_MESSAGE_UPDATE:
    CALL FUNCTION 'RV_MESSAGE_UPDATE'
          EXPORTING
            msg_kappl = 'EF'
            msg_objky = w_objky
          TABLES
            msg_xnast = itab_nast
            msg_ynast = itab_nast_old
          EXCEPTIONS
            no_update = 1
            OTHERS    = 2.
    Once the record is created, you may submit the program RSNAST00 to output the message.
    Thanks,
    Venu

  • How to prevent changes qty. reservation after goods issue

    Dear Expert,
    Is there a way to prevent user change their reservation qty. after goods issue?
    Example :
    Reservation No 32XXXXX item 01 requirement.qty = 5 PC
    Goods issue                                                            = 5 PC
    After GI, user change qty of reservation to            = 3 PC
    and Save it
    Best regards,
    Dedy W

    Hi,
    You can delete respective Reservation Item with MB22 t-code.
    With this deletion indicator, you can manually earmark an item for subsequent deletion (if, for example, you do not expect any further movements in respect of this item or prevent any changes in the reservation). The actual deletion process is then performed by a reorganization program (MBVR).
    Regards,
    Girang

  • How do load system form matrix -Inventory-Goods Issue through SDK UI &DI

    While I am accessing system form matrix -Inventory Goods Issue/ Goods Receipt, the matrix object is not accessible.
    Error is coming stating "Item 13 is invalid, where 13 is item uid for matrix.
    So,How do load system form matrix -Inventory-Goods Issue(FORM 720/-720) through SDK UI &DIAPI.
    Form Type: -720
    How to get reference of System form matrix object -Inventory-GoodsIssue.
    Some thing similar to CopyFrom functionality for -Inventory-Goods Issue.
    Currently my client requirement is as follows.
    I created a UDF ((U_ILC) Incoming Log Challan) for marketing documents. And, this field is added in the header level of Goods Reciept, Goods Issue documents.
    1. Through Inventory->Goods Receipt (ILCNo.10), items are received. Assume, M00001, M00002 are the items received with qty, price, whse, account values.
    2. Through Inventory->Goods Issue, item should be issued. In this Goods Issue Form, after entering U_ILC value as 10, pressing Tab, the GoodsIssue matrix should be loaded with the values of GoodsReceipt(IGN1 for U_ILC:10) document i.e. M00001,M00002 along with the same values as in GoodsReceipt of ILC:10.
    The code is as follows:
    If (( ( pVal.FormType = "-720" or pVal.FormType = 720) And pVal.EventType <> SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And (pVal.Before_Action = False)) Then
                '// get the event sending form
                oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)
                If pVal.ItemUID = "U_ILCNo" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.Before_Action = False Then
                    SBO_Application.MessageBox("ILC No. Lost Focus")
                    oMatrix = oForm.Items.Item("13").Specific
                    oColumn = oForm.Columns.Item("1")
                    oEditItmCode = oColumn.Cells.Item(1).Specific
                    oEditItmCode.Value = "07215090x606"
                    oItem = oForm.Items.Item("U_ILCNo")
                    oEdit = oItem.Specific
                    SBO_Application.MessageBox(oEdit.String)
                End If
            End If
    3. The code
    oMatrix = oForm.Items.Item("13").Specific
    is raising error. I have used Event Logger and breakpoints to see where the code is halting.
    Help me, how to access the matrix of Goods Receipt/ Goods Issue and load based on the existing data.
    Thanks in advance

    HI
    If your code is in the SBO_Application_ItemEvent then try using this line
    oForm = SBO_Application.Forms.Item(strFormUID)
    instead of
    oForm = SBO_Application.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount)

  • Goods Issue through IDOC

    Hello All,
    We have the situation as follows:
    1. A sales order is created.
    2. An outbound delivery is created automatic through worklist.
    3. An IDOC DELVRY03 is generated through message determination. The IDOC is sent through EDI to 3PL.
    4. 3PL picks the material and confirms the picking result by IDOC.
    My question is: Which message typ and IDOC type can I use for carrrying out goods issue?
    Thank you in advance!

    We use Basic Type DELVRY03 with Message Type SHPCON, inbound process code DELV.  The E1EDL18 segments are the key to picking and posting.  One E1EDL18 has QUALF = PIC, and the other one has QUALF = PGI.  The item level segments must correctly identify the materials by number and the quantity picked.
    We had to enhance the standard inbound process code with CMOD project V55K0001.  This was necessary to match up the IDoc line-item segments (E1EDL24) with the correct item position on the delivery note for picking (and to validate quantities and units of measure--always a good idea when dealing with 3PL's).  We also use the user-exit to update other handy fields like carrier ID, BOL number, gross weight, etc. 
    Hope this helps you.

  • MPN Manufacturer batch determination during goods issue

    I am from pharma industry and my business runs with batch management, MPN features.
    Scenario:
    I have 3 different finished product P1, P2 and P3. All three finished products use raw material R1.
    But, I have restrcition like, when I am manufacturing P1 product I can only use R1 of batch from manufacturer M1.
    For P2 material we can use R1 batch from manufacturer M2 only.
    For P3 material we can use R1 batch from manufacturer M1 and M2.
    Now, I have maintained the BOM CS02 batch classification for three differ FGs P1, P2 and P3 with relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    In COB2 T-code I am mainmtaining strategy type CO02 - Order type/Plant/Parent material with child relation ship. Here also, I am maintaining relation P1-R1-M1, P2-R1-M2, P3-R1-M1+M2.
    Now, when I am creating process order in COR1, I am getting in case of P1 order R1 material batch determination only batches from M1 manufacturer.
    Same as for P2 material process order R1 material only batches for detrmination from M2 manufacturer.
    Same as for P3 material process order R1 material batch determination option from M1 and M2 only.
    Now, if I don't go for batch determination through Process order and in stead of that if I want the batch determination during goods issue MIGO 261 movement against order, the above manufacturer level control we can't put.
    As in MBC2 T-code, we have standard batch determination and search strategy for material, plant and movement type.
    But, here we can't maintain any parent child relationship.
    Now, can you please suggest how I can control manufactuer batch detrmination as per above strategy during Migo goods issue.
    Through any standard settings we can do or, any exits required?
    Gurus please suggest!

    Dear
    You can do this by using FM CO_WB_BATCH_DETERMINATION or VB_BATCH_DETERMINATION function module.
    here you can sort the batches and compare the Batch results with the batch search strategy.
    Regards,
    R.Brahmankar

  • Automatic Batch Determination during Goods issue of Production Order

    Hi,
    Iam trying to set up automatic batch determination during Goods Issue against a production order. My requirement is system should automatically run the batch determination similar to the case in production order.
    I have set up all the required configs for batch determination. But to get the batch I need to click on the batch determination button. What I need is without clicking on anything. How can I do this. Whats the config needed
    Thanks and Regards
    Enrico

    Dear Enrico
    It is required lot of set up both in production order parameters and Batch Managemnet .I am providing you a summery of it .
    Configuration Required for your above issue are as follows :
    1.Activated Batch Management in the Material Master-MRP2 view and Work Scheduling view of the FG
    2.check material master MM02, tab MRP2 and set field "Batch Entry" to value 3 here
    4.You maintain a Search Procedure in OPL8 - Order Type Dependent parameters .Before that you should have Batch serach strategy :The sequence of steps are as follows -
    Create Condition Tables
    Create Access Sequences
    Create Strategy Types
    Batch Search procedure definition
    Batch Search procedure allocation and check activation
    Define Selection classes
    Define sort rules
    Maintain Batch Allocation Strategy Number Ranges
    All the above are available in the Path - SPRO --->Logistics-General ---> Batch Management ---> Batch Determination and Batch Check
    5.Maintain the setting in T.code OPKP (production scheduling profile). Select automatic batch creation on order creation.
    6.If u want to execute the batch determination for components in the component overview of production order , then u have to create batch search strategy at COB1
    7.If u want to execute during order confirmation u have to create batch search strategy at MBC1.
    Refer the below link for your farther reference :
    http://help.sap.com/saphelp_47x200/helpdata/en/25/28428b4f7811d18a150000e816ae6e/frameset.htm
    Hope this will be useful
    Regards
    JH
    Edited by: Jiaul Haque on Jun 22, 2010 11:28 PM

  • Override consignment price  determination during goods issue process

    Hi ALL,
    My requirement is that User is asking want to override consignment price  determination during
    goods issue process. Is there any BADI/User Exit or  Enhancement spot which can override the price value and in the
    database level during Goods issue.
    If yes provide me the enhancement details and where I can implement.
    I will very thankful to you all if I get your valuable input.
    Regards
    Subhasis

    Dear Laxman,
    Check these links,
    https://wiki.sdn.sap.com/wiki/display/ERPLO/Batch+Determination
    Automatic batch determination
    Re: how to make the batch determination process automatic
    Regards
    Mangalraj.S

  • HT201365 How do I unlock the phone after locking it through "Find My iPhone?"

    How do I unlock the phone after locking it through "Find My iPhone?"

    If you placed it in lost mode to lock it, sign into icloud.com, click on lost mode and turn it off.  If it is locked with Activation lock you'll have to provide the password for the iCloud ID you are being prompted for in order to use it.

  • Outbound delivery output not re-determined during goods issue?

    Hi,
    i'm currently in the process of testing an SAP upgrade from 4.6B to ECC 6.0, and have encountered the following problem: one of our outbound delivery output types (LD00) is supposed to print out at goods issue (which happens in VT02N, by the shipment).
    In 4.6B, the output determination procedure correctly triggers at goods issue, however, in 6.0, it doesn't. Re-opening the delivery in VT02n causes the LD00 to be determined after all, but by then it's too late.
    Does anyone have the slightest idea why the output determination isn't re-evalutated at goods issue?
    regards
    Rob

    Hi,
    Perhaps you are using an own VOFM subroutine to do filters if the output works or no. You create this subroutine with tcode VOFM, and after some steps you create an include in a report of SAP (SAPL). You can check if you are setting a VOFM in SM34/VVC_T683_XX_E1 for the output scheme. Sometimes is necesary to run this report to create and activate the report sapl, if no, when the abap call the subrutine, SAP doesn't find (perform * if found)
    For VOFM there is a good document in google, format PDF, search it with the string inside vofm ext:pdf.
    I hope this helps you
    Regards,
    Eduardo

  • How can I run a vi after deploying into a PXI Machine

    Hi;
    I am wondering if there is anyone out there who knows how to run a vi after deploying into a PXI machine from my host machine. In my application, I have some vi's that are deployed into my PXI machine. My problem is that when I would like to start these vi's simultaneously after deploying them. My current approach is to call vi reference and then invoke-> run. However, since there vi's are being deployed from a host machine and they are running in the PXI machine, I don't know how to create vi reference with the path constant. In other words, how can I find out the path of my vi after being deployed into my PXI machine from the host.
    Best Regards,
    Solved!
    Go to Solution.

    When VIs are deployed onto a PXI Real-Time controller they are generally copied to a C:\ni-rt\startup directory on the controller.
    Helpfully, this KnowledgeBase article talks about how specify and programmatically launch VIs on an Real-Time controller.
    I hope this helps,
    Fred V -- Product Support Engineer -- LabVIEW R&D -- National Instruments

  • How to process an output message after pick and pack in LM46?

    Hi,
    I've implemented the User Exit to print the HU using LM18, it's working great but no output message is processed (and indeed, the sticker is printed on my own printer instead of the one defined in my Z custom output message).
    I used LM46 to pick and pack the HU, am i missing a step?
    In other words, how to process my custom output message after the pick and pack?
    Is there some code I must add in the LM18 User Exit?

    You know, in a user exit or a BADi you can access any variable of the program you want.
    Just find what which program calls the Exit User, put a break-point in it, and find the variable you need to access.
    Then add this kind code in your Exit :
    DATA: l_var TYPE ....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)variable') TO <fs_var>.
    IF sy-subrc = 0.
      l_var = <fs_var>.
    ENDIF.
    Same thing for a table :
    DATA: lt_var TYPE TABLE OF....
    FIELD-SYMBOLS: <fs_var>    TYPE ANY.
    ASSIGN ('(PGMNAME)table[]') TO <fs_var>.
    IF sy-subrc = 0.
      lt_var[] = <fs_var>.
    LOOP AT lt_var ASSIGNING ...
    ENDLOOP.
    ENDIF.

  • How to autoclick/run a button after Alert.Show() Event?

    Hey Guys
    So I have a alert.show happening for something like
    public function test(evt:ResultEvent):void
    if (evt.result.success == "yes")
         mx.controls.Alert.Show("Yay!!!")
    if (evt.result.success == "no")
        mx.controls.Alert.Show("Nay")
    Now I have another button called
    <mx:Button label="Reload" id="Reload" />
    I want that if the sucess == yes scenario is run.. After the popup box comes and a person click OK.. the reload button is run..
    Please tell me how to do so??
    Regards

    You need to set up an event listener on the closeEvent.
    Here is a quick example (untested):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.events.CloseEvent;
    import mx.controls.Alert;
    private function init():void {
    Alert.show("myText", "myTitle", Alert.OK | Alert.CANCEL, this, onClose);
    private function onClose(event:CloseEvent):void {
    if (event.detail == Alert.OK) {
    trace("ok pressed");
    } else {
    trace("cancel pressed");
    ]]>
    </mx:Script>
    </mx:Application>

  • How do I run a program after login, but before the desktop?

    How would I run a program right after the initial login using gnome/JDE?
    With CDE I could edit the ~/.dtprofile to get the desired effect, but dtprofile is a CDE configuration file.

    There used to be sn automator action that might have gotten the job done. It was on http://automatorworld.com/ but I can't seem to find it now.
    I haven't test this under Lion but there is a system preference pane called "Do Domething When" that should get the jeb done. http://www.azarhi.com/Projects/DSW/
    I have taken the opposite approach. My iTunes library and I have the same problem if it has not been mounted when iTunes launches. I created an Automator app that mounts the music then launches iTunes. Try mounting the drive the launch Automator to create the following workflow.
    1. Connect to server and select the external drive.
    2. Us the Launch Application step to launch iTunes.
    Unmount the external drive and test the workflow. If it works save the workflow as an app and use that to launch iTunes.

  • How to change Purchase Order currency after Good receipt and Good issue?

    Hi,
    I've a PO created last year. The PO currency has been entered wrongly.
    My store colleague has been performed good received and consumed it.
    Now, I am not able to change PO currency to correct one, due to this message:-
    Currency can no longer be changed
    Message no. 06489
    Diagnosis
    As a basic rule, the currency cannot be changed if there has already been a goods receipt against a document.
    If the document contains external service and/or limit items, or if an invoicing plan has been assigned to an item, the currency cannot be changed following the receipt of an invoice either.
    If external service items exist, the currency also cannot be changed if services that have actually been performed have already been recorded or if the item in question has been assigned to a preventive maintenance (servicing) plan.
    Is there anyway to change PO currency after Good receipt and Good issue? Thanks !

    Diagnosis
    As a basic rule, the currency cannot be changed if there has already
    been a goods receipt against a document.
    If the document contains external service and/or limit items,
    or if an invoicing plan has been assigned to an item,
    the currency cannot be changed following the receipt of an invoice either.
    If external service items exist, the currency also cannot be changed if
    services that have actually been performed have already been recorded or
    if the item in question has been assigned to a preventive maintenance (servicing) plan.
    Answer in question itself,need to cancel all documents of wrong currency in order of LIFO,
    Create a new purchase order.

Maybe you are looking for

  • HP OfficeJet Pro 8620 Scan to Email Function

    HP OfficeJet Pro 8620 is a great value for all the features it provides. "Scan to Email" was one of the reasons i bought this printer. Even though i can make this fucntion work with my gmail and iCloud emails, i feel very uncomfortable in providing t

  • XI Cache Refresh impossible - HTTP status code503 Service Unavailable

    After checking for HTTP Error 503 i get the infomration that i have to check some services in the Visual Admin - additional for restarting the J2EE, because the J2EE restart does not activate all services. Is there a possibility to do this without Vi

  • Short close the order

    hi everyone, i got a query that how to short close the sto order . since is a loss in the transit

  • Corrupt FileVault Sparsebundle

    Hello, I'm running into some mighty big issues with FileVault, and would deeply appreciate any help. (a) It all started when I brought my macbook out of sleep mode and tried accessing my Yahoo mail. Safari came up with an error "Safari can't establis

  • How to install openssl from repositories [Solved]

    My pacman is broken, and I am in a process of trying to fix it. I downloaded the files here and the source into one folder. When I run makepkg I get: patch: **** Can't open patch file /fix-manpages.patch : No such file or directory patch: **** Can't