2006 Jul 03 10:22 AM
i've developed a module pool program that uses 'call transaction pa30'BDC to an custom infotype screen... after the 'save' button is pressed the control goes to the infotypes initial screen.
but i want the control to come back to the calling module pool program.. how do i do that??
2006 Jul 03 11:09 AM
Hi Joseph,
Yes u can goto the the calling program,
Just in PAI when user presses SAVE u just give
LEAVE SCREEN or LEAVE to SCREEN no.
But since u r calling PA30, u cannot come back to initial screen until all the corresponding screens have been processed for PA30.
Regards,
Sridhar
Hi Joseph,
Yes u can goto the the calling program,
Just in PAI when user presses SAVE u just give
LEAVE SCREEN or LEAVE to SCREEN no.
But since u r calling PA30, u cannot come back to initial screen until all the corresponding screens have been processed for PA30.
Regards,
Sridhar
2006 Jul 03 11:09 AM
Hi Joseph,
Yes u can goto the the calling program,
Just in PAI when user presses SAVE u just give
LEAVE SCREEN or LEAVE to SCREEN no.
But since u r calling PA30, u cannot come back to initial screen until all the corresponding screens have been processed for PA30.
Regards,
Sridhar
2006 Jul 03 11:27 AM
write the part of pa30 calling in one z program and then say
SUBMIT prog AND RETURN:
Return from the called program prog. Processing continues after the call to "SUBMIT prog ...".
reward points if it helps
regards
Gunjan
2006 Jul 03 11:42 AM
hi gunjan
i found out the answer..
there is a structure called pspar.. just set the rcode in it to 'leave' and the control is automatically transferred to the calling prog..
thanks
vimal
2006 Jul 03 11:42 AM
hi gunjan
i found out the answer..
there is a structure called pspar.. just set the rcode in it to 'leave' and the control is automatically transferred to the calling prog..
thanks
vimal
2006 Jul 03 11:45 AM
thats good learning for me as well...
but anywaz if u say submit and return control will come back to ur program!!
2006 Jul 03 11:48 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |