Skip to Content
0
Former Member
Apr 20, 2009 at 08:29 PM

Decoding IPC ABAP Routine

71 Views

Dear IPC Gurus,

I am new to IPC 7.0. I need to decode the following ABAP Pricing useriexit for "RQT"

FORM KOBED_902.

sy-subrc = 4.

IF komk-vbtyp = 'H' OR

komk-vbtyp = 'K' OR

komk-vbtyp = 'L'.

sy-subrc = 0.

ENDIF.

IF komk-vbtyp = 'C' and

( komp-matnr = '000000000004005352' or

komp-matnr = '4005352' ).

sy-subrc = 0.

ENDIF.

ENDFORM.

I have created a Java class extending the interface RequirementAdapter and I am trying to code my checkRequirement method.

public boolean checkRequirement(IConditionFindingManagerUserExit item, IStep step, IAccess access) {

I don't see any methods like item.getDocumentCategory(). Can you please advice how I can check the values of komk-vbtyp and komp-matnr.

Thanks!

Surya.

Edited by: V. Surya on Apr 20, 2009 4:30 PM