Skip to Content
0
Former Member
Mar 08, 2011 at 04:44 PM

CREATE SD document with characteristics - BAPICUVAL / E1CUVAL problem

213 Views

Hello there,

I am trying to create SD document with material characteristic. I can create single value characteristic, but when I am trying to post interval characteristic, just lower interval is saved and upper one is ignored.

I use BAPI_SALESORDER_CREATEFROMDAT2. For example:

DATA: tab_order_value TYPE TABLE OF bapicuval,
      wa_order_value LIKE LINE OF tab_order_value.
wa_order_value-config_id = '000001'.
wa_order_value-inst_id = '00000001'.
wa_order_value-charc = 'OUTER_DIAMETER'.
wa_order_value-value = '510'.
wa_order_value-valcode = '3'.
wa_order_value-value_to = '2100'.
wa_order_value-author = '8'.
INSERT wa_order_value INTO TABLE tab_order_value.

Characteristic is not set properly (510-2100mm), just 510mm is set. How should I call it properly? Should I fill also some another tables? Is there some documentation? Can be there some bug in SAP standard?

Any response is highly appricieted.