Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BDC help

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' 'UPD',

' ' 'P0000-BEGDA' format_termin,

' ' 'P0000-MASSN' 'TM',

' ' 'P0000-MASSG' zmassg,

'X' 'MP000100' '2010',

' ' 'BDC_CURSOR' 'P0001-SACHZ',

' ' 'BDC_OKCODE' '/00',

' ' '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' '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....

<b>First one</b>, the above code was recorded from the transaction recorder to update the records in infotypes 0000, 0001, 0035 and 0050.

The records are getting updated into the infotypes in the foreground, but when you run the code in the background the records are not getting updated into the infotypes.

In such case what can I do?

Secondly, the delimit action for IT0050 is not getting registered into the recorder (I know I had already posted this question) How can I fix it?

I have been playing around with this for sometime, could not get to an approriate soultion.

Any leads or guidance to solve this would be really helpful to take it forward.

Thanks in advance folks.

Vinu

Second

Tags:
Not what you were looking for? View more on this topic or Ask a question