Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Reg : Type changes in Idoc

Former Member
0 Kudos
239

Hi Frens,

There are some characteristic value exists for material.

Characterstic values are in numc , date , time format.

But ir stores in CAWN table in Internal floating point format.( field : ATFLV )

when issuing output , I am getting the same Internal floating format data in idoc also.

I am checking the E1cucfg segment.

But data should be in Date , Time , Numc format..respectively depending upon the characteristic value .

I am using order_output_ordrsp function module.

how to rectify it.

Needed help

1 REPLY 1

Former Member
0 Kudos
54

Your config values are fetched in the call to FM CUXI_GET_MULTI_CONFIGURATION in the form <i>call_kmat_to_idoc</i>. Debug this function module to see why it is not converting your values into external format.

If that is not possible then right after the call to the above function module, there is a user exit where you can manipulate the values of the internal tables containing your config data. In that user exit, you put your logic to convert them from internal floating point format to external format.


*- Customer function to change the internal tables for ----------------*
*- configurable materials ---------------------------------------------*
    CALL CUSTOMER-FUNCTION '006'
         TABLES
              dh_appl            = h_appl
              dcuref             = curef
              dcucfg             = cucfg
              dcuins             = cuins
              dcuprt             = cuprt
              dcuval             = cuval
              dcublb             = cublb
         EXCEPTIONS
              error_message_received        = 1
              data_not_relevant_for_sending = 2.