How to by-pass a recorded screen in lsmw, if the field in it is initial?

Hi
I am doing recording for AS02 ttransaction.
In this (AS02) transaction,we have Time dependent tab.And I am  recording all fields in that tab .And then go to other screen by pressing  'Add interval ' button and will update the only field date(ANLZ-ADATU) there for recording purpose.
Here there are two points to be noted.
1.While updating the text file (where we store data to update) ,if ANLZ-ADATU (date) is initial no need to go and update  date i.e no need to go to that screen ,just skip that screen . 
2.If ANLZ-ADATU is not initial ,it will go to other screen and do update process.
Here where should I add the condition to skip the 'update date' screen and process to next row of data  in the  file?

a recording is a static sequence of screens, you cannot influence this in LSMW.
you have to use SAP given import methods if you want the flexibility.
or you do 2 recordings and create 2 LSMW objects , one with and one without processing this screen. then you split your source file accordingly and process  one after the other.

Similar Messages

  • How can I pass multiple condition in where clause with the join table?

    Hi:
    I need to collect several inputs at run time, and query the record according to the input.
    How can I pass multiple conditions in where clause with the join table?
    Thanks in advance for any help.
    Regards,
    TD

    If you are using SQL-Plus or Reports you can use lexical parameters like:
    SELECT * FROM emp &condition;
    When you run the query it will ask for value of condition and you can enter what every you want. Here is a really fun query:
    SELECT &columns FROM &tables &condition;
    But if you are using Forms. Then you have to change the condition by SET_BLOCK_PROPERTY.
    Best of luck!

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • Record screen captures smaller than the screen size of my captivate tutorial

    Hello,
    I'm fairly new to captivate, but what I want to do I thought
    was very simple. I'm using the Record feature to record screen
    captures navigating applications, but when I use them in the
    captivate tutorial I'm creating, I don't want them to show full
    screen. I would like my template frame (with company name, logo,
    and some buttons) to remain on the left side of the screen, and
    show the recording in a box on the right. How can I do this?
    Thanks!
    Michaela

    This thread has been cross posted to two different forum
    categories. Please direct any replies to the post in the category
    where the question was first asked. You may do this by
    clicking
    here.
    Forum posting guidelines may be read by
    clicking
    here if you are curious as to why cross posting is a bad
    thing.

  • How do you insert new records into multiple tables using the same unique primary key?

    I’ve created a PHP site and MySQL server using a free app called XAMPP.  I have successfully created a form in Dreamweaver that will write data to a (name) table in the SQL database.  Here’s my question: How do you write to two (or more) tables in the same database and pass the same primary key to both tables?  In the SQL database, I defined the first field as ID and set it as the primary key with auto update.  So, when you insert a new record, it creates a unique primary key for that record.  In my form, I’m capturing info that needs to be stored to two tables at the same time; a Name table and Address table. Since the Name and Address tables use the ID field as the primary key, I believe I will need to pass the ID value from the Name table to the insert of the Address table to insure they both have the same primary key, right?

    No. You probably need the primary key from one table to be a foreign key in the other tables. In any case, I believe you can use two methods to obtain the auto generated key. First with SQL:
    http://dev.mysql.com/doc/refman/5.0/en/getting-unique-id.html
    And the other using a PHP function:
    http://us3.php.net/mysql_insert_id

  • How do I capture selected record ID when I pressed the Button

    Hi
    I have a repdort with below query.
    select
    empno, ename, job, sal,
    '<input type="button" value="Employee" />' "Select"
    from emp
    This query gives each row a button. When I press a button of a particular row I wanted to capture that row empno field value. How can I do this?
    Regards
    kiran Akkiraju

    If you are trying to make the button do a submit to this page or another page to see employee detail, you are probably better off creating a link on you column in the "Report Attributes" section that will make the column a hyperlink (text or image, you can pick) (see How can i make a linking column in a report it has a link to a how-to from Oracle and some HTML formatting hints to make the link more informative with ALT text)
    Here is one way to capture the selected employee number. Hopwever, it will not submit the form though. You can put the value of empno into another field using javascript. The Pxxx_destination_field is the name of the field on the page you want to push the empno into.
    select
    empno, ename, job, sal,
    '<input type="button" onclick="javascript:html_GetElement(''Pxxx_destination_field'').value = ' || empno || ';" value="Employee" />' "Select"
    from emp

  • LSMW Recording.. Cannot see the fields when going to Field mapping step

    Hi all,
    I am going a test loading of data with the LSMW and I am doing with a recording.  The transaction I have used is related to my company. 
    When I go to the field mappings step I dont see the field for the target structure with which I can map the source fields..
    What may be the problem.  Let me know.. If my question is solved, I will award appropirate points.
    Thanks,
       -Ken

    Hi Consu,
    Please see, when your recording is over.. it is displayed right?
    The moment it is displayed, there on same screen either click on 'DEFAULT ALL " button on application toolbar or go to menu path edit--> default all.when u create recording u can click on this button but when it is assigned to your project , this option become disabled , so crate a new recording and follow above steps.
    Best of luck
    Thanks,
    Billy

  • Possible to SCREEN P2 clips in the FIELD without FCP?

    I'll be in the field shooting Panasonic P2 cards and downloading to a mac laptop. I'm not sure if the producer has fcp on the laptop but I want her to be able to screen the p2 footage after it's saved off the card.
    What's the best way to achieve this? It seems a bit tricky without fcp, and VLC doesn't bring up the p2 clips in a format that's screenable.
    Any ideas?
    Thx.
    Mark

    Sure. Get P2CMS (Free from www.panasonic.com/p2) or P2 Log (not free from www.imagineproducts.com).
    Shane

  • How to import data usin Import manager if one of the field is of type LOOKUP[FLAT].

    Consider a scenario:
    Where I created a Main table named STUDENT and it has 4 fields,
    a) Among which 2 fields are OF DATA TYPE TEXT[50] and
    b) Remaining two are of DATA TYPE LOOKUP[FLAT] and corresponding look up table also created in the repository.
    When I tried to create a file with certain input records and tried to import the values into the Main table using MDM IMPORT Manager, I am getting error at the IMPORT STATUS tab with the action item message: MAP 'FILED NAME OF LOOKUP[FLAT] TABLE' FIELD VALUE(S).
    Do I need to do any special action to import record if the field is of data type LOOKUP[FLAT].
    Please advice.

    Hi,
    Since you need to import value into a field which is referred by a flat look table, you need to map the values of that field to the values maintain in flat look up table.
    You can do the mapping from "Map Fields/Values" Tab.
    You have probably Mapped Source fields with destination fields, but in case of importing values in lookup fields you need to map Source Value with destination value.
    Keep the cursor on the required lookup field in Source field section, below that section you will be able to see Source Value section perform the mapping in that section too and it will resolve your issue.
    Regards,

  • Making field invisible on screen shifts rest of the fields Up..

    Hi All,
    I am facing a problem that when i make one of my screen fields invisible the rest of the fields shifts up and fill up the space.
    Can this be avoided...
    please suggest
    thanks in advance,
    kushagra sharma

    Hi,
    Try to make that field with different block and then make them as invisible. it will solve ur problem
    Thanks
    kishore

  • In TestStand, How do I pass variables to a sequence, other than the standard Input Buffer?

    I have Labview VIs that have arrays as inputs, I want to pass information in that array to the VI. TestStand already has the Input Buffer setup, but how do I create more input buffers, like array input buffers?? I know that the "Parameters" section in the sequence file is for passing info to subsequences, but that does not help me, Thank you in advance!!

    See the TestStand shipping example located in the directory \Examples\AccessingArrays\UsingLabVIEW. This will show you how to pass arrays back and forth from a VI to a sequence variable.
    If you are trying to create a step that handles arrays, then you will need to create a new step type that has an array step property. There is an example on the NI web site of a step type that handles arrays. Go to www.ni.com/support and search the Examples Program database using the search string of:
    +"step type" +waveform +teststand

  • How I can pass from an iView SAP BW 3x the personnel number to a report BI

    Good Afternoon.
    I need pass as parameter the personnel number of the user that entry in the portal to a report BI.
    I did the following steps for created the iview in the portal:
    [Steps for create the iview|http://www.freeimagehosting.net/uploads/cc5306da6f.jpg]
    In the properties of the iview of have the following url:
    BEx Web Application Query String = http://10.4.33.133:8000/SAP/BW/BEX?&VARID=&VAR_ID_2=ZVEMPLEADO++++++++++++++++++++0004&VAR_VALUE_LOW_EXT_2=00000058&INFOCUBE=ZPA_C01&QUERY=ZPA_C01_Q006
    In this moment i have the value for the personnel number fixed with 00000058, But i want know What is name of the variable that i must use for not put a value fixed and this can work for any employee.
    How can pass this parameter?
    I test with <PERNR>
    BEx Web Application Query String = http://10.4.33.133:8000/SAP/BW/BEX?&VARID=&VAR_ID_2=ZVEMPLEADO++++++++++++++++++++0004&VAR_VALUE_LOW_EXT_2=<PERNR>&INFOCUBE=ZPA_C01&QUERY=ZPA_C01_Q006
    But this not work .
    Thanks in advance for your help
    Best Regards

    Good Night.
    Anyone can help me with this issue , please
    Thank in advance for your help-
    Regards

  • How can i used pai in screen 1000 to change the select-options field?

    hi,all.
    I want used pai to change the select-options field,but it can't works.
    the mainly code is:
    REPORT  ZTEST99.
    TABLES :MARA,MAKT,MARC.
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TITLE0 .
    select-options:s_matnr for mara-matnr,
                   s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF BLOCK B0.
    parameters:p_flag as checkbox.
    at selection-screen OUTPUT.
       LOOP AT SCREEN.
       IF P_FLAG = 'X' .
       IF screen-group1 = 'ID1'.
             screen-input = '0'.
        ELSE.
          screen-input = '1'.
        ENDIF.
        MODIFY SCREEN.
    ENDIF.
        ENDLOOP.
    START-OF-SELECTION.
    CALL SCREEN 1000.
    when i click p_flag,then i want to change s_werks from OBLIGATORY to no OBLIGATORY.
    how can i realized?
    Thanks for all.
    Sun

    Hi ,
    change your code like this.
    Change in your code:
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : s_matnr for mara-matnr,
    s_werks for marc-werks MODIF ID ID1.
    SELECTION-SCREEN END OF SCREEN 100 .
    At selection-screen.
    if sy-dynnr = '100'.
    IF P_FLAG = 'X' .
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = '0'.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    else.
    LOOP AT SCREEN.
    IF screen-group1 = 'ID1'.
    screen-required = 1.
    ENDIF.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    my code :
    REPORT  Z50871_SELECTOPS_DYNAMIC.
    PARAMETERS : CH_EBELN AS CHECKBOX,
                 CH_VBELN AS CHECKBOX.
    DATA: V_EBELN TYPE EKKO-EBELN,
          V_VBELN TYPE VBAK-VBELN.
    SELECTION-SCREEN BEGIN OF SCREEN 100.
    SELECT-OPTIONS : EBELN FOR V_EBELN MODIF ID G1,
                     VBELN FOR V_VBELN MODIF ID G2.
    SELECTION-SCREEN END OF SCREEN 100 .
    AT SELECTION-SCREEN OUTPUT.
      IF SY-DYNNR = 100.
        IF CH_EBELN = 'X' AND
           CH_VBELN = ''.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_VBELN = 'X' AND
           CH_EBELN = '' .
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G2'.
              SCREEN-ACTIVE = '1'.
            ELSE.
              SCREEN-ACTIVE = '0'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ELSEIF CH_EBELN = 'X' AND CH_VBELN = 'X'.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'G1'
               OR SCREEN-GROUP1 EQ 'G2' .
              SCREEN-ACTIVE = '1'.
            ENDIF.
            MODIFY SCREEN.
          ENDLOOP.
        ENDIF.
      ENDIF.
    AT SELECTION-SCREEN.
    IF SY-DYNNR = 1000.
      IF CH_EBELN = 'X' OR CH_VBELN = 'X'.
        CALL SELECTION-SCREEN 100.
      ELSE.
        MESSAGE I000(Z50871MSG) WITH 'Please select atleast one checkbox'.
      ENDIF.
    ENDIF.
    regards
    Sandeep Reddy

  • How to store records that are entered in the fields?

    Hi friends can any one help me how to store the records that are given as input.
    Say if Empid - 123456, this 123456 has to be stored in table it will be stored but can any one help me with procedure?
    Thanks

    Hi,
    If the records are from an input file, you will have to first create a structure for the Employee id ....
    then, read the input file data into the internal table you have defined in the earlier step...
    then, loop at the records one after the other and update the records directly into the table....( typically this is a direct update of data and will be done when you were dealing with the data relating to a "Z" table )
    please follow the procedure and let me know how it worked for you or if you are still having issues on this.
    Thanks,
    Vishnu.

  • How do i keep OS x screens from minimizing to the side in LION 10.7.4?

    Somethings take some time to get use to , I fear I may not survice this if I cant turn it off.
    When I am working on something and the mouse does soething like get too close to the edge the enitre screen retreats and minimizes...
    It is hard enough to concentrate retasking satelites and drone attacks ( just kiddn) only to have the whole screen zip out of view.
    I can just reach up and hit the miniscule YELLOW circle to minimize right?!!!
    How can I turn this feature off?
    thanks in advance

    Hi..
    Check System Preferences > Mission Control > Hot Corners

Maybe you are looking for

  • The attempt to burn a disc failed, unknown error (261). Can't back up to CD

    The attempt to burn a disc failed, unknown error (261). I get this message every time I try to back up my music from itunes on to a CD. It doesn't matter if I try to back up all music or only music purchased from itunes. So far I have not been able t

  • Invoice verification only after quality acceptance

    The GR stage to Invoice verfication as detailed below: 1.  Once material comes in, the store will check the documents and check the PO and prepare GRN. 2.  Then, Quality will check the quantity and quality of the item and make necessary QM entry for

  • Creating Directory Errors

    I get two error messages when I try to install 7.1 After itunes installs the update and it is going through it's last step (looks almost complete), I get the following error: "An error occurred while attempting to create the directory: C:\WINDOWS\Ins

  • Kodak Gallery / Iphoto

    Ok all. VERY new to the MAC world. 2 days old to be exact. I use Kodak Gallery to share my photos with my family. I downloaded it to my computer, twice apparently, because when I go to export my photos to Kodak Gallery, it is in there twice. Does any

  • Plogi ORga

    HI gurus, when we are doing integration between OM and PA. from the experts of this forum i came to know that we have to activate plogi orga with X . then what is this reports used for? RHINTE00,RHINTE10,RHINTE20,RHINTE30 .(already we are doing integ