on 03-23-2009 12:00 PM
Dear fnds,
Iam from SD forum, In sales order for Variant(__Variant configuration__) material user needs to selects the Charecters and values for material i need print to sales order confirmation form...i tried a lot with my knowledge...and i serched in forum finally i got the Diff Table called AUSP i tried with that ..but iam not getting link with sales....
Can you please give some mapping to this Requirment.
Thanks in Advance
Regards
raj.
Edited by: venky raj on Mar 24, 2009 6:01 AM
HI ...
First get the vbap-cuobj. Using this value call the FM CUCB_GET_SINGLE_INSTANCE.
call function 'CUCB_GET_SINGLE_INSTANCE'
exporting
instance = wa_matnr-cuobj
importing
instance_rec = l_instance
exceptions
invalid_instance = 1
instance_is_a_classification = 2
others = 3.
Thanks
Subhankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use FM VC_I_GET_CONFIGURATION_IBASE in the CEI0 function group. Just send in the VBAP-CUOBJ into the INSTANCE parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your question is how to pull values out of the material's classifications tab, below is an example.
SELECT auspobjek cawntatwtb
FROM cabn
INNER JOIN ausp ON ( cabnatinn = auspatinn AND
cabnadzhl = auspadzhl )
INNER JOIN cawn ON ( cabnatinn = cawnatinn AND
cawnatwrt = auspatwrt )
INNER JOIN cawnt ON ( cabnatinn = cawntatinn AND
cawnatzhl = cawntatzhl )
INTO TABLE t_internal_table
WHERE cabn~atnam = 'ClassificationName'.
The SELECT above returns a table of objek (material number) and atwtb (classification value) for all materials that have a "ClassificationName" assigned.
Hope this helps...
Chad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venky,
Use FM CLAF_CLASSIFICATION_OF_OBJECTS.
You get all the characteristic values w.r.t material
regards,
Rishikesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tables: KDST ,CABN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.