Feature LGMST and Batch input failure

Hi -
My bdc recording is not taking into a account HR feature LGMST.  The  feature LGMST is automatically recalculating and replacing the exempt wagetype with a non-exempt wagetype when exempt employees move from an exempt position to a non-exempt position. When I use PA30 to copy the old infotype 8 record I get the normal expected LGMST behavour, but when I do a BDC recording it is not taking into account the Feature. What am I doing wrong?
  l_opt_bdc-dismode = 'N'.
  l_opt_bdc-UPDMODE = 'S'.
    perform bdc_dynpro      using 'SAPMP50A' '1000'.
    perform bdc_field       using 'RP50G-PERNR'
                                  '15545'.
    perform bdc_field       using 'RP50G-CHOIC'
                                  '0008'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=COP'.
    perform bdc_dynpro      using 'MP000800' '2010'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'UPD'.
    perform bdc_field       using 'P0008-BEGDA'
                                  '12/01/2006'.
    perform bdc_field       using 'P0008-ENDDA'
                                  '12/31/9999'.
    perform bdc_field       using 'P0008-WAERS'
                                  'USD'.
    CALL TRANSACTION 'PA30'  USING bdcdata
                            OPTIONS FROM l_opt_bdc
                            MESSAGES INTO MESSTAB.

Yep, it ignores the feature.
Safe thing to do is to incorporate all wage types in the recording and not to depend on LGMST - behaviour.
Wilfred.

Similar Messages

  • Difference between batch input method and batch input recording in LSMW?

    hi,
    plz tell me the difference between batch input method and batch input recording in LSMW?
    thanks & regards
    Ruban

    Hi Ruban,
               The main difference between the two is in lsmw we can view the code status at any time just by coming to prvious steps, but whereas in batch input method unless the recording is finished we cant view the code.
    second diff is tht we need to do lot of coding in batch inptu whereas here in lsmw we need not do much coding and mapping to data.
    third diff is that batch input is both inbound and outbound where as lsmw is only inbound.
    hope u got the differences.....
    Regards,
    sana M...

  • Messages, function modules and Batch Input

    Hi,
    I need to modify some values on the BP transaction with a batch input and I encapsulated it on a function module, because I need to call this FM from a Web Dynpro ABAP.
    The problem is that some success messages are raising from the batch input, even if I set a message table to store them on the call of the batch input.
    DATA: bdcdata    TYPE STANDARD TABLE OF bdcdata,
              wa_bdcdata TYPE bdcdata,
              messtab    TYPE STANDARD TABLE OF bdcmsgcoll.
      DATA: v_message   TYPE string,
                wa_messtab  TYPE  bdcmsgcoll,
                v_mode      TYPE c VALUE 'N'.
    " some code here....
      CALL TRANSACTION 'BP' USING bdcdata MESSAGES INTO messtab
                                                   MODE v_mode
                                                   UPDATE 'S'.
    How can I prevent these messages? Thanks in advance.
    Regards,
    Jordi

    Yes,
    there are some BAPIs to work with BP, but I could not find any that meets my requirements. I need to do two actions:
    1 - complete the "Internet user" tab
    2 - set the "central lock" flag on the status tab
    If you have a BAPI or FM to make these two actions, please let me know. I spent two days looking for them and finally I've decided to use the batch inputs (I hate them).
    Regards,
    Jordi

  • BDT - Business Data Toolset and batch input

    hi
    i want to creat batch input for transaction REBDBE .
    i use transaction shdb in order to creat batch input - i record my moved and the despite the messege that this table record was updated i go to the table using se11 and i dont see that it was NOT updated ( i am doing the same actions but without rcording and using shdb and table record was updated )
    does anyone has an idea what can cause that???
    thanks

    Does the problem happen when you
    1) do the (initial and only) record with SHDB,
    2) or is it when you execute the program generated by SHDB?
    For option 1), I think it can't happen, or there is a bug in the sap standard REBDBE (one possibility is that the standard tests for the SHDB mode and works differently from normal use, and there would be a bug in that case). In that case, ask sap support.
    If it's with option 2, did you try to do a screen by screen execution? (execution mode "A")
    You may also try to change another flag in the launch screen, there is a flag which by default stops the call transaction after the first commit work, sometimes it is a bad option. There is also another flag which allows to make the system believe it should work as in normal use instead of "batch input" mode.
    Other possibilities :
    - check that you don't have custom code in the standard programs
    - check that you have removed all breakpoints when you execute, it may disturb the screen processing when it displays debugger screen ; it may only happen if you use the "old debugger"
    Note that business data toolset usually proposes a direct input mode (see sap documentation), but that's far more complex to use than batch input.

  • Subcreen and batch input

    hi .
    I try to use a batch input in order to execute transaction SE30 in a sub screen of my specific program , i have confusion to input my perform batch_input in my pai , because the sreen result appear in a different screen ( not in the subcreen specified )  can i have some advices to correct the problem .
    with my best reagards .

    Hi,
    the requirement is really strange and your logic is even stranger. You have to debug programme in SE30 for thinking about a solution. When you press button "evaluate" programme is calling another programme (SAPRSAT0), which is responsible for displaying the graphics. SE30 is passing a URL to the programme where the date resides, like /usr/sap/RD1/DVEBMGS08/data/AT080000, which you find in AL11.
    Perhaps you could read that information, call the second programme and include it in your dynpro.

  • How to find out batch job failure and taking action:

    Normally We will monitor the batch jobs  through transaction code sm37 for job monitoring. In SM37 we will give a batch job name date and time  as  input. In the first step we will check the batch job for the reason failure or check the spool request for the batch job for failures an help in analyzing the error
    I understand from the my experience is that the batch may fail due to below reasons.
    1.,Data issues :             ex: Invalid character in quantity (Meins) field  >>>> We will correct the corresponding document with correct value or we will manually run or request the team to rerun the batch job by excluding  the problematic documents from the batch job variant  so that it may process other documents.
    2.Configuration issues : Materials XXXX is not extended for Plant >>>> we will contact the material master team or business to correct the data or we will raise sub contract call with support team to correct he data. Once the data been corrected and will request the team to rerun the batch job.
    3.Performance issues : Volume of the data being processed  by the batch job ,network problems.>>>Normally these kind of issues we will encounter during the month end process as there will lot of accounting transactions or documents being posted business hence it may cause the batch job failure as there is enough memory to complete the program or select queries in the program will timeout because of volume of the records.
    4.Network issues. : Temporary connectivity issues in other partner systems :Outage in other partner systems like APO or other system like GTS  will cause the batch job failure as Batch job not in position to connect other system to get the inforamtion and proceed for further steps.Nornmally we will check RFC destination status by running a custom program  weather connectivity between system are in progress or not. then intimate other partner system  for the further actions, Once the partner system comes online then we will intimate the team to restart or manually submit batch job.
    Some times we will create a manual job by transaction code SM36.

    I'm not sure what the question is among all that but if you want to check on jobs that are viewable via SM37 and started via SM36. The tables are TBTCP -Background Job Step Overview and TBTCO - Job Status Overview Table.
    You can use the following FM to get job details:
    GET_JOB_RUNTIME_INFO - Reading Background Job Runtime Data

  • Regarding user and role batch input

    hi freinds:
        Our Portl project are the final stage, we are going to batch input roles and Users,could
    you please tell me the professional way to do it? I searched on google and SDN, it seems UME
    is the solution, I am not sure about this, to be cautious, I have to put a thrad here, 
    could you please give provide a solution and its detailed steps?
    thank you very much

    Hi,
    You can use import feature in useradmin to create mulitple users along with the roles.
    Create an excel with the following headers
    uid
    last_name
    country
    role
    and fill in with the values you need.
    Open your microsoft word Go to Tools-->Letters and mailings --> Mail merge.
    Choose the following .
    Letters --> Next >Next>Use an existing list>Next>Choose the excel you created > Choose the sheet> ok -->
    Next(Write your letter)--> Type uid= > then on the right hand side click on 'More items'> Database fields> choose 'uid'> Click on 'Insert'--> Click on close.
    In the same way do for last_name,country,role. It should be like this.
    uid = «uid»
    last_name=«last_name»
    country=«country»
    role=«role»
    Click on 'Next'> Click on Next(Complete the merge)> click on 'Edit Individual letters'> Choose 'All'>One record will be created in one page. Delete the spaces and copy the text.
    go to http://:/useradmin
    login and click on 'Import'
    Paste your text over there.Click on 'upload'.
    Then you can create users.
    Export one user to see how to maintain the data in the excel.
    Hope this helps.
    Best Wishes'
    Idhaya R

  • Batch Input for VA31 and adding new partner

    Dear All,
    I have a already well running program, which is creating new scheduling agreement via transaction VA31 in batch input mode.
    Now, there is a new requirement to add one partner in the header. I made a recording and saw that there is a subcreen SAPLV09C. I extended the program, but doesn't matter I'm doing I always get the message:
    No batch input data for screen SAPMV45A 4002
    Does anyone has experience with adding new partners in the header and can explain me how to make the right development.
    Thanks in advance.
    Klaus

    Hi Klaus,
    If you get the error No Batch input data for screen proceed as follows:
    1. In the Installation Assistant mark the foreground checkbox (in the column FG of the Installation Assistant project view) of this specific eCATT.
    2. Activate the project again.
    3. Run the eCATT in foreground
    seee this links
    ftp://ftp.software.ibm.com/software/websphere/integration/wbiadapters/library/doc/pdf/mysap4/mysap4_60.pdf
    www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm - 9k -
    thanks
    karthik
    reward me if usefull

  • At the time of Batch input session system asking business place and profit

    Hi,
    After doing the transaction f.26 interest calculation on customers (security depost) then we are running the batch input session there system asking business place and profit center there we are giving manually, my client having thousands of customers so they wants update these automatically.
    is there any option for automatically updation for business place and profit center.
    Kindly give me the solution.
    Thanks &Reg
    obi

    There will be two options.
    1. Customize default profit centre for GL
    2. Write substitution for profit centre

  • 'S' message in BDC and message of type 'A' in batch input session

    We have to upload data for ABZON transaction of assets. When we use LSMW with recording method and try to upload say 3 records. All teh records are updated successfully but the batch input session log says last two records with a message of type 'A' "leave transaction is not possible in batch input"
    But when we upload the same data with BDC program with call transaction then teh log shows same message with type 'S'.
    what could be the reason for this?
    Though data gets uploaded successfully the 'A' message is being displayed in LSMW batch input log.
    if anyone has encountered a similar problem pls let us know how to resolve this asap.
    Thanks,
    Simmi

    Did your batch input end with save ( /11 ) or what ok_code are you using ?

  • Batch Input and Select Option

    Hello,
    Please, i have one issue.
    I want to do one Batch Input for one standard transaction. In this transaction, exist one select-option and i fill more values.
    I generate the SDHB but i have problema with the select-option. How i can simulate enter value in the Select option by code?
    Thank you.

    Hi SALHI AMAL,
    We can do this. But its a lengthy process.
    You have to record by giving multiple selection values and do some changes in that code.
    The number of rows in that 'Multiple Selection' dialog is 8 and it is constant, i.e. it won't vary with monitor or screen size.
    In my testing,
      perform bdc_dynpro      using 'SAPLALDB' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ACPT'.
    This is the code to just to fill values in 'SELECT SINGLE VALUES' tab.
    If i want to fill more than 8 values, the following code will do that,
          perform bdc_dynpro      using 'SAPLALDB' '3000'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=P+'.
    In this, you have to determine, how many times, we have to press 'PAGE DOWN'.
    This all regards one tab in that dialog. Still there are 3 dialogs.
    Regards,
    R.Nagarajan.

  • Batch Input. Transaction KSU5 and KOK4

    Hi,
    I would like to execute transactions KSU5 and KOK4 in background.
    The system generates this error message 00344: "No batch input data for screen..." When the batch input session is processed online the error does not occur.
    Regards.

    Hi Martin,
    How can I execute this report in operation MODE 'E'?
    Regards.

  • Batch-input and screens

    Hi,
    I have one program, that calls VA03 and print Billing document immediately.
    Now they want stop batch-input at Issue output screen, and after they fill the options that want and continue the program.
    Can you tell me if it is possible?? And if yes,what is the soluction for this?
    Thanks ina advance.
    All ideas are welcome.

    I found one solution.
    Batch-input code:
    t-code = 'VA03'.
      REFRESH bdcdata.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '0102'.
      PERFORM bdc_field       USING 'BDC_OKCODE' 'DRCK'.
      PERFORM bdc_field       USING 'VBAK-VBELN' tab-vbeln.
      PERFORM bdc_dynpro      USING 'SAPLVMSG' '0200'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=OPTS'.
    CALL TRANSACTION 'VA03' USING bdcdata MODE 'E'
                            UPDATE 'S'
                            MESSAGES INTO messtab.
    Thank you by all helps.
    Ana

  • Difference between batch input method and direct input method in LSMW.

    Hi all,
    what is difference between batch input method and direct input method in LSMW. are they same?if differences are there tell me with details?

    Hi,
    Here are few differences bw Batch Input and Direct Inputs methods.
    Batch Input: Uses classical BDC approach, but doesn't required an ABAP program to be written to format the BDC DATA. The user has to format the data using predefined structures and store it in a flat file. Yet it is a slower updation method.
    Direct Input: Works similar to Batch Input programs. The difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. Much faster and suits for large volume of data.
    Thanks.
    DhanaLakshmi M S

  • Difference between Batch input and Direct Input

    Hi please tell me the difference between Batch Input and Direct Input in BDC?

    hi aparna,
    <b>DIRECT INPUT</b>
    TO ENTER THE DATA INTO THE CORRESPONDING DATABASE TABLES DIRECTLY, THE SYSTEM CALLS A NUMBER OF FUNCTION MODULES THAT EXECUTE ANY NECESSARY CHECKS. IN CASE OF ERRORS, THE DIRECT INPUT TECHNIQUE PROVIDES A RESTART MECHANISM. HOWEVER, TO BE ABLE TO ACTIVATE THE RESTART MECHANISM, DIRECT INPUT PROGRAMS MUST BE EXECUTED IN THE BACKGROUND ONLY. DIRECT INPUT CHECKS THE DATA THOROUGHLY AND THEN UPDATES THE DATABASE DIRECTLY.
    TO MAINTAIN AND STRAT THESE PROGRAMS, USE PGM RBMVSHOW OR THE TRANSACTION BMVO.
    <b>BATCH INPUT</b>
    TYPES – SESSION METHOD, CALL TRANSACTION, DIRECT INPUT.
    TO SAVE DATA IN THE BDCTAB, USE THE FIELDNAME ‘BDC_OKCODE’ AND FIELD VALUE OF ‘/11’.
    BDCDATA
    THIS IS A STRUCTURE WHICH CONTAINS THE FOLLOWING FIELDS.
    PROGRAM – NAME OF TH MOD PROG ASSOCIATED WITH THE SCREEN. SET ONLY FOR THE FIRST RECORD OF THE SCREEN.
    DYNPRO – SCREEN NUMBER. ALSO SET ONLY FOR FIRST RECORD.
    DYNBEGIN – INDICATES THE FIRST RECORD OF THE SCREEN. SET ‘X’ FOR FIRST RECORD OTHERWISE ‘ ‘.
    FNAM – FIELD NAME.
    FVAL – VALUE FOR THE FIELD NAMED IN FNAM.
    THE FIRST STEP IN BDC IS TO UPLOAD DATA FROM THE FLAT FILE OR SEQUENTIAL FILE TO THIS BDCTABLE.
    SESSION METHOD
    WE USE 3 FUNCTION MODULES IN THIS SESSION METHOD.
    1) BDC_OPEN_GROUP
         USER NAME:     USER NAME
         GROUP:          NAME OF THE SESSION
         LOCK DATE:     THE DATE ON WHICH YOU WANT TO PROCESS THE                              SESSION.
         KEEP:          THIS PARAMETER IS PASSED AS ‘X’ WHEN YOU WANT TO RETAIN SESSION AFTER     PROCESSING IT OR ‘ ‘ TO DELETE IT AFTER PROCESSING.
    THIS CREATES A SESSION
    2) BDC_INSERT
         TCODE:          TRANSACTION NAME
         DYNPROTAB:     BDC DATA
    THIS CREATES A SEESION AND DATA IS TRANSFERRED O SESSION.
    3) BDC_CLOSE_GROUP – THIS CLOSES THE BDC GROUP.
    ONLY ONE SESSION CAN BE CREATED USING BDC_OPEN_GROUP. BUT MULTIPLE TRANSACTIONS CAN BE PROCESSED USING BDC_INSERT.
    CALL TRANSACTION
    CALL TRANSACTION     <TCODE> USING <BDCTAB>
                                            MODE <A/N/E>
                                            UPDATE <S/A>
                        MESSAGES INTO <MSGTAB>.
    A – ALL SCREEN MODE. ALL THE SCREEN OF THE TRANSACTION ARE DISPLAYED.
    N – NO SCREEN MODE. NO SCREEN IS DISPLAYED WHEN YOU EXECUTE THE TRANSACTION.
    E – ERROR SCREEN. IF THE SCREEN HAS ERROR RECORD, THEN THAT SCREEN WILL BE DISPLAYED.
    S - IF YOU CHANGE DATA OF ONE TABLE THEN ALL THE RELATED TABLES GETS UPDATED. AND SY-SUBRC IS RETURNED I.E., SY-SUBRC IS RETURNED FOR ONCE AND ALL.
    A - WHEN YOU CHANGE DATA OF ONE TABLE, THE SY-SUBRC IS RETURNED. AND THEN UPDATING OF OTHER AFFECTED TABLES TAKES PLACE.  SO IF SYSTEM FAILS TO UPDATE OTHER TABLES, STILL SY-SUBRC RETURNED IS 0 (I.E., WHEN FIRST TABLE GETS UPDATED
    WHEN YOU UPDATE DATABASE TABLE, OPERATION IS EITHER SUCCESSFUL OR UNSUCCESSFUL OR OPERATION IS SUCCESSFUL WITH SOME WARNING. THESE MESSAGES ARE STORED IN INTERNAL TABLE, WHICH YOU SPECIFY ALONG WITH MESSAGE STATEMENT. THIS INTERNAL TABLE SHOULD BE DECLARED LIKE BDCMSGCOLL, A STRUCTURE AVAILABLE IN ABAP/4. IT CONTAINS THE FOLLOWING FIELDS: TCODE, DYNAME, DYNUMB, MSGTYP, MSGID.
    DIFFERENCE BETWEEN SESSION AND CALL TRANSACTION
              SESSION METHOD               CALL TRANSACTION
    1.          DATA IS NOT UPDATED IN DATABASE TABLE UNLESS SESSION IS PROCESSED.               IMMEDIATE UPDATION IN DATABASE TABLE.
    2.          NO SY-SUBRC IS RETURNED.               SY-SUBRC IS RETURNED.
    3.          ERROR LOG IS CREATED FOR ERROR RECORDS.               ERRORS NEED TO BE HANDLED EXPLICITLY
    4.          UPDATION IN DATABASE TABLE IS ALWAYS SYNCHRONOUS
                   UPDATION IN DATABASE TABLE CAN BE SYNCHRONOUS OR ASYNCHRONOUS.
    5.          ASYNCHRONOUS PROCESSING               SYNCHRONOUS PROCESSING
    6.           TRANSFERS DATA FOR SINGLE TRANSACTIONS               TRANSFERS DATA FOR MULTIPLE TRANSACTIONS
    ERROR HANDLING IN CALL TRANSACTION
    1)     CREATE AN INTERNAL TABLE SIMILAR TO THE STRUCTURE OF YOUR LOCAL FILE.
    2)     CREATE BDCTAB LIKE BDCDATA.
    3)     CREATE BDCMSG LIKE BDCMSGCOLL.
    4)     CREATE AN INTERNAL TABLE SIMILAR TO THE 1ST INTERNAL TABLE.
    5)     UPLOAD FN UPLOADS DATA FROM THE LOCAL FILE TO THE ITAB.
    6)     LOOP AT ITAB.
    POPULATE BDCTAB TABLE.
    CALL TRANSACTION STATEMENT.
    PERFORM CHECK.
    REFRESH BDCTAB.
    ENDLOOP.
    7)     FORM CHECK.
    IF SY_SUBRC <> 0.
    CALL FUNCTION FORMAT_MESSAGE.
    APPEND ITAB2.
    ENDFORM.
    TRANSACTION FOR RECORDING – SHDB.
    MAX TIME ALLOWED FOR ONLINE EXECUTION – 300 SECONDS.
    <b>
    Pls reward if helpful.</b>

Maybe you are looking for

  • Satellite L50-A-19N HDD upgrade question

    Hi, I would like to upgrade the standard HGST HDD to a faster Seagate SSHD, and the problem is that in this model L50-A-19N there is no HDD cover, the whole laptop bottom must be removed like in this Link: [Video|http://www.youtube.com/watch?v=IG0lW7

  • How to print window contents at the backside of a page(In scripts&smartform

    Hi, How to print the window contents at the back side of a page in scripts and smartforms? regards, prajwala

  • Issue with set up of 2 new iPads on 4G

    Just purchased 2 new 4G ipads, during setup of 4G set mine up with my wifes name, email and cell phone as account info.  Thought i could set up both to this account.  after finding out it just moved the account, I then moved it back to mine and set h

  • Appleworks documents and Coverflow

    My AW documents do not "preview" in cover flow, but .doc's do. Already did the preferences wipe as suggested in other threads. Any suggestions?

  • Transport tablespace query

    Hi, i have two systems let A and B. both System A and B has Windows 2003 server & oracle 10g installed. i want to transport A's tablespace name users with datafiles USERS01.DBF at B. but i have some queries 1.) Sytem B also have same tablespace name