Skip to Content
avatar image
Former Member

BDC TRansaction

hi folks,

I am having two issues related to the BDC transaction, I have recorded the below transaction using the BDC transaction recorder

'X' 'SAPMP50A' '1000',

' ' 'BDC_OKCODE' '=INS',

' ' 'RP50G-PERNR' REC-PERNR,

' ' 'BDC_CURSOR' 'T582S-ITEXT(01)',

' ' 'RP50G-SELEC(01)' 'X',

' ' 'RP50G-TIMR6' 'X',

'X' 'MP000000' '2000',

' ' 'BDC_CURSOR' 'P0000-MASSG',

' ' 'BDC_OKCODE' '/00',

' ' 'P0000-BEGDA' format_termin,

' ' 'P0000-MASSN' 'TM',

' ' 'P0000-MASSG' zmassg,

'X' 'MP000000' '2000',

' ' 'BDC_CURSOR' 'P0000-BEGDA',

' ' 'BDC_OKCODE' '/00',

' ' 'P0000-BEGDA' format_termin,

' ' 'P0000-MASSN' 'TM',

' ' 'P0000-MASSG' zmassg,

'X' 'MP000000' '2000',

' ' 'BDC_CURSOR' 'P0000-BEGDA',

' ' 'BDC_OKCODE' 'UPD',

' ' 'P0000-BEGDA' format_termin,

' ' 'P0000-MASSN' 'TM',

' ' 'P0000-MASSG' zmassg,

'X' 'MP000100' '2010',

' ' 'BDC_CURSOR' 'P0001-SACHZ',

' ' 'BDC_OKCODE' 'UPD',

' ' 'P0001-BEGDA' format_termin,

' ' 'P0001-ENDDA' '12/31/9999',

*' ' 'P0001-BTRTL' 'SNXP',

*' ' 'P0001-ABKRS' 'GA',

*' ' 'P0001-ANSVH' '04',

*' ' 'P0001-SACHP' 'H13',

*' ' 'P0001-PLANS' '99999999',

' ' 'P0001-SACHZ' 'P99',

*' ' 'P0001-SACHA' '026',

'X' 'MP003500' '2000',

' ' 'BDC_CURSOR' 'P0035-DAT35',

' ' 'BDC_OKCODE' '/00',

' ' 'P0035-BEGDA' format_termin,

' ' 'P0035-ENDDA' '12/31/9999',

' ' 'P0035-BLEHR' ZBLEHR,

' ' 'P0035-DAT35' format_termin,

'X' 'MP003500' '2000',

' ' 'BDC_CURSOR' 'P0035-BEGDA',

' ' 'BDC_OKCODE' '=UPD',

' ' 'P0035-BEGDA' format_termin,

' ' 'P0035-ENDDA' '12/31/9999',

' ' 'P0035-BLEHR' ZBLEHR,

' ' 'P0035-DAT35' format_termin,

'X' 'MP005000' '3000',

' ' 'BDC_CURSOR' 'P0050-BEGDA(01)',

' ' 'BDC_OKCODE' '=DLIM',

' ' 'RP50M-BEGDA' format_termin,

' ' 'RP50M-ENDDA' '12/31/9999',

' ' 'RP50M-ABGRD' format_termin,

' ' 'RP50M-PAGEA' ' 1',

' ' 'RP50M-SELE2(01)' 'X',

' ' 'BDC_OKCODE' '/11',

' ' 'BDC_OKCODE' '/11'.

The process flow:

Menu Path: Human Resources > Personnel Management -> HR Master Data -> Maintain -> Enter

Personnel Number -> Select Actions (0000) Infotype -> Create -> Enter the defined date -> Select Action – Termination -> Insert Termination Reason -> Click SAVE -> Insert P99 in Time Administrator field -> click SAVE _->Populate 12/31/9999 in End Date on IT 0035 -> Populate "ELIG" -> Populate Termination Date in DAT 35 -> click SAVE -> Delimit IT 0050.

I have two questions.

Firslty, when I SAVE the data entered for each infotype that action is not getting recorded in the transaction recorder which means that transaction is stopping right after the Actions (0000) infotype as a result the subsequent infotypes are not getting populated even though I recorded the entire process in the transaction recorder.

Secondly, delimit the Time recording info IT0050 I click the delimit button again this action is not recorded in the transaction recorder.

Bottom line: the action related to the buttons(SAVE or DELIMIT) is not getting recorded.

How can I solve this?

Any leads would be helpful

Thanks in advance.\

Vinu.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 06, 2006 at 03:16 PM

    hi vinu

    how do u know that those are not getting recorded but when u check the code there ok code is saying that those are also recorded

    i mean if u check last two

    'X' 'MP003500' '2000',

    ' ' 'BDC_CURSOR' 'P0035-BEGDA',

    ' ' 'BDC_OKCODE' '=UPD',

    this is updates the records after all the values entered in to the fields this =upd tcode will executes n records will be updated

    and like this same with the other option ok code

    'X' 'MP005000' '3000',

    ' ' 'BDC_CURSOR' 'P0050-BEGDA(01)',

    ' ' 'BDC_OKCODE' '=DLIM',

    here it is delimit the records

    i think u better first try to upload some records u will find the result

    i think this would be helpful don't forget to reward

    Regards

    naveen

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      vinu

      i got the same proble when i tried to upload the data with lsmw

      when i debug the transaction program i got there are some condition which r stoping the records to enter into the database like the transaction what ever i used is going to create an identification number of the each record i uploaded so this is generatin in the middle of the process so lsmw is unable to handle such values

      so my suggestion is u gotrough the program or debug the program then u will find the point where ur tprogram is putting some conditon to the record to enter into the db

      so at calls for upd and dlim put somebreak point or print some message by analysing step by step u will get some point where u willnot get this message is that means that is the obstruction.

      ok i think this would be helpful for u vinu

      if u have anyfurther doubts let me know

      Regards

      naveen

  • avatar image
    Former Member
    Apr 06, 2006 at 03:27 PM

    Hi Vinu,

    I tried to Delimit 0050 , if you use the ICON on bar "DELIM" and then run the recording again its not doing any thing !!!

    But if you change the record and put your demit date on 0050-endda . its working

    Hope this’ll give you some clue !!

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      hi Saquib,

      This posting was to you I did not understand your explanation of delimtiting process for IT0050 I got the point that the delimit date has to be updated to '0050-endda' as I was populating the 0050 screen the delimit date by default is taking into the begda even though I commented that part of the code in the transaction.

      Can you elaborate a little more on that?

      Thanks

      Vinu.