‎2009 Jan 23 9:23 AM
Hi,
I have a program which creates a BDC session for REHIRE event.
The screens for REHIRE event are IT0000, IT0002 and IT0001.
Now the problem is while I do normal manual REHIRE through PA40. It works fine.
But when I record this through SHDB the IT0000 and IT0002 save succesfully but an error comes on IT0001 screen saying "ERROR! Emp. Status (IT0000) and EE group (IT0001) do not match.".
The problem is in session method the table update doesnt happen immediately. So is there any coding technique which can help me use submitting the IT0000 to PA0000 table and then moves to IT0001 screen? Something like COMMIT WORK in programming?
Thanks in advance.
‎2009 Jan 23 10:25 AM
Hi,
I am unaware about the functionality. From what I understood the first two screens make a table update & then the third screen should get executed. Can you make 2 seperate BDC sessions in that case, and run them serially.
Regards,
Sonali.
‎2009 Jan 23 10:29 AM
try to wait for a few seconds ..
say ..
wait up to 10 seconds.
‎2009 Jan 23 10:29 AM
HI,
Instead of PA40 use the PA30 and create records 0000, 0001 & 0002 independlty through BDC.
This should work.
I heard that Recording PA40 Might not work because of Dynamic action.
‎2009 Jan 23 10:32 AM
Hi
YOu can use WAit up to 2 seonds not more than that because if you are giving that in loop or repeated process it will take more than 2 hrs to execute in quality or production ..
So while using WAIT option try to use less seconds and be care full about perfomance
‎2009 Jan 27 9:05 AM
Many of you have asked me to put a WAIT statement.... but that will only make the ABAP program wait it will not hold the session for the seconds mentioned. And in any case I dont want it to wait.. I want it to update the data in first two screens to their respective tables and then process the third screen.
Hoping for more inputs..
Problem still not solved.
‎2011 Feb 18 5:23 PM