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

Form Procedure.

Former Member
0 Likes
612

Hi all..

1.Any one can help me to write a Form Procedure ( to add a logic without modifying the print pgm) for Quotation form (RVADOR01, PGM---RVORDER01). And tell me how can i add it to print pgm.

2.Tell me what is the Function Module to convert Amount into Word Format.

Thanks & Regards

Raj

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
0 Likes
564

In script write.

/: PERFORM INC_PAGE IN PROGRAM ZWA_FD_DFG_PRO_DDO_ALL_COLS

/:ENDPERFORM

in report write.

FORM inc_page tables in_tab structure itcsy out_tab structure itcsy.

page1 = page1 + 1.

ENDFORM.

Regards,

Wasim Ahmed

4 REPLIES 4
Read only

Former Member
0 Likes
564

Hi Rajendra,

1) I think it is not possible to add form procedure with out modifying the driver program. To do this Just copy the standard program and add form procedure.This may solve your problem.

2)<b>SPELL_AMOUNT</b> will give currency in words in specific language.

Thanks,

Vinay

Read only

0 Likes
564

1):PERFORM get_date IN PROGRAM zreport

/:USING &SALESORDER&

/:CHANGING &S_DATE&

/:ENDPERFORM

Now you can print S_DATE.

Write this code in the new ABAP program would be

REPORT zreport.

FORM get_date TABLES in_tab STRUCTURE ITCSY

out_tab STRUCTURE ITCSY .

READ TABLE in_tab INDEX 1.

SELECT some_date FROM ztab

WHERE salesorder = in_tab-value.

IF sy-subrc EQ 0.

READ TABLE out-tab INDEX 1.

MOVE ztab-somedate TO out_tab-value

MODIFY out_tab INDEX 1.

ENDIF.

ENDFORM.

2)fm SPELL_AMOUNT will give currency in words in specific language

Read only

Former Member
0 Likes
564

1. I am not sure wihtout modifying the standard print program if you can add your own logic. Usually you copy the standard program and do the changes and use the new program.

2. Use the SPELL_AMOUNT function.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

dani_mn
Active Contributor
0 Likes
565

In script write.

/: PERFORM INC_PAGE IN PROGRAM ZWA_FD_DFG_PRO_DDO_ALL_COLS

/:ENDPERFORM

in report write.

FORM inc_page tables in_tab structure itcsy out_tab structure itcsy.

page1 = page1 + 1.

ENDFORM.

Regards,

Wasim Ahmed