Hi All,
I am trying BDC recording to mass hire employees.
While I am coming to the infotype for address and communication, it gives me a pop up screen to select from the listed subtypes.
All working fine till that screen.
When i run that recording in foreground, it is not picking up from my subtypes that I have provided . I stays there and now i have to pick from there.
Problem with is that for one employee it is OK, but for mass hiring I can have as many as thousands of employees data and subtypes.
How wud I overcome this problem.
Below is recoding code:
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' GWA_ACTUAL_ENTRIES-ANSSA. "'08/03'.
perform bdc_field using 'BDC_OKCODE' '=ENTR'.
perform bdc_dynpro using 'MP000600' '2000'.
perform bdc_field using 'BDC_CURSOR' 'P0006-ENTKM'.
perform bdc_field using 'BDC_OKCODE' '=UPD'.
perform bdc_field using 'P0006-BEGDA' GWA_ACTUAL_ENTRIES-BEGDA. " '07/28/2013'.
perform bdc_field using 'P0006-ENDDA' '12/31/9999'.
perform bdc_field using 'P0006-STRAS' GWA_ACTUAL_ENTRIES-STRAS. "'asksomeone'.
perform bdc_field using 'P0006-LOCAT' GWA_ACTUAL_ENTRIES-LOCAT. " 'abc'.
perform bdc_field using 'P0006-PSTLZ' GWA_ACTUAL_ENTRIES-PSTLZ." '1212'.
perform bdc_field using 'P0006-ORT01' GWA_ACTUAL_ENTRIES-ORT01. " 'Manila'.
perform bdc_field using 'P0006-STATE' GWA_ACTUAL_ENTRIES-STATE. "'01'.
perform bdc_field using 'P0006-LAND1' GWA_ACTUAL_ENTRIES-LAND1. " 'PH'.
I am passing subtypes values dynamically in GWA_ACTUAL_ENTRIES-ANSSA.
While hardcoded value ,i have commented.
Please advise.