How to run a particular transaction called

I want to run this transaction to post a closed period's material stock into PCA. I am using origin object 19 (for material stock).  Would really like to know from where I can get the material document numbers to key into this t-code. Any help would be appreicated
Edited by: Rajesh Manohar on May 7, 2010 5:26 PM

Say, in the attached program, when the user selects Autoset, it inserts corresponding state (Autoset) and now if you want this state to run again and again, probbbly you can again insert Autoset state while executing Autoset state... ohhh its confusing... check the picture below (A picture is worth a thousand words):
1. Based on user selection, insert Autoset state.
2. Re-insert Autoset state again and again while executing Autoset state.
3. Now to come out of this loop, based on appropriate event generation, insert any other state AT FRONT (equivalent to Enqueue Element At Opposite End).
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.

Similar Messages

  • How to Run a Custom Transaction in Back Ground after give the Input?

    Hi,
        I have problem that how to execute a Custom Transaction in Back Ground after end user will save a variant for input. In my Transaction there is no menu to save a Variant & to Execute in Back Ground.
    Please suggest me how to do this in my Custom Transaction.

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

  • How to run a particular case continuously in event based state machine architecture.

    I am making a program using event based state machine architecture, it is running as expected whenever i am generating an event, case structure corresponding to that event executes.
    we are taking some measurements from oscilloscope e.g. i am having one boolean button for rise time whenever i am pressing that that button it displays the value of rise time, it displays only once( since i have generated an event on that boolean button so it executes only once and displays value for one time and then comeback to timeout state) but in our program what we want, we want it to update value continously once that button is pressed.
    Now for a time being i have placed while loop on the case corresponding to rise time but this is not the right approach.
    since i am using state machine architecture( event based ), i am not getting how to run particular case continuously ,or if there is any other better architecture that i can use to implement the same application.
    Attached below is the program.
    Attachments:
    OScilloscope .zip ‏108 KB

    Say, in the attached program, when the user selects Autoset, it inserts corresponding state (Autoset) and now if you want this state to run again and again, probbbly you can again insert Autoset state while executing Autoset state... ohhh its confusing... check the picture below (A picture is worth a thousand words):
    1. Based on user selection, insert Autoset state.
    2. Re-insert Autoset state again and again while executing Autoset state.
    3. Now to come out of this loop, based on appropriate event generation, insert any other state AT FRONT (equivalent to Enqueue Element At Opposite End).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to run a particular test from a set of CodedUI tests?

    Hi,
    I have designed custom framework from which we can decide which test case needs to be run or not. When I mark a test case as Yes (which means this testcase needs to be execute), how can i execute only those test case alone from Visual Studio?
    Here, I have created the test scripts for all the above test cases in a single CodedUI test file and i need to execute the TC_0003 as i marked the Run as Yes only for TC_003 in the framework. Can you please help me to do the same?
    Thanks  in Advance
    Selvaraj C
    Selvaraj

    Hi Selvaraj,
    >> I have designed custom framework from which we can decide which test case needs to be run or not. When I mark a test case as Yes (which means this testcase needs to be execute), how can i execute only those test case alone from Visual Studio?
    Do you mean you want to execute the special test? As far as I know, Ruby provides a framework in its standard library for setting up, organizing, and running test called Test::Unit. Test::Unit provides the function that running single tests. The link below
    shows the details:
    # Ruby Programming/Unit testing
    http://en.wikibooks.org/wiki/Ruby_Programming/Unit_testing
    I am not sure what do you mean by “custom framework”, do you want to design custom framework? In my option, it seems to be much complex. The steps below might be useful to you:
    1. Store the tests in a csv file, and query the test which need to execute from the csv file, for this, you could turn to the link:
    https://social.msdn.microsoft.com/Forums/en-US/9664862a-4302-4754-a915-2beceff364d5/how-to-stop-sequential-execution-of-data-driven-method-in-coded-ui
    2. Get the test name, and execute the test from the command-line. The link below shows the details about the command-line:
    # MSTest.exe Command-Line Options
    https://msdn.microsoft.com/en-us/library/ms182489(VS.100).aspx
    3. Write a script to run the command-line
    If I misunderstood you, please feel free to let me know.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • How to run a ProC* report called in forms6i on the WEB

    Hi all,
    We have few Proc* reports which are called in our previous version of oracle forms4.5. But we have now moved to forms6i and we want to run same ProC* reports on the web using forms6i.
    I don't have a clue how to do it..
    Have anyone done something similar to my requirement or is there any reference manual to look in.
    Thanks..
    regds
    Lasily THomas

    Thanks frank for the reply..
    We use the follwing code to call Pro*C report in forms4.5
    PROCEDURE RUN_HOST IS
    cursor DOCKET_CUR is
    select NVL(DELIVERY_DOCKET_TYPE,'A')
    from CLIENT
    where CODE = :PARAMS.CLIENT_CODE;
    p_report_id wms_report_log.report_id%TYPE;
    p_program wms_report_log.program%TYPE;
    p_select_args wms_report_log.select_args%TYPE;
    ret boolean;
    delivery_docket_type varchar2(1);
    BEGIN
    check_order;
    open DOCKET_CUR ;
    fetch DOCKET_CUR into delivery_docket_type;
    if DOCKET_CUR%notfound then
    delivery_docket_type := 'A';
    end if;
    close DOCKET_CUR;
    p_program := 'mr803';
    p_select_args :=
    'CLIENT="' || :params.client_code || '" ' ||
    'ORDER_NO="' || :params.order_no || '" ' ||
    'DOCKET_TYPE="' || delivery_docket_type || '" ' ||
    'PRINT_SUB="' || nvl(:params.print_sub_orders,'N') || '" ' ||
    'REPRINT="' || 'Y' || '"';
    ret := wms_report_init(p_program, p_select_args,
    :params.printer_name, :params.background_mode,
    p_report_id);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    -- if no report_id was set then user must of cancelled
    if p_report_id is null then
    return;
    end if;
    :system.message_level := 10;
    commit;
    :system.message_level := 0;
    ret := wms_run_report('../proc/'||p_program, p_report_id, :params.background_mode);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    END;
    Frank, can u please briefly explain what do u mean by
    physical
    directory for Web access and use Web.show_document()
    in Forms on the Web to download the Reports output to
    the client.Im very new to forms6i..
    regds
    Lasily THomas

  • Need help - how to run this particular method in the main method?

    Hi all,
    I have a problem with methods that involves objects such as:
    public static Animal get(String choice) { ... } How do we return the "Animal" type object? I understand codes that return an int or a String but when it comes to objects, I'm totally lost.
    For example this code:
    import java.util.Scanner;
    interface Animal {
        void soundOff();
    class Elephant implements Animal {
        public void soundOff() {
            System.out.println("Trumpet");
    class Lion implements Animal {
        public void soundOff() {
            System.out.println("Roar");
    class TestAnimal {
        public static void main(String[] args) {
            TestAnimal ta = new TestAnimal();
            ta.get(); // error
            // doing Animal a = new Animal() is horrible... :(                   
        public static Animal get(String choice) {
            Scanner myScanner = new Scanner(System.in);
            choice = myScanner.nextLine();
            if (choice.equalsIgnoreCase("meat eater")) {
                return new Lion();
            } else {
                return new Elephant();
    }Out of desperation, I tried "Animal a = new Animal() ", and it was disastrous because an interface cannot be instantiated. :-S And I have no idea what else to put in my main method to get the code running. Need some help please.
    Thank you.

    Hi paulcw,
    Thank you. I've modified my code but it still doesn't print "roar" or "trumpet". When it returns a Lion or an Elephant, wouldn't the soundOff() method get printed too?
    refactored:
    import java.util.Scanner;
    interface Animal {
        void soundOff();
    class Elephant implements Animal {
        public void soundOff() {
            System.out.println("Trumpet");
    class Lion implements Animal {
        public void soundOff() {
            System.out.println("Roar");
    class TestAnimal {
        public static void main(String[] args) {
            Animal a = get();
        public static Animal get() {
            Scanner myScanner = new Scanner(System.in);
            System.out.println("Meat eater or not?");
            String choice = myScanner.nextLine();
            if (choice.equalsIgnoreCase("meat eater")) {
                return new Lion();
            } else {
                return new Elephant();
    }The soundOff() method should override the soundOff(); method in the interface, right? So I'm thinking, it should print either "roar" or "trumpet" but it doesn't. hmm..

  • How to display a particular transaction over portal as per its id

    hi
    we have a requirement like this...
    we have already developed some 200 iviews and the corrosponding pages...
    now we want to develope an application either in web dynpro or pdk that we will upload over portal. that application will be having an inputfield for entering transaction number and a search button.
    on the click of button our application must be able to search and display the corrosponding transactional iview already developed
    plz guide on how this is possible

    Hi,
    I don't think message input text allows to set URI property and it is available with MessageStyledText.
    So if you want to achieve your requirement then you can take two items one message text input and other one as messageStylesText then if it is readonlymode then hide input text and render MessageStyled text and viceversa.
    In this case you will be able to display links in case of Readonly text.
    Regards,
    Reetesh Sharma

  • How to run a particular JRE at run time

    Hi All,
    I have two different versions of Java installed in my system (JDK 1.5 & JDK 1.6). The path in environment variables is setted to jdk1.5. But after installation of jdk1.6 it is showing as jdk1.6. I want to test my code for these two different versions of java.
    Can anyone please help me how to set the java version at runtime to different JRE's.
    Thanks in Advance

    Explicitly call the absolute path of the JRE you want to use. Eg, instead of just using
    java MyClassuse
    C:\Program Files\Java\jre1.6\bin\java MyClass

  • How to run a particular file in aparticular program

    hi
    i m developing a desktop application in which i need to open another program like notepad which i can do by calling the exec function
    but i need to open a special file in the notepad directly when it starts
    is there any way to do so
    thanks

    Runtime.getRuntime().exec("notepad myfile");

  • How to cancel a RFC transaction called thru JCO

    Hi,
    One of my customer developed one application which access RFC module through JCO connection.
    The development tool is 'MiPlatform' which is local solution in Korea.
    Normally the application works fine.
    But in case the back-end processing takes time and the user want to cancel the processing, they did not make it properly and there come a problem.
    So can anybody guide them how to do or which document they need to see to cancel backend processing properly which invoked through JCO?
    Or what information do I need to provide additionally?

    hi
    good
    go through this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    thanks
    mrutyun^

  • How to find out the transaction size

    Hai
    Is it possible ,how to find out the size of transaction ?
    Any one idea about this should be appreciated
    Regards
    mohan

    Hai
    Is it possible ,how to find out the size of transaction ?
    Any one idea about this should be appreciated
    Regards
    mohan create a small rollback segment to start with, with small initial and next extent sizes and maxextents unlimited.
    assign this rollback segment to the test session and run the particular transaction.
    query the view v$rollstat to see how much the rollback segment has extended.
    this is roughly your transaction size. this may not accurate but its give you
    a general idea of how much data is generated.

  • How to run s60 synbian application in 6300 ?

    how to run an application already runing automatically in nokia 6600 on nokia 6300, when transfered through blutooth or the memory card the particular application does not runs in nokia 6300
    how to run that particular application in nokia 6300..?

    11-Oct-200702:15 AM
    kamalkkl2002 wrote:
    how to run an application already runing automatically in nokia 6600 on nokia 6300, when transfered through blutooth or the memory card the particular application does not runs in nokia 6300
    how to run that particular application in nokia 6300..?
    No way.
    Try to google to see if you found that kind of java applications for 6300.

  • Frequency of triggerring a particular transaction code

    How can I determine that how many time a particular transaction code has been triggered within a particular time period?
    Regards,
    Subhasish

    Hi,
    Try using TCode STAD.
    Thanks,
    Sriram Ponna.

  • How to find out particular work item is trigger by particular transaction

    Hi,
    can any one tell how to find out particular work item is trigger by particular transaction. in swfrevtlog we ill get custom obj type and also super business obj type,but i need to identify this work item id is triggered by this transaction. can any one help,
    Thanks in advance

    Hi,
    Sorry, but I don't believe that's possible. Even if you can identify the program, there could be multiple transactions that executed it.
    The only possible way, I think, would be to add an enhancement / badi which uses the callstack to determine the calling transaction at the time he event is raised (and then stores it somewhere).
    But that's not very elegant.
    Why do you need to know the triggering transaction? To influence the workflow? If so, another approach might be this:  pass the transaction code as an additional parameter to the workflow event & then pass that to the workflow.
    cheers
    Paul

  • Run in test mode call transaction

    I have written a bdc program using call transaction method. I am giving the option in the
    selection screen like run in test mode.so i want to display the error mess
    without actually updating the tables,
    if there is a way to do this
    please tell me how to run in test mode.
    thank you so much for all the replies.

    have written a bdc program using call transaction method. I am giving the option in the
    selection screen like run in test mode.so i want to display the error mess
    without actually updating the tables,
    if there is a way to do this
    please tell me how to run in test mode.
    thank you so much for all the replies.
    Hi
    it is not possible, once u run call tranation the data is updated in table.
    for ur requirement, put the option in test mode in selection screen, in this mode flat file data check with master data (flat file validations
    ) , if any errors it disaly errors in a report.
    i provide some code, this is for fb60 check this code
          FORM validate                                                 *
    FORM validate.
      delete t_record index 1.
      loop at t_record.
        delete t_record where accnt = ' '.
        translate t_record-bukrs to upper case.
        translate t_record-accnt to upper case.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        move-corresponding t_record to n_record.
        append n_record.
        clear n_record.
      endloop.
      loop at t_record.
        clear flag.
        delete t_record where accnt = ' '.
    vendor  and company code checking.
        translate t_record-accnt to upper case.
        translate t_record-bukrs to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        select single * from lfb1 where bukrs = t_record-bukrs
                                      and  lifnr = t_record-accnt.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
          error_record-text1 = 'The Vendor not Under this company Code'.
        endif.
    With holding liability.
        select single * from lfbw where bukrs = t_record-bukrs
                                        and  lifnr = t_record-accnt
                                      and  WT_SUBJCT = 'X'.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    error_record-text2 = 'The Vendor doesnt have Withholding Tax Liability'.
        endif.
    G/L account check with company code*
        select single * from skb1 where bukrs = t_record-bukrs
                                      and saknr = t_record-hkont.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
        error_record-text3 = 'The G/L acc not under the given company code'.
        endif.
    *cost centre checking
    this FM for leading zeros
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-kostl
             IMPORTING
                  OUTPUT = v_kostl.
    select single kostl from csks into v_kostl where bukrs = t_record-bukrs
                                             and kostl = v_kostl.
        if sy-subrc <> 0.
          flag = 'X'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    error_record-text4 = 'The costcentre not under the given company code'.
        endif.
    it check the invioce alredy posted or not.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
    select single belnr into v_belnr1 from bsip where bukrs = t_record-bukrs
                                              and   lifnr  = t_record-accnt
                                              and   waers  = t_record-waers
                                                  and   bldat  = p_invdat
                                              and   xblnr  = t_record-xblnr.
        if sy-subrc = 0.
          day   =  p_invdat+6(2).
          month =  p_invdat+4(2).
          year  =  p_invdat+0(4).
          concatenate day month year into date1 SEPARATED BY '.'.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
    concatenate 'This document under number' v_belnr1 'already posted on '
          date1 into fld2  separated by space.
          error_record-text5 = fld2.
          flag = 'X'.
        endif.
    *zero balance
        on change of t_record-accnt or t_record-xblnr.
          amount = 0.
          totalamount = 0.
          amount = t_record-wrbtr1.
          loop at n_record where bukrs = t_record-bukrs
                               and  accnt = t_record-accnt
                               and xblnr = t_record-xblnr
                               and wrbtr1 = t_record-wrbtr1
                               and waers = t_record-waers.
            totalamount = totalamount  + n_record-wrbtr2.
          endloop.
        endon.
        if amount ne totalamount.
          error_record-rowno = sy-tabix + 1.
          move-corresponding t_record to error_record.
          error_record-text6 = 'Posting only possible with zero balance'.
          flag = 'X'.
        endif.
        if flag = 'X'.
          error_record-flag = 'X'.
          append error_record.
        endif.
        if flag <> 'X'.
          move-corresponding t_record to f_record.
          append f_record.
        endif.
        clear f_record.
        clear error_record.
      endloop.
    endform.
    *&  Form  Table Control
    FORM head_item .
      clear t_record.
      LOOP AT t_record.
        delete t_record where accnt = ' '.
        translate t_record-bukrs to upper case.
        translate t_record-accnt to upper case.
        translate t_record-waers to upper case.
        translate t_record-xblnr to upper case.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
                  INPUT  = t_record-accnt
             IMPORTING
                  OUTPUT = t_record-accnt.
        on change of t_record-accnt or t_record-xblnr or t_record-wrbtr1.
          MOVE-CORRESPONDING t_record TO t_head.
          APPEND t_head.
        endon.
        MOVE-CORRESPONDING t_record TO t_item.
        APPEND t_item.
        clear : t_item,t_head.
      ENDLOOP.
    ENDFORM.
    form disperrortestrun.
      loop at error_record.
        format color 2 intensified on.
        set left scroll-boundary column 70.
        write :   /'|',
                 (6) error_record-rowno,         '|' no-gap,
                 (14) error_record-bukrs,        '|' no-gap,
                 (12) error_record-accnt,        '|' no-gap,
                 (16) error_record-xblnr,        '|' no-gap,
                 (16) error_record-wrbtr1,       '|' no-gap,
                 (8)  error_record-waers,        '|' no-gap,
                 (13) error_record-secco,        '|' no-gap,
                 (20) error_record-sgtxt,        '|' no-gap,
                 (14) error_record-hkont,        '|' no-gap,
                 (15) error_record-wrbtr2,       '|' no-gap,
                 (10) error_record-mwskz,        '|' no-gap,
                 (20) error_record-gsber,        '|' no-gap,
                 (12) error_record-kostl,        '|' no-gap,
                 (5)  error_record-flag,         '|' no-gap,
                 (50) error_record-text1,        '|' no-gap,
                 (53) error_record-text2,        '|' no-gap,
                 (50) error_record-text3,        '|' no-gap,
                 (50) error_record-text4,        '|' no-gap,
                 (67) error_record-text5,        '|' no-gap,
                 (45) error_record-text6,        '|'  .
      endloop.
      uline at /1(538).
      format color off.
    endform.
    Report Header for Test Run                                          *
    form header.
      set left scroll-boundary column 70.
      format color 5 .
      write: 'REPORT :', sy-repid,
    38 'ERROR RECORDS DETAILS OF TEST RUN OF FB60(VENDOR INVIOCE POSTING)'
      ,123 'DATE :', sy-datum .
      format color off.
      skip 3.
      format color 1 intensified on.
      uline at 1(538).
      write : /'|',
              (6) 'Row No',                             '|' no-gap,
             (14) 'Company Code',                       '|' no-gap,
             (12) 'Vendor No',                          '|' no-gap,
             (16) 'Reference',                          '|' no-gap,
             (16) 'Invioce Amount',                     '|' no-gap,
             (8) 'Currency',                            '|' no-gap,
             (13) 'Section Code',                       '|' no-gap,
             (20) 'text',                               '|' no-gap,
             (14) 'G/L Account',                        '|' no-gap,
             (15) 'Item Amount',                        '|' no-gap,
             (10) 'Tax Code',                           '|' no-gap,
             (20) 'Business Area',                      '|' no-gap,
             (12) 'Cost Centre',                        '|' no-gap,
             (5)  'Error record Status',                '|' no-gap,
             (50) 'Company Code/Vendor',                '|' no-gap,
             (53) 'Vendor/With holding tax Liability',  '|' no-gap,
             (50) 'Company Code/ G/L Account',          '|' no-gap,
             (50) 'Company Code / Cost Centre',         '|' no-gap,
             (67) 'Invioce Status',                     '|' no-gap,
             (45) 'Invalid Balance',
            '|'.
      uline at /1(538).
      format color off.
    endform.
    thanks
    sitaram.

Maybe you are looking for

  • Import of icas file to Thunderbird/ Calendar fails, no error message or anything; any ideas? (Win 8.1)

    File originally exported from Microsoft Works Calendar. Is an ics format file which Thunderbird Calendar uses. There is an 'Events and Tasks/ Import' option in the toolbar but using this and selecting the ics file produces no discernable result; not

  • MACBOOK PRO - NO SIGNAL OUTPUT TO EXTERNAL DISPLAYS

    When connecting any external monitor I have an intermittent issue where it does send the signal to the external display - yet it shows the display's preferences in the Control Panel. Had an embarrassing moment at a presentation with an LCD projector.

  • Scanning Of Exs Sampler Instruments

    i don't remember if this function is still in logic but it would scan all my ext hardrives for samples for sampler instruments so it would then be able to find them faster. right now its showing i have multiple samples of certan instruments and want

  • Error on Network alert

    Hi, When i navigate through /sapapo/pov1 for the product view and click the network alert each time i click on the network alert icon the alert message gets increment, but through /sapapo/rrp3 it is not so. What could be the reason for network alert

  • How to install Numbers for Mac (iWork 9.0.3)

    On my iMac running under Mavericks, i want to install the previous version of Numbers. The current version which came with the computer, is 3.0.1. I suppose the previous version is Numbers for Mac 2.0. I cannot find this version for download. I do ow