11-29-2005 5:03 AM
Hi,
Sometimes, when I execute my IDoc output using RSNAST00,
I get the error 'FORM OF ADDRESS KEY NOT DEFINED'
What could be the problem. Has anybody else faced a similar error. The error does not happen if I don't use RSNAST00 and generate the IDoc while saving the application.(output type configuration).
Regards,
Vijay
11-29-2005 5:08 AM
What IDoc is this? Looks like there is some wrong address data in the IDOC that is causing it. Nothing to do with RSNAST00. Form of Address Key has a check table and some value is failing that validation.
Check your input,
Srinivas
11-29-2005 5:32 AM
One more problem.
How do I modify an existing segment in an IDoc.
I have to read one segment at an item level and modify a field.
CONCATENATE lwa_edidd-sdata lwa_e1edpa1-pfort INTO lwa_edidd-sdata.
DELETE int_edidd INDEX sy-tabix.
int_edidd-segnam = 'E1EDPA1'.
int_edidd-sdata = lwa_edidd-sdata.
APPEND int_edidd.
If I do the above thing, it is adding the new field but not under field name PFORT but under the field name TITLE. Any pointers to this?
11-29-2005 6:34 AM
Hi,
To change the segment values you need to implement function exits.
The code should be like..check the segment name and read the SDATA and change the field values whatever u want. Hope it solves your problem
Cheers
Rajavardhana Reddy
02-28-2006 10:19 AM
Hi Vijay,
I got the same problem as yours.I have to change the filed values at item level .I come to know the field values at runtime only.How did you solve this.Could please help me?
Thanks in advance,
sudha