cancel
Showing results for 
Search instead for 
Did you mean: 

Driver Function modules

Former Member
0 Kudos

Hi

We are on SRM 5.5 (Service Pack 11) . Any idea where the driver FM B45A_REQUISITION_CREATE,

B46C_REQUISITION_CREATE is called in the program. Because i don't see any entry for this in BBP_FUNCTION_MAP table.

Regards,

Ashish

Accepted Solutions (0)

Answers (1)

Answers (1)

peter_novoth
Employee
Employee
0 Kudos

Hi Ashish,

although the drivers FM B45A_REQUISITION_CREATE and B46C_REQUISITION_CREATE are still in the system, they are not in use any more within SRM5.0. Instead of these drivers, we use

the objectoriented adapors:

TYPE FUNCTION

R/3_3.1H CL_BBP_BS_ADAPTER_RQ_CRT_31I

R/3_3.1I CL_BBP_BS_ADAPTER_RQ_CRT_31I

R/3_4.0B CL_BBP_BS_ADAPTER_RQ_CRT_40B

R/3_4.5B CL_BBP_BS_ADAPTER_RQ_CRT_45B

R/3_4.6B CL_BBP_BS_ADAPTER_RQ_CRT_45B

R/3_4.6C CL_BBP_BS_ADAPTER_RQ_CRT_46C

R/3_4.70 CL_BBP_BS_ADAPTER_RQ_CRT_470

But back to your question. Just set a breakpoint in the META_BAPI_DISPATCH. This select the corresponding adaptor (sometimes driver) depending on the system release.

Kind regards,

Peter

Former Member
0 Kudos

Hi

Thanks for the response.

But it is not picking any driver. What shall i do

Regards

Ashish

peter_novoth
Employee
Employee
0 Kudos

Hi Ashish,

set a brekpoint at the FM META_BAPI_DISPATCH, jump out with F7 and check which driver comes back in the import parameter. There should be someting inside...

Kind regards,

Peter

Former Member
0 Kudos

Hi

No driver info is picked from BBP_FUNCTION_MAP table

Regards

Ashish

peter_novoth
Employee
Employee
0 Kudos

Hi Ashish,

what's the release of your backend sytem?

Regards,

Peter

Former Member
0 Kudos

Hi Peter

Its ECC 6.0

Regards

Ashish

peter_novoth
Employee
Employee
0 Kudos

Hi Ashish,

with your release we use the class "CL_BBP_BS_ADAPTER_RQ_CRT_470".

To get stop inside follow the steps:

SE24 -> Class: "CL_BBP_BS_ADAPTER_RQ_CRT_470" -> Method: "CREATE_DOCUMENT" ->set a breakpoint at the "CALL FUNCTION 'BAPI_REQUISITION_CREATE'"

Kind regards,

Peter

Former Member
0 Kudos

Hi Peter

Is it 'BAPI_REQUISTION_CREATE ' will create PR through SC in SRM.

Regards

Ashish

peter_novoth
Employee
Employee
0 Kudos

Hi Ashish,

yes, with 'BAPI_REQUISTION_CREATE ' you call the backend system via RFC call.

Is this the place you was searching for?

Kind regards,

Peter

Former Member
0 Kudos

Hi Peter

Thanks.

Actual issue which i am facing in SRM 5.5 (SP 11) is when i am attaching attachments in SC it is not transferring to ERP. We have a classic scenario here and we are creating PR in ERP.

But attachments are not transferring...How to debug this.

Thanks & Regards

Ashish

Former Member
0 Kudos

Thanks for the answer.

Former Member
0 Kudos

Hi Ashish

We are currently implementing SP13 for SRM 5.5 and have found the same problem during regression testing, i.e. attachments not passing from cart to PR or PO (classic scenario).

We can't figure out how to debug this? Can you assist?

Also -- what was the cause in the end?

Thanks

Former Member
0 Kudos

Hi

we finally implemented badi BBP_CREATE_BE_RQ_NEW

CS_CTRL_ATT-BE_STORAGE_CAT = 'DMS_C1_ST'.

CS_CTRL_ATT-BE_DOC_TYPE = 'SRM'.

CS_CTRL_ATT-TRANSFER_ACTIVE = 'X'.

and it was resolved.

Thanks

Ashish