Skip to Content
0
Former Member
Jun 10, 2009 at 06:55 PM

IPC Abap Routines to JAVA

38 Views

Hi,

I have to convert 30 ABAP routines to JAVA. I am working on CRM 2007

I downloaded files from CRM and created the appropriate project in Eclipse. Therefore i am ready for coding the routines.

How should get the fields in JAVA, i know i have to define parameters in tcode: /n/SAPCND/UEASS.

but the names are not the same in the routines and in the paremeters matchcode.

I have doubts with the ABAP routines, can you give few examples? I saw a few examples and the validations in JAVA are not as equal as ABAP.

This is one of my routines

FORM KOBED_932.

*{ INSERT DCRK908402 1

*

sy-subrc = 4.

if komp-mtart = 'ZEMP'.

komt1-kobli = ' '.

endif.

if komp-kposn ne 0.

check: komp-prsfd ca 'BX'.

check: komp-kznep = space.

Check not komp-mtart = 'ZEMP'.

Check KOMK-/CCC/DISC_IND = 'X'.

if komp-kposn ne 0.

check: komp-prsfd eq 'B'.

endif.

endif.

sy-subrc = 0.

*} INSERT

ENDFORM.

FORM KOBEV_932.

ENDFORM.

Thanks,

Regards.

Edited by: Adrian Fernandez on Jun 10, 2009 8:57 PM

Edited by: Adrian Fernandez on Jun 10, 2009 8:57 PM

Edited by: Adrian Fernandez on Jun 10, 2009 8:58 PM