Skip to Content

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

regarding the select query

Hi gurus,

Im using bapi create sales order for creating a new sales order. now this FM

BAPI_SALESDOCU_CREATEFROMDATA1 has a retun vbeln ie SO number.

now based on this SO number i want the PR ref number from the vbep table.

SELECT SINGLE * FROM vbep INTO vbep

WHERE vbeln = v_vbelns .

but this select querry doesnt pick any value.

but when i check this DBase table vbep this SO number is there anr the PR number is also there.

But im not able to find the error why it is not picking the data in the inernal table.

reward points for all usefull ans.

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