Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

TO set fixed value for filed EDIDC-RCVLAD

Former Member
0 Kudos
2,037

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
800

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.

8 REPLIES 8

Former Member
0 Kudos
800

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

0 Kudos
800

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.

0 Kudos
800

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

0 Kudos
800

Hi,

In which user-exit can I do this?

Regards,

Jisha.

Former Member
0 Kudos
800

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

0 Kudos
800

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.

Former Member
0 Kudos
801

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.

0 Kudos
800

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.