Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with BAPI_REQUISITION_GETDETAIL return values

We have developed a web service in asp.net to get the details of a purchase requisition number calling BAPI_REQUISITION_GETDETAIL.

But when we debug and check the return values from the bapi, BAPIEBAN Table doesn’t have any data, it is null.

Could someone help us, please?

BAPIEBKN[] requisition_account_assignment = new BAPIEBKN[0];

BAPIESUC[] requisition_contract_limits = new BAPIESUC[0];

BAPIEBAN[] requisition_items = new BAPIEBAN[0];

BAPIESUH[] requisition_limits = new BAPIESUH[0];

BAPIESLL[] requisition_service = new BAPIESLL[0];

BAPIESLLTX[] requisition_services_text = new BAPIESLLTX[0];

BAPIESKL[] requisition_rsv_accass_values = new BAPIESKL[0];

BAPIEBANTX[] requisition_text = new BAPIEBANTX[0];

BAPIRETURN[] retur = new BAPIRETURN[0];

BAPI_REQUISITION_GETDETAIL(null,null,"1001286",ref requisition_account_assignment,ref requisition_contract_limits,ref requisition_items,ref requisition_limits,ref requisition_service,ref requisition_services_text,ref requisition_rsv_accass_values,ref requisition_text,ref retur,null,null);

Former Member
Not what you were looking for? View more on this topic or Ask a question