2007 Apr 14 1:54 PM
Hi,
I am trying to configure a IDOC to send HR data.
The port is a file port instead of an RFC dest.
I have not defined Model view,
I am not using any Process Code in the message control parameters in WE20.
Which means no FM or calling program for collecting data into IDOC.
Is it possible to generate the IDOC this way. or is it a must to assign a process code.
Can you give me some insight on Process codes and file ports and how to configure them.
I did tried using the configuration Steps in SALE, unfortunately no results yet.
I am getting the following error
"
An IDoc without a message type was passed to the ALE layer,
The IDoc passed to the ALE layer could not be processed. The settings in the control record were not correct.
The logical message type (field MESTYP) was not passed.
The attempt to copy the value of the EDI message type (STDMES field) also failed, because this field was also empty.
Procedure
The fields mentioned above did not contain the values which they should have done in the calling program. "
So please mention the prerequisites to write a calling program.
Thanks & regards
Hi,
I am trying to configure a IDOC to send HR data.
The port is a file port instead of an RFC dest.
I have not defined Model view,
I am not using any Process Code in the message control parameters in WE20.
Which means no FM or calling program for collecting data into IDOC.
Is it possible to generate the IDOC this way. or is it a must to assign a process code.
Can you give me some insight on Process codes and file ports and how to configure them.
I did tried using the configuration Steps in SALE, unfortunately no results yet.
I am getting the following error
"
An IDoc without a message type was passed to the ALE layer,
The IDoc passed to the ALE layer could not be processed. The settings in the control record were not correct.
The logical message type (field MESTYP) was not passed.
The attempt to copy the value of the EDI message type (STDMES field) also failed, because this field was also empty.
Procedure
The fields mentioned above did not contain the values which they should have done in the calling program. "
So please mention the prerequisites to write a calling program.
Thanks & regards
2007 Apr 16 4:01 PM
Hi,
try to use generated Idoc processing programs via BAPIs: create bapi, create BUS via SW01, create ALE via BDBG.
Use only flat strucutres in BAPI.
Cheers,
Stefan
2007 Apr 16 4:12 PM
yes u can create idoc without using model view, process code.
use FM MASTERIDOC_CREATE_<message type> in ur se38 program Pass datas to the fields in the FM. U have to specify tje message type.
for ale create Trfc port. create destination in SM59 & specify it as Trfc port in WE21.
2007 Apr 16 7:30 PM