cancel
Showing results for 
Search instead for 
Did you mean: 

Get SC numbre from PO number or PR number?

Former Member
0 Kudos

Hello all!

Do you know how can I get the SC number or GUID from the PO number or PR number?

I am in BADI bbp_create_req_back, and here I want to check the value of a new field I added to the SC to inform de value of purchase requisition doc_type.

How can I consult the information of the SC header fields if I have the PR number?

Thx,

San

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi San,

if you are in the BADI bbp_create_req_back, that means you are just populating the PR data from your SC data.

That means you already have acces to SC data (mapped in REQ* input tables) because it is basically used during this process.

Ok this is SC mapped data and not all the SC model.

What kind of data is missing ?

PS: there is only limited header data for SC.

Rgds

Christophe

Former Member
0 Kudos

Hi Cristophe,

I have add a new customer field in the SC header. And I need to check this field inside bbp_create_req_back.

But I don´t see it in the interface parameters. So, I have though that I could get it using bbp_pd_sc_getdetail. But I need the SC GUID or Number to call this FM. And I haven´t seen it in the BADI's interface parameters.

Is it a way to find the SC GUID inside the BADI?

Thx,

San

Former Member
0 Kudos

SC header CUF fields should be passed to the BADI in input table IS_CUF_HEADER.

Did you check it ?

Rgds

Christophe

Former Member
0 Kudos

Thx Christophe,

Yes, you are right, the CUF field is in IS_CUF_HEADER.

Answers (0)