04-26-2007 11:01 AM
Hi,
Suppose a driver program is calling function module 'OPEN_FORM' 4 times as fallows.
call function 'OPEN_FORM'
exporting
APPLICATION = 'TX'
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMS = ARC_PARAMS
device = lvf_device
dialog = ' '
form = tnapr-fonam
language = nast-spras
options = lvs_itcpo
MAIL_SENDER = LVS_SENDER
MAIL_RECIPIENT = LVS_RECIPIENT
call function 'OPEN_FORM'
exporting
APPLICATION = 'TX'
ARCHIVE_INDEX = TOA_DARA
ARCHIVE_PARAMS = ARC_PARAMS
device = lvf_device
dialog = ' '
form = tnapr-fonam
language = nast-spras
options = lvs_itcpo
MAIL_SENDER = LVS_SENDER
MAIL_RECIPIENT = LVS_RECIPIENT
call function 'OPEN_FORM'
exporting
form = 'ZWBUK_ITBMESSAGE'
dialog = ' '
options = lvs_itcpo.
call function 'OPEN_FORM'
exporting
device = lvf_device
dialog = ' '
form = 'ZWBUK_ITBMESSAGE'
language = nast-spras
options = lvs_itcpo
With this how can find that how many forms my driver program is calling and what r their names.
Thanks in advance
subhani.
04-26-2007 11:07 AM
04-26-2007 11:14 AM
Hi ..
either form names are written hard coded in code or it is done the way u are showing..
You may run transaction NACE and select appropriate application area say i select V1 for sales in my system ..then click OUTPUT TYPES ..
There further select ..say i select output type CASH SALES ..it would show which program(driver ) is used for this output type and which smartform it calls
Pls Reward if useful.
Message was edited by:
shweta soni
04-26-2007 11:26 AM
hi
good
OPEN_FORM is besically to to call a form,the number of time you r calling the OPEN_FOM ,means that many time you r calling the SAP script form.
That might be the same form or the different form.generally we never call the same form again and again so it may be four different kind of forms.
Thanks
mrutyun^