08-24-2015 5:03 PM
Hi master, i have a doubt with the field REGUH-EMPFG, can you please help me to understang why the information in this field is with some symbols?
as you can see in the image, the values in the field REGUH-EMPFG have the symbols ">" and some values finish with "z"
I need to use the information of this field, but i don't know what is the reason of this symbols.
Thanks
09-12-2016 2:09 PM
You can find the logic in function FI_REF_PARTNER_FILL.
IF im_empfg(1) NE '>'.
ex_gpa1r = im_empfg. "CPD-Verschlüsselung
ex_gpa1t = '14'. "des Gechäftspartners
ELSEIF im_empfg+11(2) EQ '>F'.
ex_gpa1r = im_empfg+1(10). "Filiale
ex_gpa1t = '13'.
ELSE.
ex_gpa1r = im_empfg+1(10). "Abweichender Zahlungsempfänger
ex_gpa1t = ex_gpa2t. "im Stamm oder im Beleg (>Z)
ENDIF.
If value doesn't start with >, it's a CPD partner.
If value ends with >F, it's a branch office.
Otherwise it's a alternative payee, which is maintained in vendor/customer master data or directly in FI document.