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: 

How to configure a BTE

Former Member
0 Kudos
6,758

Hi guys,

Can anyone tell me how to configure the BTE 00001820 in transaction F110. I have copied the sample function module to a z one and have already put my logic in it. All i wana do now is have the program call it.

I have already defined a customer product and included it as a customer P/S function module in FIBF but it still does not seem to be calling this FM at runtime. Is there something else i need to do?

1 ACCEPTED SOLUTION

andreas_mann3
Active Contributor
0 Kudos
2,965

Hi,

you've to do the foll. transactions:

(menu FIBF)

1) bf24

2) bf44

regards Andreas

7 REPLIES 7

Former Member
0 Kudos
2,965

You can do a "where use list" on function module <b>OPEN_FI_PERFORM_00001820_E</b>. Put a break-point at the code before the call to this function module is made. Execute transaction F110 and check if the program breaks. If it does not, it means this BTE is not being raised.

Former Member
0 Kudos
2,965

Yes i have tried both. It said "function module not found in selected search area" and the break-point was never raised. I am sure i am missing something somewhere.

0 Kudos
2,965

What do you want to do with this event ? This event is only raised when change documents are displayed. Can you explain your problem? May be we can suggest some other approach.

Former Member
0 Kudos
2,965

I am trying to enhance the payment program so that it looks at a payment block field that i have added to contracts. This is what i have put into the FM:

If C_ZLSPR is initial.

Select ZAHLS

from VICN01

into C_ZLSPR

where RECNNR EQ I_BSID-ZUONR.

Endselect.

Endif.

This even should work perfectly for this purpose but the problem is the configuration does not seem to be working. This is exactly what i have done in FIBF so far:

1. Defined a new customer product:

Product Text RFC Destination Active

SAPF110V xxx yes

2. Defined a P/S cutomer FM:

Event Product Ctr Appl Function Module

00001820 SAPF110V FI-FI zre_distr_block

Is there anything else i need to do or have i missed something out here?

andreas_mann3
Active Contributor
0 Kudos
2,966

Hi,

you've to do the foll. transactions:

(menu FIBF)

1) bf24

2) bf44

regards Andreas

0 Kudos
2,965

Hello,

the payment program works in background task. So it is not possible to stop the program by using a BREAK-POINT in the coding of BTE-Process 00001820.

You have to do the following:

1) Replace BREAK-POINT in customer function module with

WHILE 1 NE 2. ENDDO.

2) Activate the customer process function module 00001820.

3) Start the payment program

4) SM50: mark the process -> go to menu Program/Modus -> Program -> Debugging

5) You will jump into the coding of the function module.

Regards.

M. Finsterbusch

Edited by: Maik Finsterbusch on Nov 18, 2008 4:43 PM

Edited by: Maik Finsterbusch on Nov 18, 2008 4:45 PM

former_member738053
Discoverer
0 Kudos
2,965

Good morning!

Hi, My name is Jozadaque Dempsey and I'm from Brazil.

I have a problem about transaction xd01 and there on the site I saw that you had the same problem..

I need to get the customer's number (i_kna1-kunnr) at the moment of the creation. I'm using exit (EXIT_SAPMF02D_001) but there the kunnr is empty.

On the site people sad to use BTE (SAMPLE_INTERFACE_0000132 or 21).

I'm beginner as SAP programmer, Would you mind if I ask you to send me te source code with this solution?

I will be so thankfull!