Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Forms

Former Member
0 Kudos

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.

3 REPLIES 3

Former Member
0 Kudos

u are calling only 2 Forms , check parameter FORM.

Regards

Prabhu

Former Member
0 Kudos

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

Former Member
0 Kudos

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^