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: 

Need Help ON F150( DUNNING LETTER)

ashutosh_mishra4
Participant
0 Kudos
497

Hi experts,

i am working on Dunning form and my requirment is generate unique number and print it to the Our Reference field. i know that how to generate the unique number through number range object.

But the point is where should i write that code that call the function module after clicking on the application toolbar Print option.

that is on top of the screen

please give me some idea....

i m waiting for the ur valuable idea....

1 ACCEPTED SOLUTION

Former Member
350

Hi Ashu,

You can create a subroutine and write form in it. This form...endform will contain your code. Then to call this form , add perform in your main window of script which is getting called.

E.g :-

/: DEFINE &W_BUKRS& = &T001-BUKRS&

/: PERFORM F_VALIDATE_COUNTRY IN PROGRAM <SUBROUTINE_NAME>

/: USING &W_LAND1&

/: CHANGING &W_LAND1&

Thanks,

Rupali Punekar

3 REPLIES 3

Former Member
351

Hi Ashu,

You can create a subroutine and write form in it. This form...endform will contain your code. Then to call this form , add perform in your main window of script which is getting called.

E.g :-

/: DEFINE &W_BUKRS& = &T001-BUKRS&

/: PERFORM F_VALIDATE_COUNTRY IN PROGRAM <SUBROUTINE_NAME>

/: USING &W_LAND1&

/: CHANGING &W_LAND1&

Thanks,

Rupali Punekar

Former Member
0 Kudos
350

Hello,

goto SMOD tcode gave the F150D001 and display and components double click on the EXIT_SAPF150D_001double click on inculde INCLUDE ZX150U01 then a yellow color message will dusplay then press enter there you can write the code .

I hope this will help you try it.

thanks,

santhosh R

eduardo_hinojosa
Active Contributor
0 Kudos
350

Hi,

Also, you have BTE available to try it. See Note 156985 - Reference Note: BTE for dunning.

Regards

Eduardo