I have a problem with the create of an custom idoc.
this is my coding:
l_con_partnerart_ls TYPE edi_rcvprt VALUE 'LS',
l_con_outmod TYPE edi_outmod VALUE '4',
* l_con_sndprt TYPE edidc-rcvprt VALUE 'LS',
l_con_rcvprn TYPE edidc-rcvprn VALUE '001XIT',
l_con_mestyp TYPE edidc-mestyp VALUE 'YKLS_ZAHLSTATUS',
l_con_idoctp TYPE edidc-idoctp VALUE 'YKLS_ZAHLSTATUS',
l_con_edidd TYPE edidd-segnam VALUE 'Z1KLSFVIK'.
*************
* Eigenes logisches System ermitteln
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
own_logical_system = l_var_snd_logsys
EXCEPTIONS "#EC FB_RC
own_logical_system_not_defined = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
* Erzeugen Kontrollsatz
SELECT SINGLE * FROM edp13
INTO CORRESPONDING FIELDS OF l_wa_edp13
WHERE rcvprt = l_con_partnerart_ls
AND mestyp = l_con_mestyp
AND rcvpor <> l_var_snd_logsys.