‎2010 Jan 13 10:06 AM
Hi All,
I made BDC to upload required fields in infotype 2. I use text file to upload all the data.
Currently i have only one record in text file for testing purpose. When i run the report in foreground for that record it goes to the pa30 screen which i have accessed recently. It means if i access pa30 for emp. code 123 then my bdc update the records for emp. code 123 and if i access emp. code 456 after that through pa30 then my program is updating records for emp. code 456. Can you please tell me why it is happening.
Thanks.
‎2010 Jan 13 10:12 AM
Hi,
In PA30, the field for PERNR on screen, gets default value as per last used PERNR.
So, in BDC, we should make sure that the screen field is populated by our value from the file. Just check your bdc code, and make sure the field
RP50G-PERNR
gets the value from the file.
Regards,
Amit Mittal.
‎2010 Jan 13 10:12 AM
Hi,
In PA30, the field for PERNR on screen, gets default value as per last used PERNR.
So, in BDC, we should make sure that the screen field is populated by our value from the file. Just check your bdc code, and make sure the field
RP50G-PERNR
gets the value from the file.
Regards,
Amit Mittal.
‎2010 Jan 13 10:16 AM
Hi,
Some standard SAP transactions retain the previously entered screen values accross a session. Hence you need to clear those buffer values in your BDC code.