cancel
Showing results for 
Search instead for 
Did you mean: 

ALE: IDoc Ready for Dispatch

Former Member
0 Kudos

Dear All,

I am transmitting data using Function Module in ALE/IDoc in WE05 Status of my Idoc is READY FOR DISPATCH what should i do to Transfer it complete with the help of FM.

thanks

RP

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

In your partner profile, did you create the same as transfer Immediately?

Regards

Bhavesh

Former Member
0 Kudos

Dear,

Tell me how to recieve IDoc at Reciever side with the help of Function Module.

plz if possible send me code in ABAP.

thanks,

RP

prabhu_s2
Active Contributor
0 Kudos

what is ur scenario? based on that we can get u some inputs

Former Member
0 Kudos

Dear,

I am sending MATNR and MAKTX from Client 1(ABAP Program FM:MASTER_IDOC_DISTRIBUTE)

now at reciever side I want to insert data fron IDoc to my ZTable i have configured and created my FM but dont have idea to write ABAP Code

plz help me,

thanks,

RP

prabhu_s2
Active Contributor
0 Kudos

okie u can have a f/n module which will update the ztable and assign this function module to Message type and IDoc type thru the transaction we57. followed by creation of process code and assign the message type to the idoc type. other stuffs like creation of ports, maintaing partner profiles are to be defined.

Former Member
0 Kudos

Dear,

I have defined everything even i checked from WE19 Test Pool of IDoc and in BD87 is shows posted to system

but how can i insert data into my ZTable.

plz help,

Thanks,

RP

prabhu_s2
Active Contributor
0 Kudos

what is the funtionality u have carried out in ur f/n mod?

prabhu_s2
Active Contributor
0 Kudos

inside the f/n mod u need to strip the data from the segments and then using a modify or insert stmt u can update the ztable

Former Member
0 Kudos

Hi,

see inbound side function module you can create proccessing code and configure it in bound side Partner profile.

Please see the below link

http://help.sap.com/saphelp_erp2005vp/helpdata/en/dc/6b805a43d711d1893e0000e8323c4f/frameset.htm

Regards

Chilla..

Former Member
0 Kudos

Fine Dear,

plz help me to do the same i am bit confused

plz provide me standard FM for INbound

and suggest how to code for inserting MATNR MAKTX

thanks,

RP

prabhu_s2
Active Contributor
0 Kudos

since u r using a customized idoc u will not be able to use a std f/n mod. u need to go a customized one. below are the table parameters for the f/m module:

idoc_control like edidc, idoc_data like edidd, idoc_status like bdidocstat, return_variables like bdwretvar, serilization_info like bdi_ser...the export and import parameter will be the same like other f/n module used for idoc processing. idoc_data carries ur data and below is just a sample which u can use as a ref:

READ TABLE idoc_data WITH KEY segnam = <seg> INTO <strucutre>
      IF sy-subrc = 0.
        MOVE <strucutre>-sdata TO <segment_type>

Former Member
0 Kudos

Hi,

Please do with We42, and search with WE64,

more details see

http://help.sap.com/saphelp_nw04/helpdata/en/04/25fbd69e3511d188da0000e8216438/frameset.htm

and

to create with abap fm see

Regards

Chilla..

prabhu_s2
Active Contributor
0 Kudos

one imp point to note abt the f/n mod. it shud be remote enabled with start immdiately (in attributes) and not a normal f/n module

Former Member
0 Kudos

Dear,

at sender side in BD87 i found IDoc Sent but at Reciever side i am not getting it

configuration is defined correct

i need to assign port any where

and to get data immediately what should i do

i have created FM at sender with Normal FM attribute.

plz reply

Thanks,

RP

prabhu_s2
Active Contributor
0 Kudos

it shud be remote enabled with start immdiately (in attributes) and not a normal f/n module

Former Member
0 Kudos

Dear,

at reciever side it will insert data into table Automatically?

i am getting single MATNR every time and that is same?

i need to do anything in WE19?

i need to assign port anywhere?

plz reply

RP

Former Member
0 Kudos

Dear,

but doing this i am getting Error Refference Parameter not allowed with RFC.

RP

prabhu_s2
Active Contributor
0 Kudos

<b>at reciever side it will insert data into table Automatically?</b>

yes

<b>i am getting single MATNR every time and that is same?</b>

can u refresh the table...delete aall the entries and then see if the materials are posted into the zidoc

Former Member
0 Kudos

Dear,

where should i check first at reciever side that my IDoc is recieved or not.

because at sender BD87 i m getting message Idoc sent. but at BD87(Reciever) i am not getting any thing

plz help.

RP

prabhu_s2
Active Contributor
0 Kudos

check in we02 (i/b idoc)

Former Member
0 Kudos

Dear,

it gives error Reciever Port in Control Record Is Invalid.

also IDoc at Reciever does not change data content in it

RP

prabhu_s2
Active Contributor
0 Kudos

check if the recv.port is valid...

Former Member
0 Kudos

How dear?

plz i think its problem of PORT

plz help.

RP

Former Member
0 Kudos

Hi,

In WE21, Please check for port is valid or not,and RFC Destination you configured is valid or not.

..

First check with WE02 and select 2 as direction .. then you can see the inbound side Idoc with status..

..Can you please check the Idoc status..So that problem will be routed..

Regards

Chilla...

prabhu_s2
Active Contributor
0 Kudos

this shud be probelm with port setting. can u elobrate on how did u configure the port. we will try to troubleshoot it asap

Former Member
0 Kudos

Plz tell me for reciever the RFC should be LS of Sender

and for sender RFC sholud be LS of Reciever.

RP