cancel
Showing results for 
Search instead for 
Did you mean: 

VC from own abap (FM: CE_C_PROCESSING)

Former Member
0 Kudos

Hi,

i try to make an VC for a given MATNR in an abap to get the result in abap.

I try to use FM: CE_C_PROCESSING like this:

The Dialog works OK but i don't get the result of the VC.

I there any other FM or BAPI to simulate a VC for a given MATNR and exports the result into the abap?

I tried a look into IT_OUTPUT, but don't understand the structure of this table.

Regards, Dieter

Accepted Solutions (1)

Accepted Solutions (1)

Ritz
Active Contributor
0 Kudos

Dieter Gröhn,


I there any other FM or BAPI to simulate a VC for a given MATNR and exports the result into the abap?

I really didnt understand when you say export the result in ABAP ?

if you want simulation like CU50 , check the FM's use in transaction CU50 as per my knowledge its not the task that can be achived through a single FM or a BAPI, as variant configuration is a complex and it invloves many tables and a complex logic, you may need to write a program to complete your requirement.

you can also use sales order simulation BAPI_SALESORDER_SIMULATE it can be good referance for VC logic.

Thanks

Ritesh

Former Member
0 Kudos

Hi Ritsh,

export to abap means as export or table Parameter of an FM or BAPI because

i will use the values in the abap.

I try BAPI_SALESORDER_SIMULATE but i have to use VC-Values. Therefor i use

FM: VC_I_GET_CONFIGURATION_IBASE to read VC-Value for a given VC of an salesorder
(as Test). The result of BAPI_SALESORDER_SIMULATION are exportet via OLE

to Excel. For a given VC there are no Problems.

Now here is my Problem. I don't want to use a given VC, i want to do a VC
for example with CE_C_PROCESSING and will use this vaules for

BAPI_SALESORDER_SIMULATE.

I have debugged CE_C_PROCESSING but with not result.

Regards, Dieter

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

it's solved.

from CE_C_PROCESSING i take Parameter NEW_INSTANCE.

With this parameter i take VC_I_GET_CONFIGURATION_IBASE and

the values i Need are in table CONFIGURATION.

Regards, Dieter

Ritz
Active Contributor
0 Kudos


Congratulations Dieter for solving it your self. And i really appriciate your effort to share solution with group. Which is missing in many of the cases.

Thanks again.

Regards

Ritesh