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

Similar Messages

  • 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

  • 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

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

  • Trigger special function output type through a custom program

    Hi,
    I have to trigger the special function output type from a custom program.
    This custom program contains a BAPI and the output parameters of this BAPI are required as input to the second BAPI which is contained in the form routine of the special function output type.
    I am not able to understand how to trigger the special function as I dont know how the nast-objky will be updated
    and how the BAPI parameters will be passed.
    Is this has to be done through a Idoc
    Can anyone guide me on how to handle the above functionality.

    Hello,
    I am not able to understand your requirement completely...
    agree with above post....addition-
    1. Transport medium would be '8 - Special Function' where one program would fire and that can be used for further processing.
    2. If condition record are maintained and it is matching with parameters then output type with all transport medium would be called
    Thanks

  • 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

  • Saving output type through progaram

    Hello,
    I want to save an output type to some shipments as i have more than 10000 of them.
    can i write a Zprogram using which i am  planning to attach all of them at one shot.
    is it possible to write a program to saving output types .. if so .. can any one help me with the code?

    any SAP standard links or any kind of help will do as i am in very much need of this

  • 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

  • Invoice output type getting triggered after setting SY-SUBRC = 4 in routine

    Dear Friends,
    When ever invoice document is generated, if the invoice document is completed and if its accounting document is generated successfully, we need to trigger an output type for invoice ZRD0
    For this purpose, we have created a routine 902 in our system. If the required condition, mentioned above, fails then SY-SUBRC set as 4 else set as 0 to trigger the output type.
    Currently we are facing a problem, even after setting SY-SUBRC as 4 in routine 902, output type ZRD0 getting triggered.
    Please help me to fix this bug.
    Thanks a lot.
    Best regards,
    Amol Chaudhari.

    Hello Aditya,
    I have maintained same code in both routines 'kobed_902' and 'kobev_902'.
    Required code maintained in the routine,
    sy-subrc = 4.                          " Do not trigger output type
    * If the posting document is created or Billing document canceled    *
    * and if invoice document is Completely processed then the output    *
    * type ZRD0 is Triggered.                                            *
      IF komkbv3-uvall CA gc_c.   "Invoice document is complete or not
        IF komkbv3-rfbsk CA gc_ce.   "For VF01 and VF11
          sy-subrc = 0.
        ENDIF.
      ENDIF.
    We are getting this problem on production client and not able to generate the scenario on quality.
    The output type is actually an EDI output type which is generating an IDOC for the invoice.
    Thank you.
    Best regards,
    Amol Chaudhari.

  • Output types are not getting displayed in Outbound Delivery in Display mode

    Hello,
    The actual requirement is that output types should get attched to the outbound delivery when we do GI(Good Issue) on the outbound delivery.
    So, I have created an outbound delivery and did GI on it through IDoc. But, I can not see output types on the delivery (To see output types, go to Extra -> Output -> Header in VL03N) in the display mode. However, I can see in change mode (VL02N).
    Could you please suggest the solution for this?

    Hi sreeram,
    go to crm -> transactions -> basic settings -> define transaction types
    copy default email cx03 and create new zemail.
    assign that zemail to bus2000126 business activity.select the business activity and click on customizing header.assign the category email. click on channel. maintain the channels 1)GUI crm webclient UI, 2)ICW Interaction center webclient.
    save the changes.
    go to crm -> transactions -> basic settings -> settings for activities -> maintain categories, goals, priorities -> click on assign categories to transaction types.
    assign the category email(which you have assigned above) to the transaction type zemail.
    even check maintain categories as well
    click on maintain categories -> check 401 email assigned to class G email.
    Regards
    Krishna

  • Output types not defaulted automatically

    Hi experts,
    I have problems on two areas:
    1. Upon creation of Sales order, the output type was not defaulted automatically for picking list. 
    2. In Outbound delivery after PGI, it does not default output type for Delivery
    My settings are:-
    In config.  - VP01 Define print parameters in Sales (for selected output types)
    In master data - VV11, VV21 and VV31 all setup by output type and key combination Sales Organization/Order Type.
    Any clue where I have gone wrong or missed out?
    Regards
    PSK

    Hi there,
    For those output types check what are the default values --> dispach time. It should be "send immediately which saving the application". Only tehn the O/p will trigger immediately. Else you will have to rpocess RSNAST00 prog.
    Also check if the condition records are maintainted properly & printers are asigned in condition record --> communications.
    Regards,
    Sivanand

  • Amended PO attempt to trigger output and Failed

    Hi,
    In the application monitor out put errro's, i have the above said error "Output error in purchase order 65000XXXXX for output medium MAI  "
    and in the out put log i am able to see below log.
    Search Result: 1 Document Output  Status  Changed  Repeated  Manual  Generat.on  Generat.at  Changed on  Changed at  Medium  Actions 
    Incorrectly processed        27.04.2009  09:42:06  27.04.2009  09:42:07  Mail     
    Output Log  Message Type  Message  Documentation 
    Information  Date: 27.04.2009 Time: 09:42:06  
    Information  Name of the Smart Form: ZEBP_PO  
    Information  Processing class: CL_PD_PO_PROCESSING_BBP  
    Information  Processing method: PROCESS_BBP_PO_MAI  
    Error  Status does not allow output (held?)  
    Error  Document not sent to
    Error  Action could not be successfully executed 
    Amended PO should not trigger output and not triggered. but the question is why it attempt to trigger output and failed
    Can any one please let me know where i can see why system attempt for output and failed
    Regards,
    Jai

    Resolved

Maybe you are looking for

  • Apple Remote no longer works with VLC

    Has anyone else come across this problem? Since upgrading to Leopard (Fresh Install) VLC 0.8.6c can no longer be controlled by the Apple Remote. Is this just another example of Apple (un)intentionally removing a feature?

  • Business Partner Special Price Import - DTW

    Forum, We have a number of special prices for Business Partners which we'd like to update. In some cases, we would like to remove the current special price and have the system pick up the unit price against an item within Item Master Data. When impor

  • Why Is My Screen Greenish-Blue?

    I don't know what happened! I was on this survey where I had to view 3 videos. The site said it was installing a new application so I could do that but after I finished I saw that now there's a greenish-blue hue on my monitor and I don't know how to

  • The firefox page comes up when i open the browzer. How do I keep this from happening??

    The Firefox page comes up when i open the browser. How do I keep this from happening??

  • Help with setting up Rosegarden?

    Hi, I am looking ino creating an open source music studio with my laptop to enter a state competition for my High School's TSA chapter. Problem is that I'm totally new to sound on linux. I have very limited experience in music making and the best I h