Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to get the spool number in smartforms?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you set up a back ground job? How to create a background job without a variant ? : abap bdc

1063


Why do we use logical blocks in abap program?

2083


what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me

1999


How does the system handle roll areas for external program components?

1123


What is the different between template and a table?

1110


What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary

952


What are the functional areas? User groups?

1104


What is an abap data dictionary? : abap data dictionary

1015


What are the layers of data description in r/3? : abap data dictionary

1103


How many types of data classes are there in sap abap? : abap data dictionary

1070


Differentiate screen painter from menu painter.

1043


What is transparent table?

1060


What is the use of abap data dictionary? : abap data dictionary

1036


How can we use / display table in a screen?

1090


What functions does a data dictionary perform? : abap data dictionary

1036