cancel
Showing results for 
Search instead for 
Did you mean: 

LIS do split by item + custom criteria

Former Member
0 Kudos

Hi Forum,

is it possible to do a custom split in the LIS?

By default my new statistik creates on line per Sales Order Position.

But I want to do implement a custom split partner role. (Values are calculated by own logic)

How can I get that?

I tried to implement custom coding in the user condition (FMCV1***), but there I have problems with the direkt database tabl updates. In addition the standard logic overrides my custom inserst/updates.

Please help. Any Ideas are appreciated.

Thanks

Dennis

Accepted Solutions (1)

Accepted Solutions (1)

Jelena
Active Contributor
0 Kudos

I'm not quite sure the standard is programmed to create more than one entry in the same info structure for a line item, but it might be possible.

You shouldn't need to program any direct updates. You will need to configure a new info structure and update definition. If it's based on the partner, I'm guessing you'll need to include the partner number (MCVBPA-KUNNR) and partner type (MCVBPA-PARVW), in addition to any other criteria you need (e.g. Material Number MATNR) as the characteristics. Then include any numbers (e.g. Net Value or Quantity) as key figures. You might need to create a new field catalog as I don't see MCVBPA fields in any of the available ones. This all can be done in SPRO.

Then SAP should see that there are different characteristics present (e.g. 1001 AG and 1002 WE) and should update accordingly, in theory.

Not sure what you meant by "standard logic overrides my custom inserst/updates". In any case, all you need is the correct configuration and the correct values passed into the communication structures (MC...).

Former Member
0 Kudos

Hi Jelena,

thanks for your answer.

It worked for me to include the Partner Number in the new Statistic.

The second Problem I had was the calculation of the Key figures, but I moved all my rules to a custom formula instead of the requirement coding and hat worked for me. So I set all Partner I don´t want to appear in the statistic to a 0 value.

thanks

Dennis

Edited by: Dennis Schulz on Oct 28, 2009 8:46 AM

Jelena
Active Contributor
0 Kudos

If you didn't want certain partner types to be included, this should really be in the requirement. Requirement is to determine whether to include something and formula is to calculate the value. I'm guessing that there might have been a problem with the requirement's code or you didn't run RV80HGEN program to generate the routines.

Well, anyway - whatever works for you.

Cheers!

Former Member
0 Kudos

Hi Jelena,

you are right, I had to move one part of the logic to the requirements coding.

(Whicch partner functions should appear in the statistics) It makes live much easier.

Thanks

Dennis

Answers (0)