cancel
Showing results for 
Search instead for 
Did you mean: 

duplicate R/3 custom requirement in IPC -- z table and comm. structure

Former Member
0 Kudos
80

Dom,

The ZSITCATPRI has composit key of:

MANDT, VKORG, MTPOS, KSCHL, PSTYV, KOBED. So the condition Type is part of the primary key.

The records in ZSITCATPRI table has KOBED=000 (no requirement), 002 or 022 (standard SAP requirement, I see them in the SAPStandardExit.checkRequirement(), I don't need to worry about these requirement, right?). Should I code for 000 in the switch statement in checkRequirement(), thinking return simply false?

I am not sure how to run the field catalog transaction code /SAPCND/CTFC, we seem unable to directly run it? With double checking, we are certain that ZZPSTYV is added to the communication structure (Item), but ZZKSCHL and ZZKOBED are not yet, but my middleware colleague is working on adding these fields to the communication structure now.

Your previous posting asked "Now, what is immediately apparent here is that these routines must be coded and available. I am not convinced that all the preparation work has been done by your colleagues.

In particular, I am interested by this Z table as one of the key fields is Condition Type. I don't know how they can provide this in the communication structure as the communication structure is at pricing document level, whereas Condition Type is at pricing step level." Looking at the key structure of the ZSITCATPRI table, do you still think our design would pose problems?

also, I noticed that the switch statements in the determinRelevantAttributesForRequirement() method has case 701 for both header and item, why 701?

Appreciate,

Yanhui

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Yanhui

-> If you are only using standard routines, that's great. You are right, you need to explicitly check for the 000.

-> You can access the field catalog in the IMG, or by typing /n/SAPCND/CTFC in the command box.

-> You can't provide KSCHL in the communication structure as that is at item level. There is n condition types to 1 item.

-> 701 is probably from my cut'n'paste! You won't be able to just insert my code and compile - it's just meant as a starting point. Change it to your routine number.

Cheers

Dom