‎2009 Aug 27 5:06 AM
Hi EveryOne,
When Running an INVOIC02 IDOC,i am getting an error u201CA company code cannot be determined for LI 0000001510u201D .
I see the Company code for that vendor in LFB1
I maintained entries in OBCE and OBCA
This Idoc runs for the partner function RS
IDoc calls the Function module u201CIDOC_INPUT_INVOIC_MRMu201D Do u guys think i should activate the user exit "CALL CUSTOMER-FUNCTION '011'u201D to get the company code from E1EDK14 segment???
In that segment QUALF is passed as 011
And orgid as company code??
Or is there any other segment i can pass the company code?
‎2009 Aug 28 2:48 AM
‎2009 Oct 14 7:02 AM
Activate the user exit .
EXIT_SAPLMRMH_011 Logistics Invoice Verification: inboud EDI message, company code
check this code.
TABLES: t076b. Company Code
CHECK I_E1EDKA1-PARVW EQ 'RS '.
LOOP AT t_idoc_data WHERE segnam = 'E1EDK14'.
MOVE t_idoc_data-sdata TO e1edk14.
IF e1edk14-qualf = '011'.
EXIT.
ENDIF.
ENDLOOP.
SELECT SINGLE * FROM t076b WHERE parart = i_idoc_contrl-sndprt
AND konto = i_idoc_contrl-sndprn
AND bukrs = e1edk14-orgid.
IF sy-subrc = 0.
e_lifnr = i_lifnr.
e_bukrs = t076b-bukrs.
e_change = 'X'.
ENDIF.
‎2009 Oct 14 7:24 AM
swapna,
can u plz share the information for partner function ..