cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax error in program "SAPLBBP_BAPI_PO " while PO transfer

Former Member
0 Kudos

Hi:

I am getting below dump in ECC when I order PO in SRM. PO is created in SRM successfully, but err out. I am on SRM 701 with PPS and ECC 6. I am guessing some switch needs to be activated but not sure. Any help is appreciated.

Syntax error in program "SAPLBBP_BAPI_PO "

The current ABAP program "SAPMSSY1" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

The following syntax error occurred in program "SAPLBBP_BAPI_PO " in include

"LBBP_BAPI_POU04 " in

line 1:

"Function "BBP_GET_SWITCH_STATE_RFC" not found in Function Library."

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

It works by following the steps given by Tiago.

-Go to SE37

-Enter Function Module "BBP_GET_SWITCH_STATE_RFC"

-Menu Utilities -> Repair func group

-Choose BBP_BAPI_PO as the function group and execute

Edited by: Vijay Alisetty on Feb 15, 2012 9:35 PM

0 Kudos

This is a known issue for this FM.

Use the funcionality "Repair Function Group" available in transaction SE37:

-Go to SE37

-Enter Function Module "BBP_GET_SWITCH_STATE_RFC"

-Menu Utilities -> Repair func group

-Choose BBP_BAPI_PO as the function group and execute

This should make BBP_GET_SWITCH_STATE_RFC exist again.

Regards

laurent_burtaire
Active Contributor
0 Kudos

Hello Vijay,

Could you please check:

- in R/3 if Business Function LOG_MM_MAA_1 is switched on in SWF5 transaction.

- in SRM if BBP_FUNCTION_MAP table is populated for adaptater BBP_GET_SWITCH_STATE_RFC.

Regards.

Laurent.

Former Member
0 Kudos

Laurent: I see that the Business Function is activated in ECC and the table has below entries and still have the same problem. Please help.

OBJECT METHOD TYPE FUNCTION

BUS2201 CheckSwitch ERP_4.0 BBP_GET_SWITCH_STATE_RFC

BUS2201 CheckSwitch ERP_5.0 BBP_GET_SWITCH_STATE_RFC

laurent_burtaire
Active Contributor
0 Kudos

Hello Thiago,

"A known issue for this FM"...

Is there any KBA dealing with this problem ?

Regards.

Laurent.