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

SD BTE testing

Former Member
0 Likes
1,794

Hi,

For BW reasons, I need to export billing plans from SD (VA41, VA42, VA43).

The data should be send to BW using BTE.

So a search for a Publish & Subscribe SD BTE and picked up:

00501003 Sales document - save sales document contract data

I created the ZSD_BTE_DELTA_00501003 function modul from copy of SAMPLE_INTERFACE_00501003.

This Z* FM does contain just a break-point.

I created a Z Product into BF24.

And then in BF34 set the BTE point with product and FM.

00501003 ZBWDELTA ZSD_BTE_DELTA_00501003

When I create or change a sales document nothing appends. My ZSD_BTE_DELTA_00501003 is not called.

What did I do wrong?

(I also tried with differents BTE, the all 005010** familly).

Thanks.

Matthieu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,402

Matt,

In BF24, make sure that you have the ACTIVE flag checked.

10 REPLIES 10
Read only

Former Member
0 Likes
1,402

Hi,

Have you activated the BTE.

In transaction BF24 when you enter the Z Product, there is a flag at the end to activate the BTE. BTE will only trigger if that flag is active.

Let me know if you still have an issue.

Regards.

RS

Read only

0 Likes
1,402

Thanks for the quick reply,

I haven't said so but this product is checked to active.

Thanks

Matthieu

Read only

Former Member
0 Likes
1,403

Matt,

In BF24, make sure that you have the ACTIVE flag checked.

Read only

0 Likes
1,402

Hi John,

We probably posted our replies in the same time.

Active is checked and RDF destination is empty.

Thanks

Matthieu

Read only

0 Likes
1,402

Matthieu,

To confirm, replace your break-point statement with MESSAGE statement of TYPE I.

See if a pop-up appears for you?

Read only

0 Likes
1,402

Nope,

I don't get the message.

Read only

0 Likes
1,402

Hi

U make sure you're using the right BTE, your BTE should be called by routine RISK_MANAGEMENT_SAVE in include MV45AF0B_BELEG_SICHERN (just after the calling of user-exit USEREXIT_SAVE_DOCUMENT.

So try to set here a break-point.

Anyway every BTE like yours should be called after calling the fm BF_FUNCTIONS_FIND: this fm check if the BTE exists, you can try to se a break-point here to check when or if your BTE is called.

Max

Read only

0 Likes
1,402

Thanks Max and that's here.

When I'm into the former I get out because of TVAK-BABSS (type BABSSCH_CM) is not set.

When I do enter a dummy value the BTE 00501003 is triggered and message displayed.

I'll see the SD custo guys.

Thanks.

Matthieu

Read only

0 Likes
1,402

Hi

Yes I saw that control, I've never used that field (BABSS) perhaps it can set a dummy value in customizing (TVAK is master data table of order type).

Anyway I believe if you can't set a dummy value u can use the user-exit USEREXIT_SAVE_DOCUMENT instead of the BTE.

Max

Read only

Former Member
0 Likes
1,402

Solved, custo problem.