cancel
Showing results for 
Search instead for 
Did you mean: 

PA30-create new PERNR via batch upload

Former Member
0 Kudos

Hi Gurus

Need your advice.

have done the recording for PA30 and coded the program for batch upload. However encountered problem with uploading infotype 185 and 186.

During dialog processing, the NRIC field in infotype 185 is populated to the CPF field in infotype 186. How do I code my batch upload to simulate this? Not able to do so now because the PERNR is not known at the start of the batch session.

Please advise.

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Have you checked if the return table of BDC gives back you the personal number created? If yes then you can call PA30 once again using the same PERNR and do the required coding.

Regads,

Atish

Former Member
0 Kudos

Hi Atish

Thanks for replying.

How do I check what is the return table?

Is it possible to do so without leaving the PA30 transaction? We are trying to perform the upload using a single program.

Regards..

Former Member
0 Kudos

Hi Hui,

In the single program only you can do this. If you are using the CALL TRANSACTIONS then you have MESSAGES INTO itab option where you get back all the messages from the BDC(error or success messages) you can look into that table in the program to get the PERNR generated and now in the program use the same PERNR.

Regards,

Atish