‎2006 Dec 20 3:53 PM
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
‎2006 Dec 20 3:57 PM
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.
‎2006 Dec 20 4:02 PM
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
‎2006 Dec 20 4:19 PM
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