on 03-20-2006 7:00 PM
Hello everyone,
I am posing a question for the first time in this forum. I am a pretty decent ISA / IPC developer. I have been working on writing user exits in IPC using java.At this client place, I have to convert a R3 calculation formula to java.
The formula is as shown below in R3
DATA: ZZTERM_KNUMH LIKE KOMV-KNUMH.
FORM FRM_KONDI_WERT_750.
CHECK KOMP-KPOSN NE 0.
CLEAR XKOMV-KZTERM.
IF XKOMV-KNUMH = KONP-KNUMH.
IF XKOMV-KBETR NE 0 AND XKOMV-KINAK = SPACE.
KOMP-ZTERM = KONP-ZTERM. (Terms of payment key)
KOMP-VALDT = KONP-VALDT. (Fixed value date)
KOMP-VALTG = KONP-VALTG. (Additional value days)
ZZTERM_KNUMH = XKOMV-KNUMH.
ENDIF.
ENDIF.
IF ZZTERM_KNUMH = XKOMV-KNUMH AND XKOMV-KINAK NE SPACE.
CLEAR: KOMP-ZTERM,
KOMP-VALDT,
KOMP-VALTG.
ENDIF.
*} INSERT
ENDFORM.
Basically what they are doing is in the total order when ever they see a rate for for the condition record they are changing the payment terms of the entire order to the condition record's payment terms.
If i have to translate this to java, how do i set / change the payment terms??
Have anybody encountered something like this?
I have almost finished all the routine and formulae that were to be implemented. I am just stuck with this one. I am sort of desperate and any help on this would be great.
Hi "IPC Developer",
You dynamic return value to set the value for item using method setDynamicReturnValue. This value will then be passed to CRM. Use BADI ( I have to still find the BADI name) to set the payement term in CRM.
Regards,
Vivek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.