Hi friends ,
I created a java service and constructed idoc and try to send idoc to sap system. iam getting this error please instruct me what to do…
After reading serviceresults
Segment 0: >>>SDATA= >>>MSGFN=005, SHNUMBER=1000, SCHED_STDT=2003-06-28 11:47:0
0.0<<< , TABNAM=E1OILSH, SEGNAM=E1OILSH, MANDT=000, DOCNUM=0000047112211178, SEG
NUM=000001, PSGNUM=000000, DTINT2=0<<<
Segment 0: >>>SDATA= >>>MSGFN=005, SHNUMBER=1000, SCHED_STDT=2003-06-28 11:47:0
0.0<<< , TABNAM=E1OILSH, SEGNAM=E1OILSH, MANDT=000, DOCNUM=0000047112211178, SEG
NUM=000001, PSGNUM=000000, DTINT2=0<<<
Segment 1: >>>SDATA= >>>MSGFN=005, VBELN=80008479, KUNNR=3000<<< , TABNAM=E1OIL
SA, SEGNAM=E1OILSA, MANDT=000, DOCNUM=0000047112211178, DTINT2=0, SEGNUM=000002,
PSGNUM=000001<<<
Segment 0: >>>SDATA= >>>MSGFN=005, SHNUMBER=1000, SCHED_STDT=2003-06-28 11:47:0
0.0<<< , TABNAM=E1OILSH, SEGNAM=E1OILSH, MANDT=000, DOCNUM=0000047112211178, SEG
NUM=000001, PSGNUM=000000, DTINT2=0<<<
Segment 1: >>>SDATA= >>>MSGFN=005, WERKS=1000, KUNNR=3000 <<< , TABNAM=E
1OILS1, SEGNAM=E1OILS1, MANDT=000, DOCNUM=0000047112211178, DTINT2=0, SEGNUM=000
002, PSGNUM=000001<<<
Segment 2: >>>SDATA= >>>MSGFN=005, VBELN=80008479, KUNNR=3000<<< , TABNAM=E1OIL
SA, SEGNAM=E1OILSA, MANDT=000, DOCNUM=0000047112211178, DTINT2=0, SEGNUM=000003,
PSGNUM=000001<<<
28-06-2003 2:51::Error In sending Idoc to SAP
28-06-2003 2:51::com.wm.app.b2b.server.ServiceException: Invalid IDoc format: Ex
pecting IDOC_CONTROL or IDOC_CONTROL_REC_40
how i can get this IDOC_CONTROL_REC_40
please urgent
thanks in advance…
with regards
satya