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

BTE RWBAPI01 not active

mrio_espinheira
Participant
0 Likes
1,993

Hello

I was trying to use the BTE RWBAPI01 to change some fields on ACC Document Posting, so I did the following:

1. TCODE BF24 (Customer Products): added the ZFC_IRF customer product:

  • PRDKT = ZFC_IRF

  • AKTIV = X

2. TCODE BF44 (Process BTE: Customer Enhancements): added the RWBAPI01 process interface:

  • PROCS = RWBAPI01

  • APPLK = FI-FI

  • FUNCT = Z_FC_BTE_RWBAPI01

  • PRDKT = ZFC_IRF

I placed a break point in the beginning of the FM but nothing happens when I use the posting BAPI (BAPI_ACC_DOCUMENT_POST) with the EXTENSION1 internal table filled.

Can someone help me with this?

Best regards,

Mário Espinheira

6 REPLIES 6
Read only

Former Member
0 Likes
1,475

Hi,

Try to activate your BTE in the below way...

Go to transaction code u2018FIBFu2019, then go to menu path Settings->Products->.. of a customer. In the next coming screen add one entry with product name and text.

Next click on back button and follow the menu path Settings->Process Modules->..of a Customer. In the next coming screen enter one process (in this example the process would be u2018RWBAPI01u2019), Custom function module name (where we develop the FM with our own code), and the recently created product.

Now create custom function module (Copy the function module u2018SAMPLE_INTERFACE_RWBAPI01') with your own code and name as specified in the above step.

Regards,

Bujji

Read only

0 Likes
1,475

That's exactly what I did. In my post I replaced Settings->Products->.. of a customer. for BF24 and Settings->Process Modules->..of a Customer. fo BF44.

Read only

0 Likes
1,475

Hi,

Check your function module is active or not.

Regards,

Bujji

Read only

0 Likes
1,475

Yes, the function module is Active.

Read only

0 Likes
1,475

I posted a message to SAP and they helped me solve the problem.

In the transaction BF44 (Process BTE: Customer Enhancements) I changed the RWBAPI01 process interface. The APPLK field must be blank.

Read only

0 Likes
1,475

Hi Can you please explain how the setup is done. We are also having the same issue . We are not able to get the withhodling tax posted.

how you are populating accountwt.

Warm Regards

sudhakar