2008 Jun 11 4:07 PM
Hi,
I have an urgent issue.
A fixed value is required in the control record of the Idoc
For a particular receiver port I need to have The field "Logical address of recipient" (EDIDC-RCVLAD) to have a fixed value.
tcode :we02
Regards,
Jisha.
2008 Jun 12 12:47 PM
Hi,
For which Transaction you are creating / Message type generating IDoc.
For e.g if its Po, then in function Module IDOC_OUTPUT_ORDERS(for msg type ORDERS), you can search for 'CALL CUSTOMER-FUNCTION XXX'.
Look for Structure where the Control records are populated and populate you fields there in the Customer-Exits.
kindly let me know for further Informations
Regards,
Anbalagan.
2008 Jun 12 7:23 AM
Hi,
You can give values for the field EDIDC-RCVLAD from the Outbound IDoc side based on your conditions.
Hope it helps you.
Regards,
Anbalagan
2008 Jun 12 8:52 AM
Hi Anbalagan,
I am new to IDOC.Thanks for your response.I am not able to understand it.
I have to set a fixed value to the field "Logical address of recipient" (EDIDC-RCVLAD) for eg WXYZ when the recipient port (say for eg = DFGHJK) in we02 tcode.
How can I do this?
Is it possible through any user exit?
Please explain me in detail.I am just a junior programmer and this is my first issue in IDOC.
Helpful answers will be rewarded.
Regards,
Jisha.
2008 Jun 12 9:57 AM
Hi
Yes you can do this using user exit. But Just try in SM59(RFC destination also , U can do something there direclty ) .
User exit: Sample code
FIELD-SYMBOLS :<fs> LIKE LINE OF IDOC_CONTRL.
READ TABLE IDOC_CONTRL ASSIGNING <FS>
INDEX 1.
<FS> -RCVALD = '1265464'.
above may useful to set the value in User exit.
Hope it helps.
Rgds
Sree M
2008 Jun 12 11:48 AM
2008 Jun 12 11:26 AM
Hi,
You cant give values for the field EDIDC-RCVLAD in Transaction WE02.
You have to populate the Control Record for the field while sending Outbound IDoc in UserExits based on your requirement needs for Standard SAP Transactions.
If its a Z Report, you can populate the field with the respective values and generate the IDoc.
If any Clarifications required, do rasie points.
Regards,
Anbalagan
2008 Jun 12 11:56 AM
Hi Anbalagan,
There is no Zreport for this.
Sorry for telling this...I am not able to understand your answers.I am very new to IDOCs.Can you give me anwers as giving answer to the beginner.
I will reward you points when I get a helpul answer.
Regards,
Jisha.
2008 Jun 12 12:47 PM
Hi,
For which Transaction you are creating / Message type generating IDoc.
For e.g if its Po, then in function Module IDOC_OUTPUT_ORDERS(for msg type ORDERS), you can search for 'CALL CUSTOMER-FUNCTION XXX'.
Look for Structure where the Control records are populated and populate you fields there in the Customer-Exits.
kindly let me know for further Informations
Regards,
Anbalagan.
2008 Jun 12 3:11 PM
Hi Anbalagan,
thanks for spending your time to help me.
I have solved the issue.
In FM IDOC_OUTPUT_DELVRY
I found a user-exit.
Regards,
Jisha.