‎2012 Feb 07 4:06 PM
Hi.
I am facing a strange issue while recording BDC for MB01 (Post GR) . When I run SHDB and process MB01, it completes the recording but does not process the data actually in system.
On the other hand if I process the data through MB01 (without recording), it was able to post GR successfully.
Earlier I was using BAPI_GOODSMVT_CREATE but it was not working fine as I am calling it from Web AS via RFC(Note: 520813 Q. 13). So I had to move on BDC.
Please suggest.
Thanks.
‎2012 Feb 07 4:16 PM
Hi Gaurav,
Create the recording in SHDB and save it in a report and the keep your coding.What is the issue you are facing with the bapi.
Regards,
Madhu.
‎2012 Feb 07 4:37 PM
Thank you Madhu.
BDC - I have done SHDB and used in report but when i execute my program the BDC is neither giving me process error nor posting the GR. But when I run MB01 and try to process the same data which I used during recording, it post the GR successfully.
BAPI - I am calling the BAPI in a Z_FunctionModule and I am calling this RFC enabled FM from Web AS(another system). In this case it is returning the material document but not able to COMMIT the changes (I have tried with BAPI COMMIT as well as manual COMMIT.
In SAP Note 520813 Q. 13, though they have mentioned this issue but I am wondering how to achieve this functionality as I have not way but to call via RFC.
Please suggest if I could run through either of two ..BDC or BAPI.
‎2012 Feb 07 4:42 PM
Hi Gaurav,
Are you able to see the screens while you run bdc.Can you explain document return but not able to changes.
Regards,
Madhu.
Edited by: madhurao123 on Feb 7, 2012 10:13 PM
‎2012 Feb 07 5:02 PM
Are you able to see the screens while you run bdc.Can you explain document return but not able to changes.
Yes..the BDC recording is normal(2 screens)..but it is not able to post GR.
BAPI - When I pass the values in FM manually (as I cannot debug RFC FM in 4.6), it posts the GR. But when I run it through usual process(i.e., Web AS calling RFC in R3) it is not posting GR. Also returning the BAPI RET 0. So I doubt if calling this BAPI via RFC has any issue.
‎2012 Feb 08 4:26 AM