How can we trigger Output explicitly ??

I want to trigger an output type explictly ie trigger an IDOC when i do changes in material (MM02).... I can maintain an entry in NAST for the same and how can i process it ?

u can do this by change pointer.
1.for tht first u have to check the tcode BD61 whether change pointer is activated or not. check whether the check box is ticked.
2.then u have to activate the message type goto tcode BD50 check whether ur message type(MATMAS) check box is ticked
3.then atlast u have to specify the field name in BD52 tcode. whenever that field is changed idoc will be triggered.
then execute the program RBDMIDOC & specify ur message type.

Similar Messages

  • How can we trigger an IDOC based on Orders creation.

    Hiii...experts,
                            After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
    If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
    when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
    And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
    so, how can we trigger an IDOC based on Orders creation..
    pls help.
    Ram.

    Use IDOC_OUTPUT_ORDERS for creating IDOC
    you need to maintain condition records & output type
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM

  • How can I trigger an onchange event for hidden or never displayed item

    hi -- I have an item that I don't want displayed on my page -- more info than the user wants or needs; call it B. It needs to be
    set by an onchange event from a visible item (A); then, the change of B triggers on onchange to set another item (visible) -- C.
    When B is visible on the page, it all works. If I make it hidden or conditionally never displayed, it doesn't work. From the looks of
    it, B never gets changed.
    How can I trigger this onchange event (from B to set C) with B not visible?
    Thanks,
    Carol

    hi Varad -- Probably more info than you want... but here's the whole chain of events.
    Hope it answers your question.
    C
    **** 1
    In A's html form element attributes (simplified; I took out the irrelevant call to jsLookupValue that sets another item).
    onchange='jsLookupValue($v("P142_SITE_ID"),"site_id","P142_OBJECTTYPE_ID","objecttype_id","hdb_site_syn");'
    **** 2
    jsLookupValue is the following.
    The statement that actually sets the value of B is: $s(dest_item_name, jsonobj.row[0].RETURN_VAL);
    function jsLookupValue(source_item_value, source_column_name, dest_item_name, dest_column_name, lookup_table_name){
    // Continue only if there are valid values
    if (valueOf(source_column_name)&&valueOf(dest_item_name)&&valueOf(dest_column_name)&&valueOf(lookup_table_name)){
    //Check to see if the source_item_value is null (either all spaces or empty
    //If it is, set the dest item to null, but only if it's not already --
    //otherwise we get into a loop.
    source_item_value = trim(source_item_value);
    dest_item_value = trim($v(dest_item_name));
    if (source_item_value.length==0) {
    if (dest_item_value.length != 0) {
    $s(dest_item_name, null);
    }else{
    //This is the AJAX call to the Application Process from step 1
    ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=LOOKUP_VALUE',0);
    //Here we are adding that x01 parameter we use in the app process with the value of the objecttype_name field
    ajaxRequest.addParam('x01', source_item_value);
    ajaxRequest.addParam('x02', source_column_name);
    ajaxRequest.addParam('x03', dest_item_name);
    ajaxRequest.addParam('x04', dest_column_name);
    ajaxRequest.addParam('x05', lookup_table_name);
    //Now do the actual AJAX call and put the result in ajaxResponse
    ajaxResponse = ajaxRequest.get();
    //Check if there is a response
    if (ajaxResponse) {
    //We need to format the JSON return string and put it in a JSON object
    // the formatting is done by a function in the external JSON library
    // the jsonobj can be used to retrieve the data returned by the App process
    var jsonobj= ajaxResponse.parseJSON();
    // And finally, we set the DNAME item with the value of the jsonobj.DNAME
    // an array was created in the object with the name row, so that is why you have to include row[0] to retrieve the data
    if (jsonobj.row[0].RETURN_VAL != $v(dest_item_name)) {
    $s(dest_item_name, jsonobj.row[0].RETURN_VAL);
    }else{
    } //not setting
    }else{
    alert('No response from app process');
    } //no response
    } //no source item value
    } //no bad nulls
    } //function
    **** 3
    I won't bore you with app process LOOKUP_VALUE. It just builds an sql query that gets the value for B, aliased to RETURN_VAL.

  • How can I determining Output Type automatically in Invoice

    Hi Friends
    Can any body advise How can I configure output type or its related settings so that output type should be determining Automatically when saving the invoice.
    right now it comes in the invoice only manually but I want automatically.
    Thanks in advance.
    Regards
    Neeraj Jain

    Hi,
    did you assign output determination procedure,output type and application to billing type? Check in VOFA t.code.
    Goto NACE t.code Select the application V3 and click on output type.
    Select the output type and choose details.
    Activate the field Access to conditions. in general data tab.
    If this field is not selected, then system will not search for condition records.
    Regards,
    Chandra

  • How can i trigger the workflow from REPORT

    hi,
      my requirement is, whenever Z... Report Is generated there is Icon called print. the write the code for printing icon. if printing Icon fails the workflow will be trigger.
    how can i trigger this from report. and i send attachent of report with mail to next person to sap inbox.
    pls let me know.
    pls give any documentation if you have.
    thanks & Regards
    Sankar.

    Hi,
    Workflow container
      swc_container        lt_container.
      swc_create_container lt_container.
      swc_set_table lt_container '<cont_name>' lit_int_tab.
    CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = lc_objtyp
          objkey            = lv_objkey
          event             = lc_event_name
        IMPORTING
          event_id          = lv_eventid
        TABLES
          event_container   = lt_container
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc <> 0.
        yv_err_flg = gc_true.
        EXIT.
      ENDIF.
    Rgds,
    Prakash

  • How can i trigger two 5102 PCMCIA by software synchron

    I want to use a mobile measurementsystem with a laptop and two NI5102-PCMCIA. How can i trigger both cards syncron without loosing a channel. how can i trigger both cards syncron by software?

    Sounds like you are interested in triggering two DAQCard-5102. The triggering capabilities of this card are outlined in Chapter 4 of the DAQScope 5102 User Manual:
    http://digital.ni.com/manuals.nsf/websearch/3F29D7C792CBF5478625665E006358EA?OpenDocument&node=132100_US
    One thing to point out is that RTSI lines are not available in the PCMCIA version of the 5102.
    If you have any further questions you can always request support from National Instruments at ni.com/ask
    Regards,
    Russell Blake
    Applications Engineering
    National Instruments
    Engineering Team Leader
    G Systems, www.gsystems.com
    Certified LabVIEW Architect
    Certified Professional Instructor

  • How can i trigger workflow when particular event happens in webdynpro

    how can i trigger workflow when particular event happens in webdynpro

    hi,
    To trigger workflow , use the fm : 'SAP_WAPI_START_WORKFLOW'
    Refer this thread for similar requirment : Workflow in WebDynpro
    Blog : http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID1564403950DB00699140435432809306End?blog=/pub/wlg/2778

  • How can we trigger the BAdI MD_PIR_FLEX_CONS  in a MTS strategy

    Hi All!
    We have 5 Plants: 4 commercial plants and 1 production plant.
    The sales orders are created in the commercial plants with a Make-to-order with consumption Requirements type; (Individual customer stock is an issue of the client).
    Planned independent requirements are entered at finished product level with Consumption indicator for planning requirements 4 - Flexible Consumption for Different MRP Elements (BAdI); we create the purchase order (L - Subcontracting) for the finished product based on the PIR.
    We need to do the consumption and reduction of planned independent requirements based on the purchase orders creation or in the Goods Receipt for the Outbound Delivery.
    We implemented the BAdI MD_PIR_FLEX_CONS but the BAdI isnu2019t trigger for Planning strategy 10 or 40 but. The BAdi is trigger only when Requirements class of the Requirements type of independent requirements as value 2 (Consume planning w/o assembly) in the Consumption indicator and value 3 (Single-item planning) in the Planning Indicator.
    How can we trigger the BAdI in a MTS strategy u2013 The BAdI documentation doesnu2019t mention that can only be used in MTO strategy?
    Thanks.
    Regards.
    Adelino

    Hello Adelino
    Strategy 10 is a special business case without consumption and only with the PIR reduction during the delivery (goods issue). You can see in customizing OPPS that both requirements KSL and LFS are set with "No consumption with customer requirements". In this case, BAdI MD_PIR_FLEX_CONS is not called.
    The BAdI can be used with strategy 40, so please make sure that the consumption indicator of the PIR is set to '4 - Flexible Consumption for Different MRP Elements (BAdI)'.
    BR
    Caetano

  • How can I convert output data (string?) from GPIB-read to an 1D array?

    Hello all,
    I am reading a displayed waveform from my Tektronix Oscilloscope (TDS3032) via the GPIB Read VI. The format of the waveform data is: positive integer data-point representation with the most significant byte transferred first (2 bytes per data point).
    The output data of GPIB-Read looks like a string(?) where the integer numbers and a sign like the euro-currency sign are seperated by spaces e.g. #5200004C3 4 4 4 4 3C3C3........ (C represents the euro-currency sign).
    How can I convert this waveform data into a 1D/2D array of real double floatingpoint numbers (DBL) so I can handle the waveform data for data-analysis?
    It would be very nice if someone know the solution for this.
    t
    hanks

    Hi,
    First of all, I'm assuming you are using LabVIEW.
    The first you need to do is parse the string returned by the instrument. In this case you need to search for the known symbols in the string (like the euro sign) and chop the string to get the numeric strings. Here are some examples on parsing from www.ni.com:
    Keyword Search: parsing
    Once you parse the numeric strings you can use the "String/number conversion VIs" in the String pallette.
    Hope this helps.
    DiegoF.Message Edited by Molly K on 02-18-2005 11:01 PM

  • How can I trigger an event from an ABAP Program

    Hi everyone,
    I have a requirement, where I have to create an ABAP program, that has to execute (trigger) an event which belongs to a Process Chain. when I run the program, the Process Chain has to run.
    So, how can I do it?
    Thanks for your help, Federico

    HI ,
    The program can call function module BP_EVENT_RAISE to raise the event. you can create vent in sm64 and sm62 .There you give the parameter of the event same as what you will define in the event of start variant of your process chian ..
    Regards,
    shikha

  • How can we Customize  output of "PO Output for Communication" Program?

    How can We Customize Format of the output of "PO Output for Communication" Program.
    Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
    "PO Output for Communication Program" is used to generate DRAFT PO details in pdf Format to go with Workflow Notification for PO Approval.
    Regards,
    Muhammad Usman

    Infact we need to Change Format/data of the pdf file wich comes with Workflow Notification PO "Response Required for PO Approval".
    I the pdf file attached is generated by "PO Output for Communication" Concurrent Program.
    Executable is "POXPOPDF" Execution File name is "PoGenerateDocumentCP" which is a java program.
    This prgram uses the following files to generate pdf output of draft PO output.
    DATA FILE:
    PO_STANDARD_PO.xml
    PO_STANDARD_PO.xsd
    TEMPLATE:
    PO_STANDARD_XSLFO.xsl
    I need to know any visual layout editor available to change contents/layout/data of this pdf.
    Regards,
    Usman
    Edited by: user10518960 on 01-Feb-2013 07:18

  • How can i trigger workflow from report

    hi i create one report and workflow. i want to trigger workflow from report, how can i do this one, please send me any code you have.
    Thanks & Regards
    Sankar

    Hi Sankar,
    There is another sample code...
       REPORT ZRGEVTCR.
    INCLUDE <CNTN01>.
    DATA: OBJKEY  LIKE SWEINSTCOU-OBJKEY,
          EVENTID LIKE SWEDUMEVID-EVTID.
    DATA: BEGIN OF EVENT_CONTAINER OCCURS 0.
            INCLUDE STRUCTURE SWCONT.
    DATA: END OF EVENT_CONTAINER.
    PARAMETERS:
      OBJTYPE  LIKE SWETYPECOU-OBJTYPE DEFAULT 'ZRGMARA',
      MATERIAL LIKE MARA-MATNR,
      EVENT    LIKE SWETYPECOU-EVENT   DEFAULT 'CREATED',
      VOLEH    LIKE MARA-VOLEH,
      LED      LIKE SY-DATUM           DEFAULT '19971231'.
    OBJKEY = MATERIAL.
    CLEAR EVENT_CONTAINER. REFRESH EVENT_CONTAINER.
    set input parameters for CREATED event.
    remark: to be more general, we had to use fm SWO_QUERY_PARAMETERS
    IF EVENT EQ 'CREATED'.
      SWC_SET_ELEMENT EVENT_CONTAINER 'LatestChangeDate' LED.
      SWC_SET_ELEMENT EVENT_CONTAINER 'VolumeUnit' VOLEH.
    ENDIF.
    CALL FUNCTION 'SWE_EVENT_CREATE'
         EXPORTING
              OBJTYPE           = OBJTYPE
              OBJKEY            = OBJKEY
              EVENT             = EVENT
         IMPORTING
              EVENT_ID          = EVENTID
         TABLES
              EVENT_CONTAINER   = EVENT_CONTAINER
         EXCEPTIONS
              OBJTYPE_NOT_FOUND = 1.
    IF SY-SUBRC NE 0.
      WRITE : / 'Object type', OBJTYPE, 'not found in object repository'.
    ELSE.
      IF EVENTID NE 0.
        WRITE : / 'At least one receiver was found'.
        COMMIT WORK.
      ELSE.
        WRITE : / 'No receivers found'.
      ENDIF.
    ENDIF.
    Hope this will help you to solve your problem that how to trigger workflow from the report.
    Thanks,
    Pramod

  • How can I trigger a download prompt from PHP?

    I have a secure file I'd like for authorized users to
    download. I would
    like for the secure pages containing these 'links' to trigger
    the download
    rather than just linking to the files (for obvious reasons).
    How can I do
    that?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    That's just the ticket, gareth! Thankee - it works fine....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "gareth" <[email protected]> wrote in message
    news:e2i3ar$ldh$[email protected]..
    > There are a number of scripts available to do this,
    found the ones below
    > on
    > google:
    >
    >
    http://www.higherpass.com/php/Tutorials/File-Download-Security/
    >
    >
    http://elouai.com/force-download.php
    >
    > Gareth
    >
    http://www.phploginsuite.co.uk/
    > PHP Login Suite V2 - 34 Server Behaviors to build a
    complete Login system.
    >
    >

  • How can we trigger error message in BADI PARTNER_UPDATE

    Hi All,
    I have implemented a BADI PARTNER_UPDATE. In this I have validation ( Error Message ) on saving buisness partner.
    It is giving the error message but it freeze all the fields. On pressing enter it goes for short dump.
    In short dump it gives error The COMMIT WORK processing must not be interrupted.
    Kindly suggest me that how can we pass error message and it also does not freeze the fields.
    Regards,
    Narendra Goyal

    Hi Narendra,
                          How are you trying to display message.
    Is it using message service class instance of message statement (which should not be used, as that is for GUI messages) or using collect FM or by adding to genil message class container.
      Please try different approaches and see what works for you.
    Thanks,
    Rohit

  • How can I trigger an automated event in iCal, when I first start it in the morning, but not if I fire it up later again?

    Hey,
    I'm trying to fix an issue I had for a while with a automator script I want to use. I added several things it should do, test it, and it works fine. I use it usually as an workflow. But I tried to implement it through an iCal event! Which does not work. (and I checked already in preferences if the turn off all iCal alarms is unchecked) I the workflow basically to open when I first fire up the MacBook, but only once, not when I start it up again later n the day. So I thought about adding the workflow to the startup, but that would open it every time I start my MacBook. How can I get around that? By a iCal event? If yes, how can I fix it, that it starts not at a specific time ( I don't start my computer at the same time every day) but when I first open it.
    Thanks for any help.

    I'd write an AppleScript, save it as an app, and have it run as a login item. The script would look for a text file saved in, say, <~/Library/Preferences>. If the file didn't exist, it would create it. Each line in the file would contain a date. The script would look for the last line in the file and it would compare it to the current date. If it was older than the current date, the script would execute the workflow, then it would write the current date in the file, and then quit. If it was the current date, it would just quit. This way, the workflow would be executed at login, but only once in every 24 hours.

Maybe you are looking for

  • Problems with java_ee_sdk-5_05-windows.exe on Windows Vista

    I have downloaded java_ee_sdk-5_05-windows.exe to install the applications server on Windows Vista. I have followed all the steps at the installation, and it worked ok. But when I start up the AppServer I find two problems: 1.- The console shows,    

  • ALV TEXT problem

    Hi Abaper , In my alv repoer i  am doing sum base on the bkpf-month to the field bseg-DMBTR . my problem is i want  text when summing in every month . like Amount in month June is            how can  i do ? if any one can face same problem help me .

  • Using my iPad in Mexico

    My understanding is that I can use the iPad 2 in Mexico by getting a Global Plan with my carrier, Verizon. Do I need the same for the new iPad or do I need to get a sim card for Mexico to make it work? I'm new to the iPad (making a purchase next week

  • Screen Painter and tables

    I have created a Table Control in a Screen Painter and I need help to fill it. I assign to the Table Control a field of an internal table but when I try to activate it i receive the followin error: The field "XXXX-XXXX" is not assigned to a LOOP. "LO

  • Ftp page question

    Question from a relative newbie: On iWeb, you can set up an ftp page for guests where any file put into your public_html folder automatically gets listed on the ftp page. You don't have to set up a link. Just upload any file into your public_html fol