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

F150 Sample Print out issue

former_member421418
Participant
0 Likes
2,536

Hi Experts,

Doing dunning using F150 Transaction .

Implemented BTE 1040 to send dunning form as mail .

Now My user wants mail should not trigger if he selects and run using sample printout option .

Mail only should trigger if he select option print out .

Can you Please help me out how to control this in BTE or any other way to control this .

Thanks in advance

kiran

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
1,829

In the BTE get (FM GET_JOB_RUNTIME_INFO) and analyze the job name, to switch between mail and print. trailing character should be 3 for actual printing, 5 for sample printing.

Read only

former_member421418
Participant
0 Likes
1,829

Tried with FM : GET_JOB_RUNTIME_INFO is now working ...

Can you provide any other inputs

Read only

0 Likes
1,829

Can you elaborate on not working (now?) What were the names of the jobs in both cases?

Also, use the "comment" to answer to a response, not "reply" (propose a new response), otherwise your comment may not be taken into account (for a few years).

Read only

Jelena_Perfiljeva
Active Contributor
1,829

Can't you just debug this and see what variables are available and how their values could be different between the sample and the real deal? This note explains how to debug BTE.

If you don't see any differences then this would be a question for SAP Support.

Read only

former_member704196
Participant
0 Likes
1,829

Hi Venkat kiran,

Can you please share how did you manage to achieve this with this FM ? I mean which parameter