on 09-28-2013 7:37 PM
Hi All,
I wanted to add a new search criteria in POWL Query :SAPSRM_FEEDER_SC
This search criteria is available on item field as a standard field "Supplier" (technical name BUT000-PARTNER)
I have referred following document
http://scn.sap.com/docs/DOC-25692'.
SAP standard structure/SAPSRM/S_SEARCHFIELDS via append structure option.
Then I have added this fields in view /SAPSRM/V_SRC_CR via SM30.
Than I have added the field in DB criteria and TREX criteria via SPRO and go to Adjust POWL Layout, Search Criteria, and Pushbuttons under Feeder type SAPSRM_FEEDER_SC.
Then I ran Report POWL_D01 and did a refresh.
The field now appears in search criteria, however when i run the POWL query i am getting an error:
Customer selection criterion SUPPLIER is unknown.
This error appears from MAP_SELCRITERIA_BO method of /SAPSRM/CL_SRC_SERVICE_BASE.
It checks structures
'INCL_EEW_PD_HEADER_CSF'
'INCL_EEW_PD_HEADER_SWF'
'INCL_EEW_PD_ITEM_CSF'
'INCL_EEW_PD_ITEM_SWF'
However this field does not exist in any of these structures since its not a Z field.
Now what do i do to avoid this error and then use this field value in my search result badi?
Regards,
Ashish
Hi Ashish,
where have you found a supplier as a standard field?
In Standard supllier is a partner record in linked to SC item, but not an item itself.
As of SRM 7.01 the structure /SAPSRM/S_POWL_RESULT_SC_ITM does not have supplier field.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Konstantin,
You are right, the correct field name is "VENDOR".
As you rightly pointed out the structure /SAPSRM/S_POWL_RESULT_SC_ITM does not have this field called VENDOR,
i have added this field in customer include now.
However my search result does not consider this field during the search.
Also the value for field "VENDOR" does not appear in the final result table.
Am i missing anything?
Regards,
Ashish
Message was edited by: Ashish Shah
Hi Konstantin,
Just trying to clarify my understanding:
In search criteria if i have entered vendor 200000002.
And if one SC has two line items and both have different vendors one of them is 200000002,
then in the search result should POWL show both the line items or only one with the vendor match?
Regards,
Ashish Shah
Hi Konstantin,
This is what SAP responded
The vendor search is currently not supported in the standard.
You will have to write your own code to do the search for the
vendor either in BADI /SAPSRM/BD_POWL_CHNG_SEL_RSLT or
as an enhancement in the search.
In your own custom code you might search for the supplier/preferred
supplier using the partner function.
Regards,
Ashish
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.