2007 Jul 27 3:35 PM
Hi,
I have one report, that calls VA03 with batch-input and and try to send the order for spool and not print immediately.
It work in DEV client and not in Production client.
I already saw my user profile - Own data, and both clients are 'X' in Output immediately.
My ABAP code is :
t-code = 'VA03'.
REFRESH bdcdata.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_OKCODE' 'DRCK'.
PERFORM bdc_field USING 'VBAK-VBELN' tab-vbeln.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPTS'.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=STAR'.
PERFORM bdc_field USING 'NAST-LDEST' p_pdest.
<b> PERFORM bdc_field USING 'NAST-DIMME' ''.</b>
PERFORM bdc_field USING 'NAST-TDRECEIVER' sy-uname.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR' 'NAST-KSCHL(01)'.
PERFORM bdc_field USING 'BDC_OKCODE' 'PRNT'.
PERFORM bdc_transaction USING t-code.
All comments and ideas are welcome.
Thanks in adavce.
Ana
Hi,
I have one report, that calls VA03 with batch-input and and try to send the order for spool and not print immediately.
It work in DEV client and not in Production client.
I already saw my user profile - Own data, and both clients are 'X' in Output immediately.
My ABAP code is :
t-code = 'VA03'.
REFRESH bdcdata.
PERFORM bdc_dynpro USING 'SAPMV45A' '0102'.
PERFORM bdc_field USING 'BDC_OKCODE' 'DRCK'.
PERFORM bdc_field USING 'VBAK-VBELN' tab-vbeln.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0200'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPTS'.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE' '=STAR'.
PERFORM bdc_field USING 'NAST-LDEST' p_pdest.
<b> PERFORM bdc_field USING 'NAST-DIMME' ''.</b>
PERFORM bdc_field USING 'NAST-TDRECEIVER' sy-uname.
PERFORM bdc_dynpro USING 'SAPLVMSG' '0200'.
PERFORM bdc_field USING 'BDC_CURSOR' 'NAST-KSCHL(01)'.
PERFORM bdc_field USING 'BDC_OKCODE' 'PRNT'.
PERFORM bdc_transaction USING t-code.
All comments and ideas are welcome.
Thanks in adavce.
Ana
2007 Jul 27 3:43 PM
Both should output immediately then. Do you have a printer assinged to your profile in both clients?
2007 Jul 27 3:50 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |