cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to send Standard SC fields in SRM to a PO in R/3

Former Member
0 Likes
238

Dear All ,

Please  can some one let me know on  how to send the Limit Item SC Start date and end date which is at the line item level (already)

to a PO at the line item level .  i.e we do not need to enhance the screen just include it in the BAPI which sends data to the backend .

I tried searching for more docs yet did not find anything much .

I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..which has the fields which I need VPER start and end date ..so I am assuming from the SC it is passed to header level of PO through this ..

CALL FUNCTION 'BAPI_PO_CREATE1'

       DESTINATION av_rfc_dest

       EXPORTING

         poheader               = as_po_out-is_poheader      "#EC ENHOK

         poheaderx              = as_po_out-is_poheaderx

Now I want the same fields to be passed to item level of the PO ..  could you confirm on what exactly I should do ?I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC it is not in the it_poitem and it_poitemx structures .

please advise ... .

TABLES

          poitem                 = as_po_out-it_poitem        "#EC ENHOK

         poitemx                = as_po_out-it_poitemx       "#EC ENHOK

             extensionin            = as_po_out-it_extensionin   "#EC ENHOK

  *      extensionout      = as_po_out-it_extensionout "not used by SRM

          poexpimpitem      = as_po_out-it_poexpimpitem      "#EC ENHOK

          poexpimpitemx     = as_po_out-it_poexpimpitemx     "#EC ENHOK

         potextheader      = as_po_out-it_potextheader "not used by SRM

*      popartner         = as_po_out-it_popartner    "not used by SRM

I am not sure if what I have searched is correct as well Please let me know if I am wrong  and where to check for the requirement .

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Vinita,

Please clear my understanding. you have a requirement (special one) to pass the Valid start and Valid end date in the PO at item level for framework order (Limit order).

Are you sure of the requirement. Thus Standard ECC FO these fields are at the header level and not item level.

Please confirm whether this a special process to pass the dates in FO at item level.

Then how and for what is this FO process used?

Thanks.

From RBEI,

Snehal

Former Member
0 Likes

HI Snehal

Thats exactly what the client wants I know they are at header level of PO but we have managed to customize the screen to include start date and end date at item level

However we are struggling on how to send these fields from SRM instead of header level to Item level .

Please could you let me know if you have some clue on that ?

Any help would be appreciated .