on 12-18-2009 7:26 AM
Hello
I am working on Sales order Variant Configuration. Can any body tell me SAP standard Sales Order Variant Configuration List report. Same report can be used to extract product confiuration characteristics values DATA from SAP.
Requirement of report is that it should be in Excel grid format and all characteristics values list horizontally.
regards
Sanjeev Dhavan
Dear Sajeev,
I wish that report exists too.... but don't panic. There is a useful function to retrieve this Data in an ABAP report.
Just make a report, probably you need some data from VBAK,VBAP,KNA1 and for characteristics values use function CUD0_GET_VAL_FROM_INSTANCE'
Lets suppose characteristics name is Z_COD_PROD_CLIENTE
try to put this syntax on your code
DATA: LV_Z_CODPRODCLIENTE type CABN-ATINN.
DATA: LT_ATTRIBUTES type table of COMW.
DATA: LS_ATTRIBUTES type COMW.
DATA: LV_INSTANCE type INOB-CUOBJ.
call function 'CONVERSION_EXIT_ATINN_INPUT'
exporting
INPUT = 'Z_COD_PROD_CLIENTE'
importing
OUTPUT = LV_Z_CODPRODCLIENTE.
LV_INSTANCE = VBAP-CUOBJ.
if LV_INSTANCE is not initial.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
INSTANCE = LV_INSTANCE
IMPORTING
TYPE_OF =
OWNER =
tables
ATTRIBUTES = LT_ATTRIBUTES
exceptions
INSTANCE_NOT_FOUND = 1
others = 2
.
read table LT_ATTRIBUTES into LS_ATTRIBUTES
with key ATINN = LV_Z_CODPRODCLIENTE.
if SY-SUBRC = 0.
ls_alv-ZCODCLI = LS_ATTRIBUTES-ATWRT. "here you retrieve your value
endif.
Best Regards,
SL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its helpful answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.