Triggering of output type

Hi Experts,
I have two output  types and the output type 2 should only trigger if the output type 1 has processed.
we have coded  in a routine in transation V/27 , and attached it to output type "ZWMA". 
As per the logic In the routine we are checking the NAST entries , if successful we are marking sy-subrc  as 0 ( suceessful).
The issue we are facing though values exist but nast table is not popultaed with thse values at the time of execution of routine and hence the check is failing ..
do we have any other way to check if one output type is processed before executing another output type  and only tigger outpute type 2 if output type1 has processed;
like something about about access sequence or configuration through which we can solve the issue
thanks experts!!

Hi there,
Make use of element VSTAT  in NAST table for checking the Processing status of message as and when u require to do it.
Hope it helps.
Regds,
abhee

Similar Messages

  • Getting a PDF by triggering an Output Type

    Hi All,
    I have created an Output Type in NACE. Say ZRUD. In Nace I have configured it to a PrintProgram.
    Then please tell me the next procedures, through which I will be able to generate a PDF not by directly executing the smartform, but by triggerring the output type.

    You need to fire the output on the specific printer which has a device type of PDF1.
    Your basis guys can help in this regards.
    Regards,
    Naimesh Patel

  • Delay triggering of Output type

    I have a requirement, wherein when I do a PGI in VL02N, 2 Output Types Z1 and Z2 are triggered.
    Z1 will generate the Billing Doc and Z2 will print a form with all the details inlcuding Billing Doc Number.
    However, Z1 takes time (abt 30 sec) to generate Billing Document, and Z2 generates the spool simultaneously but does not display Billing Document in the form, as Z1 has not yet completed.
    Is there any way, we can delay Z2 or trigger Z2 only after Z1 is completed.
    Note : We don't want to use batch job.
    Am new to output types, so kindly explain in detail the steps for solution.
    Thanks
    Vivek

    Hi,
    We have worked on a similar requirement. In our case we triggered the output Z2 at the time of billing. So configure Z1 during PGI in delivery and Z2 in billing. We adopted the method, you are having currently, initially. But in case of error during billing creation it was very difficult to handle the errors. The delay of 30 sec. could increase if you have huge load.
    I would suggest it is logical to print only after the billing document is created so you can look at this option if you like.
    Cheers,

  • IDoc triggering without Output type?

    Hi Experts,
    I need a help regarding triggering of IDoc. I need to trigger an o/b IDoc for message type SHP_OBDLV_SAVE_REPLICA without having output type on creation or save. Could you please anyone advise is there anyway to do it? It would be great if someone have come across for this kind of req and would helpful for me share same with me.
    Thanks.

    Hi Brad,
    Thanks for your input. Is there any o/b process code exists for Idoc type SHP_OBDLV_SAVE_REPLICA02? Could you anyone share if there is any.
    Thanks

  • Form triggering through Output type

    Hi All,
    There is a issue which i am facing , I have create a output type ZFIN and attached a custome program xyz with this outputtype. when the output is triggered throught transaction VL32n the custom program should be trigger but ther is an error raising which is going to my SAP inbox that is " PERFORM_TOO_MANY_PARAMETERS".
    Regards
    Dhiraj Shetty

    Hi,
    1. Run transaction SU01
    2. Enter <user name> => EDIT
    3. Go to tab 'Parameters'
    4. Select parameter ID = 'NDR' and enter value 'X'
    5. Save
    Done

  • Automatic triggering of output type in Goods issue

    Hello Experts,
    I am trying to pick the output type while creation of goods issue document using transaction MB1A. After creation, it is not coming automatically. I did the customization setting for maintaining conditions based on output type WA02, adding trans/Event-WA, print version-3, print item-1 but still it is not populating automatically while creation of GI document.
    Could you please let me know, how to do it or if i am missing some customization.
    thanks,
    Karun

    Hi,
    To trigger the OUTPUT automatically you have to maintain the CONDITION RECORDS in MN21
    Goto the Transaction code MN21 and enter the OUTPUT type as WA02 and give the following details
    Trans/Event type
    Print version
    Print item
    partner function
    Medium
    Date/Time
    Language.
    After maintaining this check whether the OUTPUT determined automatically or not.
    I hope it will determine automatically.
    thanks,
    santosh

  • Orders triggering without output type

    Hi Gurus,
    Can anyone guide if we can trigger outbound orders (sales orders) without Output type?
    Any suggestion will be greatly helpfull.
    Regards,
    Nitin

    Hi nitin
    Message control is only technique to generate the IDoc ...provided by SAP.
    There is no alternate method...
    I can suggest you that... if you donu2019t want to create sales order IDoc (outbound) immediately
    Hold on with yellow status output type and generate the IDoc when ever you want by scheduling the RSNASTED...
    Thanks
    Ramesh

  • Debugging the program that will get triggered for a particular output type

    Hi all,
             I have one program,which will get triggered when a Sales order of type 'VOR' is created.Whenever 'VOR' order is created it will trigger the 'ZALT' output type.And this output type 'ZALT'has been configured to my program.This output type configuration has been set up by my functional consultant.
    My problem is I created Sales order of type 'VOR'.But I want to debug my program,which has to be triggered because of that 'VOR' sales order type,which in turn triggers 'ZALT' output type and in turn triggers my program.
    My problem is I created Sales order of type 'VOR' by keeping debugging point in my program.But it is not going to my program and simply displaying sales order has been saved.
    So is the outtype has been configured properly?.Do I need to go to my functional consultant?Could anyone explain in this regard?
    Rgds,
    Balaji

    Hi Balaji,
    If possible, try to repeat the output in the output type messages screen of VA02 and change its dipatch time to '1'(Through further data). Now put the break point in the program assigned to output tye 'ZALT'(You can see this in the TNAPR table) and run the program RSNAST00 through SE38. The program will stop at the break point.
    If its not possible to repeat the output and if you want to check it the first time the output type is processed, ask the functional consultant to change the dispatch time in the condition record that is being retrieved for proposing the output type to '1'. Now run RSNAST00. The program will stop at the breakpoint.
    Thanks,
    Vinay

  • Proforma Invoice triggers automatically through delivery output type

    Hi Gurus,
    Iam facing one issue related proforma invoice, senerios is sales order- once delievry saves, it triggers one output type ZGF8, and it triggers Proforma invoice type ZGF8.
    In delievry output type ZGF8, we have output program Z_EVT_LIKP_OUTPUT, and Form Rouitne CREATE_EVENT.
    Now user want to differnt delivery type and differnt proforma invoice type same as above.
    My question is how the system is triggers ZGF8 proforma billing type automatically, where in the system have the setting.
    Please guide
    Thanks
    Ramki

    in creation mode you can see kew combination this will show your access sequence criteria.
    Go to NACR display mode in header condition info ,click condition info tab with entering any values in screen this will show the details

  • Triggering output type from VL02N

    Hi,
    I need to attach some kind of routine to VL02n.
    The requirement is that in VL02N, on goods issue, an output type is supposed to be triggered.
    Please suggest me as to how to trigger this output type on goods issue.
    The functionality is like this.......on triggering the output type, idocs are generated. SO i need to write a routine sort of from where i can trigger and then write the idoc related code

    Hi,
    just follow this link..it might be useful...
    [Automatic Output Type from VL01|http://wiki.sdn.sap.com/wiki/x/BY-jBw]
    Regards
    Kiran

  • VL01N delivery saves triggers Proforma Invoices through delievry output typ

    HI Gurus,
    Iam facing one issue related to work flow, senerios is sales order- once delievry saves, it triggers one output type ZGF8, and it triggers Proforma invoice type ZGF8.
    In delievry output type ZGF8, we have output program Z_EVT_LIKP_OUTPUT, and Form Rouitne CREATE_EVENT.
    Now user want to differnt delivery type and differnt proforma invoice type same as above.
    My question is how the system is triggers ZGF8 proforma billing type automatically, where in the system have the setting.
    Please guide
    Thanks
    Ramki

    Hi Ram Ki,
    I think your problem is more toward the setting of the output determination. You can consult with your functional consultant who normally set this up.
    For your reference, you can go to transaction NACE, where you can see:
    1. Procedure that is active
    2. Output type belongs to the procedure
    3. Access Control which fields used for comparison
    4. Condition record which values used for comparison, to determine whether the output type is to be triggered.
    Regards,
    Lim...

  • Output type triggers HU and PGI

    hi,
    I am associating an output type in delivery to trigger creation of HU and PGI.
    When i run it independantly without output type, it is working.
    But, when triggered with output type , it is giving call transaction command as illegal command.
    Is that because i am calling same vl02n for creation of HU?
    If that is the reason, let me know how to handle it?

    Hi Gaurav,
    Please see the output determination message first to understand the problem.
    If the output determination is saying that the requriement not fulfilled, it means the requriement routine is checking for something other than PGI, which needs to be completed.
    If the requriement routine is fulfilled and Outputy type not triggered, then it is a master data issue.
    Please check what is the issue first.
    Regards
    Krishnam Raju

  • Creating/Triggering Output Type from program

    Hi,
    When I am creating Inbound Delivery using VL31N tcode, an Output type associated with it triggers automatically.  But my problem is that I have stopped the triggering of Output type automatically while saving Inbound delivery. and want to create mannually through program.
    Is there any FM or any other way to do through program.
    best regards
    bobby

    Hi
    Below link is for your reference
    [create output type reference|http://www.interfax.net/en/help/sap_sd_mm_module.html]
    hope it will help you.
    Regards
    Natasha Garg
    Edited by: Natasha Garg on Feb 5, 2009 7:25 AM

  • Issue output type

    Hi All,
    I've configured output type for sales order.output condition records are also maintained in VV11.
    It's workign fine when I create or change sales order in VA01 or VA02(Issues output type - yellow colour).In turn for this output type we have scheduled background job in WE15 which creates idocs.
    Now when I do PGI or create delivery for the order the same output type has to be proposed for the corresponding order.
    How can I do it?
    FM 'WFMC_MESSAGE_SINGLE'  cannot be used as this FM is triggering the output type to generate idoc directly(same like WE15 ;it generates idoc but no output type is found in SO), but what I need is it has to create output type in sales order with yellow colour.
    IS there any way to do this?Any BAPI or FM?
    Regards,
    Ponraj.s.

    Is there anyone have any updates on the above issue. need your help in this regards

  • Help with output type

    Hi Gurus,
    I have a requirement to create a print program to trigger the messages which are in waiting status when fulfill some conditions.
    requirememt as follows:
    Heading: Invoice data (ICB for purchased goods) via IDOC
    1. Within Replenishment process the invoice is send by IDOC.
    There are two cases:
    a.process the Idoc immediately, if the Inco terms are ex works
    b.create the Idoc, but donu2019t process it immediately
    When the inbound shipping notification is in the system and the fields u201Ddateu201D (LIKP-PODAT) and u201Ctimeu201D (LIKP-POTIM) has been filled, the invoice  Idoc ( step 2 ) can be posted.
    2. The message output is set on dispatch time 3 ( send with application own transaction )
    3. New message type is needed for these kind of invoice
    4. A new print program check all messages which are still waiting for process and check, if the Inco term is maintained in table Y11L1_34_MM_BART with X in field PROC_IM or the fields in table LIKP-PODAT and LIKP-POTIM are filled (means goods are in the warehouse). When one of these checks are fulfilled, process the Idoc.
    I dont understand,, I didnot work on the output types..
    As per my understadin there are output types when they run some transtion in yellow and they are triggered immediately,
    now they want to collect all the output types(messages) anmd trigger them when fulfilled the two conditions above.
    I see in NACE , the application V3 and a z output type,
    my question is:
    can you provide me a sample program if you have come across , Ithinkn a print program neeed to be developed and assing in the NACE transaction.
    Please let me know the procedure for doing this.
    thanks & regards,
    Nazeer

    Hi,
    Have a reference to the standard program "RSNAST00" which is used for triggering the output types.
    Regards
    Vinod

Maybe you are looking for

  • Error when updating through "Role import"

    Hi all I get this error when I update through Home > Authentication > SAP > Role Import: "An error occurred while communicating with the CMS. The following error message was returned: Error occurred in CSAPSecHttpRolePage::OnCommitRoles. Return value

  • How to use Landmark in a Class outside the Parsley Context

    Hi all, Is there anyway to get the Landmark metadata work without adding the annotated Class in the Parsley Context file? I mean, I have a Class such as: [Landmark(name="content.foo")] public class MyClass extends ManagedClass { [Enter(time="every")]

  • Why is there a Question Mark in my Finder Window?

    This question mark has recently appeared in my finder windows on my 21" iMac (2010), any ideas why? http://www.flickr.com/photos/dtsdesigns/6311994946/

  • Help need for cal script on CCONV

    Hi All expert, I've installed the currency database and it is working fine, but when I tried to get the exchange rate dynamically based on "Year" and "Version", i got syntax error, following is my code.      SET UPDATECALC OFF;      DATACOPY RPTValue

  • HT1933 I am not receiving email receipts for purchases

    I keep seeing purchases on my credit card but I never receive a receipt, any ideas why?