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 is the transaction code to display the payroll results
if there is no top-of-page event in reports then what happens?
How you will catch errors in call transaction?
What is difference between check table and value table ?
i want to populate 10 fields in smartforms..uptil 9th it is taking but 10th one is not populating?what might be the reason?
Type groups?
what is a buffer and how many types?
what are the steps in oops alv reports?
what is EDI ,ALE , Debugging, Smart Forms ,IDOC'S & BDOC'S
2 Answers IBM, Yash Technologies,
wat controls flow logic of online programs?
What are the fields in the memory table ‘screen’?
What are differences between at selection-screen and at selection-screen output?