‎2011 Nov 18 7:23 AM
hi
I got an issue in a bdc session method for Pa30 transaction. In the flat file if i swap the values for start date and end date and a im running the bdc . Then in sm35 transaction if i process with background the session becomes error but it gets saved in database table pa0000 as the dates swapped. It must not get saved in database table when the session is in error . Anyone know why does it gets saved?
‎2011 Nov 18 8:24 AM
For this you do your validations before starting the BDC process.
i think in PA30 while saving it is not validating the date.
You try like if values are correct proceed to BDC process or else end.
‎2011 Nov 18 8:09 AM
‎2011 Nov 18 8:24 AM
For this you do your validations before starting the BDC process.
i think in PA30 while saving it is not validating the date.
You try like if values are correct proceed to BDC process or else end.
‎2011 Nov 18 8:53 AM
yes i know that i can do validations for dates and it will be solved. but without doing validations in sm35 the sessions shows the error and database tables gets updated as the dates swapped... it should not hit the database table when session has errors. how to overcome in this case?
‎2011 Nov 18 9:22 AM
Hii,,
Why you not using FM 'HR_INFOTYPE_OPERATION'. You can 'INS' (insert) 'MOD'(Modify) and 'DEL'(delete) record in infotype.