Need to trigger output type when BAPI is run

I need to trigger an output type which generates an idoc when material group is updated using a BAPI.....Can anyone tell me is there a bapi which does this ?

I just want to know whether there is any BAPI which triggers the output also when we make an update ?

Similar Messages

  • Do not trigger output type through BAPI

    I have a custom program which modifies purchase orders using the BAPI 'BAPI_PO_CHANGE'. However, when the program modifies the POs, it also triggers the associated output types in the POs.
    We want to modify the purchase orders using the custom program but do not want the output types to be triggered. Please let me know whether we have a feasible solution for this requirement.

    Hi Dawood,
    can you check the parameters
    WA_ITEM-NO_MORE_GR= 'X' and NO_MESSAGING = 'X'parameters.
    Regards,
    Kannan

  • Trigger Output Type through RFC

    My requirement is when RFC is called then based on the invoice number and Fax number this RFC should able to create invoice document in PDF format and sent a mail to particular fax number with PDF as attachement.....
    we have created output type to trigger the print program which call the smartform then then we convert smartform into PDF format and send a mail so by this we  are done with part to create the PDF and email it ...
    but the problem is i want to trigger output type  when RFC is called....so that it will called the print program and process goes on as planned..?
    Is there any FM to trigger O/p type so that i can call it in RFC
    or some other option???

    You did not specify what area you need to retrigger an output type for, but here is a sample to retrigger a delivery output.
      CALL FUNCTION 'BAPI_LIKP_PROCESS_MSG_DIRECT'
        EXPORTING
      DYNAMICOUTPUTDEVICE       =
          processing                       = PROCESSING
      SORTMESSAGE               = 1
        TABLES
          deliverynumber                 = delnbrs
          outputtype                       = outputs
          messageprotocol              = bapimsgprot
          return                              = bapiret2.
    Thanks

  • Possible to trigger output type through Function module?

    Hi,
    Is it possible to trigger output type through Function modules or through some codings or any standard FM's?
    Regards
    Bala.

    You did not specify what area you need to retrigger an output type for, but here is a sample to retrigger a delivery output.
      CALL FUNCTION 'BAPI_LIKP_PROCESS_MSG_DIRECT'
        EXPORTING
      DYNAMICOUTPUTDEVICE       =
          processing                       = PROCESSING
      SORTMESSAGE               = 1
        TABLES
          deliverynumber                 = delnbrs
          outputtype                       = outputs
          messageprotocol              = bapimsgprot
          return                              = bapiret2.
    Thanks

  • Purpose of specifing an output type when assigning procedure

    Hi All,
    I assign an output determination procedure to sales document type 'OR'in customizing, at the same time need specify an output type. Like the help saying following:
    <i>"In this menu option, assign output determination procedures to the documents.
    You may also specify an output type which is to be displayed when the relevant document is displayed or changed"</i>
    I'm comfusing with last words, based on my kmowledge when the relevent document is created or changed, output determination process select the corresponding output types from the procedure. The selected output types maybe
    not the output type specified when assigning output determination procedure. So seem output type specified is useless. What is the purpose of specifing an output type when assigning an output determination procedure?
    Thanks,
    --Alex

    Suppose there are two output types defined for a condition.
    I guess you are not sure what you are looking for. You can have multiple conditions of a single output type. The above statement doesn't hold true.
    Regards,
    Naimesh Patel

  • Need to configure output type for adobe form

    Hello All,
    I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
    I'm little confused, Pls I need your help.
    Thanks in advance,
    Chandra

    Hi,
    Just before few weeks we did this task.
    Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
    1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
    2. Then use tcode tcode NACE and select EF as application and click output types button on the          application tool bar. Select NEU output type and double click processing routines on left side.
    3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
    4. For form names we have two options in NACE tcode.
    One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
    This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
    If any queries please post it.

  • To trigger output type

    Hi Experts,
    I have to trigger an output type upon PGI when an inbound IDOC changes the delivery.
    please guide me.
    Thanks,
    Nithya

    Hi,
    Had a similar issue a few weeks ago...IDOC does not seem to call MESSAGING FM in WS_DELIVERY_UPDATE.
    Might be worth taking a look at note 393096...
    Can you check the 'NoOutputDet' parameter in transaction VL10CUC to see what it is set to?
    Before I found this note I ended up writing a simple BDC that I called from the IDOC exits (starting new task) to simply wait 5 seconds then open the delivery in edit mode and then save. This obviously will trigger the output determination routines and trigger the print if it's applicable.
    Regards
    Stu.

  • How to not retriggered output type when changes are made in Purchase Order

    Hi All,
    Could you let me know how can I resolve this one?
    We have a custom output type. Now this output type should NOT be automatically retriggered if a change is made to the document/purchase order. Currently the system automatically repeating the output type for every change made to the document/purchase order. But there is still an option for the user to be able to manually repeat the output.
    TIA

    Hi,
    1.In order to restrict the output type to trigger you need to write the requirement routine in transaction
       VOFM> requirements>output control.
    2. create the requirement routine in application EF and write the required logic and pass the sy-subrc EQ 4 if you not require to trigger the output type and pass sy-subrc equal 0 to trigger the output type.
    3. assign this requirement routine to custom output type.

  • Trigger output types

    Hi all,
    How to trigger delivery output types thru print program.
    I know there's a BAPI for this but dont know which one.

    Hi,
    By doing config in NACE for delivery output type u can use different o/p types for diff delivery types etc..
    but can trigger only one o/p type at a time which will in turn trigger its relevant print program & print sapscript/smartforms.
    Regards,
    Amit

  • Calling output types from BAPI

    Dear All,
    I am creating PO using IDOC.
    A function module is used for creating PO from IDOC.
    The moment PO is created SO should also get created.For that i have used OUTPUT type and connected output type to
    application EF.
    can anybody guide me if routine for SO creation ie output type for SO will get triggered from BAPI/Function module for postiing PO application?
    thanks.

    Hello,
    The PDF Files of the Output are stored onto the spool. To retrieve these documents you will need some custom development both on the Java and ABAP stack.
    ABAP : Refer to this link: http://wiki.sdn.sap.com/wiki/display/ABAP/GettingSpoolRequestNumberfortheOutput+type
    Java:
    1. Put up a link on a JSP where you want to show the download option for the output type.
    2. Develop custom action, bo, backend objects
    3. Call a custom RFC in the SAP system from backend class which retrieves the PDF document based on the above link.
    4. Return PDF doc back to Java as a byte stream.
    5. Provide option to save/open  on the client.
    Hope this helps.
    Pradeep

  • Triggering output type when sales order is saved

    Hello all,
                I have a small question. Whenever I create a drop ship sales order it triggers a custom output type and prints the form by default even though this output type hasnt been saved in the sales order messages. Similarly from a drop ship PO when it is created with reference to the drop ship order and a requisition it tries to call this cusotm output type and prints the form.
    Please advice how to find the settings and make it not print this form.
    Thanks in advance.

    Hello,
             There are few other custom output types configured for a sales order. I wonder why it picks this particular output type and prints the form.
             If I uncheck 'Print Immediately' then would it stop from just printing or even calling the form too.
              Please advice if there might be any other config which tells to call this particular form whenever a drop ship sales order is created.

  • Need help with output type EDI for ERS

    All,
    I want to be able to run and ERS settlement and have the invoices created sent via EDI/XML to the supplier.   I have several questions on the set up.
    1)  I have output type ERS6 which is defined as ERS EDI.  I assume because it does not start with Z* this is SAP standard, so I shouldn't have to modify any of this.
    2)  I've added my supplier to this output type. 
    3)  I assume I need to create a partner profile for this supplier?  If so can someone tell me the message type to use?
    Is there any set up I'm missing in this process?   I've executed ERS but do not get an idoc and I'm fairly certain it's because I haven't done the partner profile set-up.
    Thanks for your help.
    Sandra

    Hi,
    You don't have to modify thise setup unless you have any customized requirement.
    You are missing partner profile setup.Carry out the setup and run MRRL tcode to create the idocs
    Enter the following values using tcode WE20.
    Field                                       Value
    Message type                         GSVERF
    Partner type                             LI (vendor)
    Partner function                        LF (vendor)
    Port                                         SUBSYSTEM ( Port to your middleware)
    Output mode                            such as Collect IDocs
    Basic type                                GSVERF01
    Application                                 MR
    Output type                                ERS6 or the type you have defined
    Regards,
    Karuna

  • Need to Trigger a Idoc when save IE01 T-Code

    Hi all,
    I need to generate a Idoc when i saved IE01 transaction code.
    Pls let me know the procedure.
    And also relevent IDOC .
    Regards,
    Ramesh.

    Hi,
    - You need to use basic Idoc type EQUIPMENT_CREATE01 for creating Idoc at equipment creation.
    - Use change document concept for extraction based on Change docs created..For this you need to activate change doc creation for equipment category in questions. Use of JCDS and like tables to be used for picking up change docs during extraction.A logic to be build to pick up change docs since last interface run,this will ensure only new equipments via change docs will be included in new idocs.
    - A batch job to be scheduled whic will run at desired frequency to push newly created equipments to external system. You can make use of immediate data transfer or collecting Idocs and then sending at required time.Take help of technical person on this
    regards,
    atul

  • Trigger Output type upon releasing credit block

    Dear SD Gurus,
    I have a requirement, where the output type needs to be generated automatically, after releaing the credit block (via VKM1) is performed.
    Any tips will be appreciated.
    Thanks,
    Ced

    Hi,
    This requirment can be achieved via requirment in NACZ for the output determination procedure "V10000" and your condition type.
    Check the requirements "9" and "12".
    See the standard Output type "KRML" for reference.
    regards

  • Need cursor to select type when dragged

    There must be a preference to set but nothing I do helps...I know I've been able to do it before, but now when I put the selection arrow (black arrow) into a line of type by double clicking, I am unable to then drag the cursor to select the row of type. Triple clicking does nothing.
    In other words, double clicking with the selection tool places the cursor in a word, but how to then highlight the word??
    In Preferences, it doesn't matter if the 'Double Click to Isolate' box is checked or not and the 'Object Selection by Path Only' is unchecked.
    I know it's something simple.
    thanks!

    Kurt,
    you are GOLD!
    now if I can only remember this!
    Best wishes!

Maybe you are looking for

  • Internal Table in SQ02

    I need to create an ABAP Query ( SQ01/SQ02 ) in which it pulls information from the table REGUH. However as REGUH does not have indexing ,its giving performance issues . I was wondering if its posibble to pull the required information in an Internal

  • Workflow with item type and item key  is in progress. Abort existing workfl

    Dear all, I'm using the below code from the submit button event to launch the workflow. The workflow works fine when I submit for the first time, when i try to submit for the second time from the same session it throws me the error as Workflow with i

  • Can you stop the email synch while in progress on ...

    It seems while the phone is synching you can do anything with email during synch session-anyway of cancelling/suspending the sych session?

  • SAP BO & Universe.

    Dear All, Pl.let know about Universe in Businessobjects for the following: what is the role of universe? Is it mandatory to install universe to use any of the BO tools viz Crystal Reports, Xcelsius, Polestar, Voayager and any tools from the GRC solut

  • Changa Document. Objects (CDHDR Table)

    Hi Friends, Can Anyone help me I want to know Change Document Object & BOR for GR Posting . Once the GR posted i want to trigger my WORKFLOW  by Customised event (ZCREATE) is it possible. I am Using 4.7 Version Thanks, Narayan.