2012 Feb 24 12:33 PM
Hello Friends,
Right now I am using BDC to update serial number details through VA42 transaction in zprogram.Now I am trying to use the same functionaties in zfunction module.
But while using this functionality is zprogram I can able to skip the incompletion log screen window.But the same code is not working in zfunction module.
By pass the document incomplete pop up
PERFORM bdc_dynpro USING 'SAPLSPO2' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPT1'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=YES'.
Please let me know, is there any other option to take care of this issue or I have to include any more statement in this part.
Thanks
Gowrishankar
Hello Friends,
Right now I am using BDC to update serial number details through VA42 transaction in zprogram.Now I am trying to use the same functionaties in zfunction module.
But while using this functionality is zprogram I can able to skip the incompletion log screen window.But the same code is not working in zfunction module.
By pass the document incomplete pop up
PERFORM bdc_dynpro USING 'SAPLSPO2' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPT1'.
PERFORM bdc_dynpro USING 'SAPLSPO1' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=YES'.
Please let me know, is there any other option to take care of this issue or I have to include any more statement in this part.
Thanks
Gowrishankar
2012 Feb 24 1:08 PM
Hi,
Try re-recording and then create Function-Module instead of Program.
Regards,
Harsh Bansal
2012 Feb 24 1:26 PM
Compare both BDC internal tables, run both, program and function in display mode 'A' to try to get the difference between then.
Regards,
Felipe
2012 Feb 24 5:37 PM
Hello Friends
I re-recorded the same and compare both the values, its looking same.
Totally its confusing
Thanks
Gowrishankar
2012 Feb 24 6:46 PM
But did you try to run the call transaction in mode 'A' (visible) executing the function module? did you get an error or message, which one?
Felipe.