on 11-22-2012 1:41 AM
Hi, Experts
I am working in SRM7.01 now.
I have append
CATEGORY_ID
PRICE
QUANTITY
in the structure:
/SAPSRM/S_POWL_RESULT_PO_ITEM
The 3 fields appeared in the PO powl. The value of QUANTITY is displayed in the powl.
But the value of CATEGORY_ID and PRICE does not displayed.
Any advice on how to display the value of the 2 fields?
Please try implementing Badi /SAPSRM/BD_POWL_CHNG_SEL_RSLT and populate the columns in method /SAPSRM/IF_EX_BD_POWL_SEL_RSL~CHANGE_SELECT_RESULT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sushil,
I have tried to loop at table CT_RESULT, and use the FM BBP_PD_PO_GETDETAIL to get the value of the two fields.
But when I write the abap code , it cannot be compiled....the error is :
"CT_RESULT" has a generic type. Use of this type is only possible for typing field symbols and formal parameters
any idea of how to access the table CT_RESULT?
I write the code as follows:
METHOD /SAPSRM/IF_EX_BD_POWL_SEL_RSL~CHANGE_SELECT_RESULT.
FIELD-SYMBOLS: <LFS_RESULT> LIKE LINE OF CT_RESULT.
DATA: LTD_ITEM TYPE TABLE OF BBP_PDS_PO_ITEM_D.
LOOP AT CT_RESULT ASSIGNING <LFS_RESULT>.
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
* I_GUID =
I_OBJECT_ID = <LFS_RESULT>-OBJECT_ID
* I_ATTACH_WITH_DOC = ' '
* I_WITH_ITEMDATA = 'X'
* I_READ_BE_DATA = ' '
* I_ITEM_SORTED_BY_HIERARCHY =
* I_WITHOUT_HEADER_TOTALS = 'X'
* I_READ_TEXT_FLAGS =
* I_READ_FROM_ARCHIVE = ' '
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.