Application Development and Automation 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: 
Read only

Regarding reports and conversion exit

Former Member
0 Likes
487

hi guys,

i got 3 questions to ask:

1) can we store reports in an internal table

2) what is the need of conversion routine and conversion exit in SAP

3) what is the use of <b>Control_form</b> in SAP scripts.

can any one help me giving answers to these questions.

thanks

pavan

3 REPLIES 3
Read only

Former Member
0 Likes
451

1) can we store reports in an internal table

Sure -:)


DATA: BEGIN OF SOURCE_TABLE OCCURS 0,
      LINEA(150) TYPE C.
DATA: END OF SOURCE_TABLE.


READ REPORT T_TRDIR-NAME INTO SOURCE_TABLE.

2) what is the need of conversion routine and conversion exit in SAP

For example....You want any value enter to be UPPER CASE...or LOWER CASE

3) what is the use of Control_form in SAP scripts.

Not sure.....Never used it -;)

Greetings,

Blag.

Read only

Former Member
0 Likes
451

Hi Pavan,

2) SAP sometimes stores the data in a format that is different from what is being displayed. Hence we need conversion routines to convert internal format to external and vice versa.

2) control_form:

"SAPscript control commands can be carried out with CONTROL_FORM. The command should be specified without the paragraph format '/:' in the parameter COMMAND." an excerpt from the fm documentation.

The various commands available are.

http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

Regards,

Ravi

Read only

Former Member
0 Likes
451

thanks for ur answer ravi, but where do u or how do u check the internal format of a field and any example of a field, where internal format is different from external format.

thanks and waiting for ur reply

pavan