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 |
What's the difference between AT NEW and AT END OF events?
Why do we need to code a loop statement in both the pbo and pai events for each table in the screen?
You are running a report. It is taking long time for execution. What steps will you do to reduce the execution time.
how many ways to delete ztable field values without using table maintenance generator?what is that?
What is the typical structure of an ABAP program?
IF transport where u can create req no for sctipts?
What will happen if we run call Transaction in BDC for large volume of data?
2 Answers Thomson Reuters, Vinyl Tubes,
Explain how many types of tables exist and what are they in data dictionary?
What are the 3 types of function modules in sap?
you have to select fourth vendor no in basic list go to open new list ( secondary list) . what is the coding in interactive report ?.. tell me the coding clearly plz?...
IF I SAVE A TRANSACTIONAL DATA TABLE IN APPL0 INSTEAD OF APPL1 DURING TECHNICAL SETTINGS OF A NEW TABLE WHTHER IT WILL CREATE ANY PROBLEM OR IT WILL WORK SMOOTHLY???
What are the function modules used to create batch input session? : abap bdc