How to get the spool number in smartforms?
Answers were Sorted based on User's Feedback
Answer / purnaiah
CALL FUNCTION FM_NAME
EXPORTING
CONTROL_PARAMETERS = CONTROL
OUTPUT_OPTIONS = OUTPUT
USER_SETTINGS = ' '
EKKO = L_DOC-XEKKO
PEKKO = L_DOC-XPEKKO
DRUVO = L_DRUVO
IMPORTING
JOB_OUTPUT_INFO = JOB_OUTPUT_INFO " Add this parameter
JOB_OUTPUT_OPTIONS = JOB_OUTPUT_OPTIONS
TABLES
EKPO = L_DOC-XEKPO
PEKPO = L_DOC-XPEKPO
XAEND = IT_XAEND
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
Smartfrom Fm has one more structure under the IMPORTING parameters i.e. JOB_OUTPUT_INFO
Which you have not used in your FM. Use that you can get the spool number returened in the JOB_OUTPUT_INFO structure
Is This Answer Correct ? | 2 Yes | 0 No |
tcode: sp01 here we can get the spool numbers in smartforms.
Is This Answer Correct ? | 5 Yes | 5 No |
will where conditions in a sql query help improve performance?
I have 2 fields like customer and name having 20 records on basic list. When I select 5 records randomly, I want to get the address of particular customer selected in secondary list?
hi this is naveenkumar.tell me plz. what is the difference between v4.7 and v4.6?
What is an abap instance?
what are the built in types in bdc
In real time how we get the tickets? whether it is through email or any thing else.
what type of error exactly you will be seeing in the log file while using call transaction mode āEā
Prepare a Report for last month Last Date- First Date?
where is security relevent information such as Password for ITS are stored?
How can you Logon your client?
What are the input parameters to be passed to the BAPI 'BAPI_QUOTATION_CREATEFROMDATA'
what is the difference b/w database and data dictionary?