2012 Jul 19 8:59 AM
Hi,
My custom printing program call a standard SAP printing routine thru function call.
The return code given as "03".
I am not able to understand what causes it.
Can some expert share with me what is code "03" and how should I overcome it?
Thanks a million.
Bye
Hi,
My custom printing program call a standard SAP printing routine thru function call.
The return code given as "03".
I am not able to understand what causes it.
Can some expert share with me what is code "03" and how should I overcome it?
Thanks a million.
Bye
2012 Jul 19 9:20 AM
2012 Jul 19 9:24 AM
call function 'WFMC_MESSAGE_SINGLE'
exporting
pi_nast = nast
importing
pe_rcode = retco.
2012 Jul 19 9:38 AM
In the standard code the below code returns 3
* don't process locked entries (but don't perform this check
* in preview mode)
if us_screen ne on.
returncode = 3.
Please debug the function for better understanding.
2012 Jul 19 1:26 PM
Function 'WFMC_MESSAGE_SINGLE' calls FORM EINZELNACHRICHT(RSNAST00): In here, we can see this line of code:
perform programm_aufrufen using xscreen.
In form programm_aufrufen:
*******************************************************************************************************************************
* don't process locked entries (but don't perform this check
* in preview mode)
if us_screen ne on.
returncode = 3.
*******************************************************************************************************************************
^^It is probably at this code where SUBRC gets the value of 3...
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |