cancel
Showing results for 
Search instead for 
Did you mean: 

File name in control record of Idoc

Former Member
0 Kudos

Hello All,

I have come across a requirement for File to IDOC scenario where File name picked from dynamic configuration is to be stored in control record of IDOC. As file name is more than 45 chars long, I need to use a long field.

Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?

Regards

Prashant

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

IDOC control records fieds has relevance and it provided detail about sender receiver and port information.

Why u wanted to use these fields for storing File name? is any specific reason for that.

chirag

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks for your inputs!

Former Member
0 Kudos

Hi prashant,

You cannot use the ARCKEY for passing any value ..i.e it is not allowed to modify ..by runtime of SAP XI..

By default it will take the message id of the XI message...

You can use either of the other fields i.e. SNDLAD or RCVLAD we are using RCVLAD for correlatin purpose in our case..

HTH

Rajesh

Former Member
0 Kudos

Thanks for helpful answers!

As client want filename to be in IDOC for tracking purpose and I did not want to suggest to use a field at data level.

Regards

Prashant

Former Member
0 Kudos

Hi,

Yes u can use the field SNDLAD of IDOC to store the filename in ur scenario...

When u r processing the IDOC u need to change the logic accordingly..

Babu

Former Member
0 Kudos

I would suggest to use any other IDOC segment field which u r not passing any values or which is not going to be used anytime but make sure that IDOC segement occurance is one

chirag

Former Member
0 Kudos

Hi Prashant,

I understand that your requirement is to store name of picked up file in SAP system.

Can you I use ARCKEY, SNDLAD or RCVLAD fields or there is some restriction to use these fields, means will it impact something?

You can use them if you are sure that it would not affect routing routines and message processing in SAP ECC.

Regards,

Radek

Former Member
0 Kudos

Hello Prashant,

I dont know what is your requirement.

But this is not advisible to use control record parameters to store varibale.

i can understand , sometime to deterrmine the receiver system/ recever port/ sender etc... Dynamically u can map the control records..

But if want to use any control record for just storig the varibale, then you need to do additional code.

in process code once the idoc is created in SAP, u need to delete the record and then create a new record with correct value.

former_member208856
Active Contributor
0 Kudos

Control Record is used for sender & receiver systems informations. Standard system is checking & filling the entries in Control Record.

I tried to fill data in SNDLAD, it is working fine at my end.

You can also check the same.

But I am not sure for any impact.