2014 Jun 18 11:56 AM
Hi,
My user has this particular problem of getting his labels stuck in the printers while printing them from RF Device.
The requirement is to reprint the label taking data from NAST table for the user, only considering the last entry from it. I tried using the Program "RSNAST00" but it will not process entries with Time/Date = '4'(The documentation also states that it should atleast have been '1' at some point in time for this program to work).
Can someone suggest me some other way to reprint the NAST data? Its a Application Type 'ME' and the objky entry generally has MSEG-MBLNR, MSEG-MJAHR and MSEG-ZEILE concatenated and the output is taken through standard Tcode MB90(But my requirement is not use this and directly print based on NAST entry through the RF device itself). Just mentioning this in case it helps.
Thanks for your time and help.
Regards,
Vadid
2014 Jun 18 12:21 PM
Hi Vadid,
Please use FM 'WFMC_MESSAGE_SINGLE' for re-printing NEST based output from RF .
you can call in your RF button event and pass your NAST table entry in the below FM.
CALL FUNCTION 'WFMC_MESSAGE_SINGLE'
EXPORTING
PI_NAST = nast
IMPORTING
PE_RCODE = retcode.
if sy-subrc is 0.
commit work.
endif.
Regards,
Prasenjit
Hi,
My user has this particular problem of getting his labels stuck in the printers while printing them from RF Device.
The requirement is to reprint the label taking data from NAST table for the user, only considering the last entry from it. I tried using the Program "RSNAST00" but it will not process entries with Time/Date = '4'(The documentation also states that it should atleast have been '1' at some point in time for this program to work).
Can someone suggest me some other way to reprint the NAST data? Its a Application Type 'ME' and the objky entry generally has MSEG-MBLNR, MSEG-MJAHR and MSEG-ZEILE concatenated and the output is taken through standard Tcode MB90(But my requirement is not use this and directly print based on NAST entry through the RF device itself). Just mentioning this in case it helps.
Thanks for your time and help.
Regards,
Vadid
2014 Jun 18 12:21 PM
Hi Vadid,
Please use FM 'WFMC_MESSAGE_SINGLE' for re-printing NEST based output from RF .
you can call in your RF button event and pass your NAST table entry in the below FM.
CALL FUNCTION 'WFMC_MESSAGE_SINGLE'
EXPORTING
PI_NAST = nast
IMPORTING
PE_RCODE = retcode.
if sy-subrc is 0.
commit work.
endif.
Regards,
Prasenjit
2014 Jun 18 4:33 PM
Thanks Prasenjit,
I tried running the FM independently, and used the FM 'BAPI_TRANSACTION_COMMIT' to commit work. It created a new entry in the NAST table with Status as '1'(Successful).
I hope this will do that trick as currently the printer is not at my side hence cannot confirm the print, but from the table entry i feel everything should be in place, hence marking your reply as the correct one.
Thanks and Regards,
Vadid Valiulla
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |