Triggering workflow through MIGO in output type

Hi Friends,
              After the GR Documents are posted, I need to Trigger GR  Workflow......
Please guide me any Function modules or BAIDs
to keep our code once the MKPF and MSEG DB Tables are updated with recently Created new Documents....
Can we Assign our Workflow Template in the OUTPUT Type in NACE.
If so, Please Guide me with the OUTPUT Type configuration Steps
Thanks in Advance,
Ganesh

I think you can use standard Buiness object BUS2017. While creating the document please check which events gets trggered in SWEL. I am sure the Created event of this Business object gets triggered.
Thnaks
Arghadip

Similar Messages

  • How to send invoice through email with output type RD00?

    What are the configuration settings to send invoices through email with output type RD00?

    Hi,
    Please go through the following links:
    [E-mail|Email Configuration Settings]
    [e-mail|Re: EMAIL BILLING DOCUMENT TO CUSTOMER THROUGH SEND MAIL OPTION IN VF02]
    After triggering the output,goto T.Code SOST and process it.
    So that e-mail will be triggered immediately.
    You can use External send/EDI/simple mail for this.
    Regards,
    Krishna.

  • Triggering program form(subroutine)  from MIGO using output types gives lock issue with Bapi_sag_change

    Hi,
    On creating the GR from MIGO tcode, based on the quantity check i am updating the field ELIKZ using BAPI_SAG_CHANGE.
    And updation logic is written in a zprogram using with in FORM XXXXX...ENDFORM XXXXX. ( FORM XXXXX is configured in the output type ).
    So the problem i am facing is on creation of the first GR with scheduling agreement number GR is posted successfully and under the output tab the i can see the green icon.
    But on creation of the second GR with same scheduling agreement its showing red icon. The following is the error message " User locked the scheduling agreement ...."
    I even tried using dequeue fm and transaction commit, but it didnt work. Please let me know how to over come the lock issue.
    Thanks & regards,
    Manojkumar K

    Solved it myself....
    Regards,
    Manoj

  • Send a text Doc as attachment to mail-id through sales order output type

    Hi,
    when i create a SD document and select an output type and external mode before i save the document, it generates a PDF document as an attachment and sents an email. I would like to send a text document as an attachment. Can anybody please tell me the procedure to convert or send the text document as attachment.
    Thanks,
    Ravi

    Hi Ravi sirigiri,
    Donot convert the data into PDF just pass the OTF data to the
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA              = W_DOC_CHNG
        PUT_IN_OUTBOX              = 'X'
        commit_work                = 'X'
      TABLES
        PACKING_LIST               = I_OBJPACK
       CONTENTS_BIN                = I_OBJBIN
        OBJECT_HEADER              = W_OBJHEAD
        CONTENTS_TXT               = I_OBJTXT
            RECEIVERS                  = I_RECLIST
    Regards,
    Sravanthi

  • Create Sales order through PO by output type NEU

    Hi friends,
    I want to create Sales order out of a PO. I used the output type NEU of PO and was successfully get ourbound IDOC posted. But my inbound failed.
    Two erros message:
    1.The material number for item 000010 could not be identified
    2. Partner number XX01 for customer XX01 , partner function WE does not exist
    Although I can manually create the sales order with exact same info.
    I used message type ORDERS04 for both partners and use ALE as a transmition.
    Thanks in advance!

    hi ,
    Can you please tell me it for the same company code or different company code.
    maintain the customer material info record , if it is a different company code. the system is checking the qualifier.
    thanks
    Kuntla

  • Triggering workflow through Z transaction

    Hello All,
    My requirement is to trigger the JE workflow with Z tcode and after the document is approved & posted I have to put check that if the workflow has started with that z tcode then I have to create billing document, clearing document etc.
    My Questions is: Can we trigger the workflow with Z tcode and after the approval and posting - can we find out that with which z transaction the workflow has been triggered?
    Kindly suggest.
    Regards,
    Sangeeta

    I want to know- how do I find that after the document posting whether
    the workflow has started with ZGUPPARK or not.
    1. Create a container element in the workflow as a flag ( REP_FLAG ) populate this as 'X'from the report.
    2. Assuming that you are trying to trigger the workfloe by using the FM 8SAP_WAPI_START_WORKFLOW* in this fm if you look at the table parameters you have SIMPLE_CONTAINER of type SWR_CONT by this you can populate the field which is created in the WF.
    try like this
    DATA:
              lt_cont       type table of  SWR_CONT,
             ls_cont       type               SWR_CONT.
    ls_cont-element  = 'REP_FLAG'.
    ls_cont-value    =  'X'.
    APPEND ls_Cont t to lt_cont.
    now pass this lt_cont to the FM tables parmater this will fxi your issue and you can identify it.

  • Triggering workflow through IDOC

    Hi Guys,
    Please help me with this issue,
    I have got a requirement where i need to trigger the worklfow through the PDM (Product data management) its a different system in all, this creates material master with views that basic data 1 and 2. Through an idoc this information is passed to the ECC. Now i want to trigger the workflow if the material is created by PDM. I want to know is there any way where i can trigger the workflow by the help of idoc that is passed between PDM and ECC
    Thanks and Regards,
    Rajlaxmi singh
    Edited by: Mrunal Patil on Jun 11, 2009 3:05 PM

    Hi,
    I think you can go for enhancement.
    You can try enhancing the BADi BADI_MATERIAL_ALE_CR. Call Function module SAP_WAPI_CREATE_EVENT in this BADi and pass your BO name, Event name & IDoc No.
    Hope it helps.
    Regards,
    Raj

  • Automatic Billing Creation Through Sales Order Output Type

    I have requirement to create Automatic Billing document when Sales Order has been created.
    Any Suggestion.
    Regards
    Vijay Maurya

    Hi,
    it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
    for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
    hope it helps..
    regards..
    yogi..

  • Triggering workflow through an upload file

    Hello All,
    My requirement is:
    If transaction ZGUPACCR is started, it is based on an upload text file. The transaction should start a WF for approval before it posts the document. The text file that was approved would have to be stored as an attachment to the SAP document. In case of a rejection, the posting should be aborted and a message should go to the initiator to change the accrual upload file and restart the whole process for approval. The approver identification will  be rule based.
    Which BO & event should I use to trigger the workflow?
    Can I send the text file as an attachment to the approval workitem? How can this be accomplished?
    Thanks alot in advance!!
    Regards,
    Sangeeta

    Hi,
    I'm not sure whether ther is any  BO & event. If not start with custom BO & Event.
    1- Create a prgam and  assign the same to tcode.
    2- Create custom BO& Event.
    3- Create the WF temeplate
    4- Create Rule for Approver Identification
    5- Step to send mail to the Approver using the Program exit (Where the step will waiting for the Approver's decision)
    6- If yes, post the file else send the rejection reason.
    Please close the thread, if solved
    Regards,
    Aditya

  • Output type triggered after changes in Sales order

    Hello Gurus,
    Is it possible to manage which field changes (quantity, date) will trigger and create a new output type during Sales order change?
    Image I change the date or the quantity, I would like to create automatically a output type xxx.
    But If I change the plant, I don't want to create a new output type xxx.
    Many thanks.
    Stéphane

    Hi,
    It is very much possible to trigger the output when you change the particular fields in sales order.For this we need to go for ABAP code.
    Ask your ABAPer to do this.
    The code should be written in "Triggering point" in the processing routines.
    We have a similar requirement in our project too.Our requirement is we have maintained some values for customer groups in Header data-->Additional data A tab.
    When we change this field with a particular value,the particular letter is getting triggered as part of the output type as "ZGEN".
    In our case we have developed an ABAP code for this.
    Similar requirement is yours.Ask your ABAPer to develop a code.
    Regards,
    Krishna.

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all,
    Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
    Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
    The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
    In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
    Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
    Many thanks.
    Best regards,
    Patrick
    P/S: I'm using SAP ECC6.

    Actually, this print program is being triggered in the update processing.
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Naimesh Patel

  • How to add new attribute for triggering workflow?

    Dear Expert,
    I want to create condition for triggering workflow.
    I am working on travel request workflow, using BUS2089.
    my requirement is to differentiate or make condition of triggering workflow based on trip activity type,
    but I can't find any attribute about trip activity type.
    how to add activity type to be available for create condition?
    thanks

    Hi,
      If am not wrong you are trying to raise event when ever there is a new travel request raised, so the BOR would be availbel in the workflow container to be more preciese it would be available in the event container, so you need to find out the right attribute in the BOR where the trip type is assigned and validate this in the start conditions i mean in the basic data of the workflow where you activate the event linkage.
    Regards
    Pavan

  • Change of Output type from WE01 to WE03

    Hi,
    I have assigned the GR with collective slip WE03,when I use Tcode MB90 i m not able to list all the material documents eventhough collective slip and print is active.I checked in MIGO transaction,output type was WE01.
    How to change the ouput type of already posted GR's  from WE01 to WE03.
    Pls advise
    Regards,
    Shrini

    MB02 select your mat document and click the message tab and maintian your out put type.
    If you want always this output type MN21 maintain the output type.
    NACE also assign your smartform to your output type.'
    Pls check it this will resolve your problem

  • Script not printing throught Output type

    Dear Experts,
    I have developed a script which is working fine if execute directly.
    I have configured an output type for the transaction ME9E with application EA, when execute this through transaction with output type it is not working. Please let me know what would  be the problem with this.
    Thanks in Adevance...
    Rahul
    Edited by: rahulsachin on Oct 4, 2010 4:20 AM

    Hi,
    Please check the program name and routine name you configured in NACE with the one you have used actually to keep
    break point in your report and see whether it stops.
    Regards,
    Pawan

  • Output message type determination through MIGO

    hello experts,
    I am doing MIGO for goods reciept, it is creating material document and triggering output type attached to it (ZLCO).
    Same thing when i am doing through an excel sheet (this excel application is calling a Z function module thats one looks is calling Standard BAPI BAPI_GOODSMVT_CREATE), this is creating material document but not trigger output type.
    Output ZLCO is not created upon VGR thru Excel Upload.
    What part of code should i provide to my Z function module so that it also trigger the Output type.
    Thanks,
    Sumit

    PRs will not get any message type, POs will get a message record.
    How is the situation now?
    Did  you get 20 POs only, or do you have 25 POs where just 20 have a message record?
    In the first case  convert the PR manually to a PO manually and see if you get a message record. You should not enter anything manually, it is supposed to work without entering anything manually because it was meant for auto PO. In case you have to enter anything manually, then this might be an indicator why auto PO could not work.
    if the latter case, then compare a PO with and without message record on the fields that should match with your condition record.
    Do you expect the same message type for all POs, are they all in the same purchasing organisation?
    Read and check what is mentioned in KBA 1829682 - Output type is not determined in Purchase order

Maybe you are looking for