Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a script that loads a table and then stores it. All was working until I added a line that applies a mapping (ApplyMap). If I don't store that table the script runs fine. As soon as I add the line to store the table the script fails. Why?
Thanks,
Stephen
Hi,
Can you post that applymap line?
Celambarasan
This is the apply map line.
ApplyMap('CodeList',VBTYP_N) as VBFA_I.CodeDesc_VBTYP_N,
Hi
If you comment out the store statement does the script run OK, and is the mapping working the way you expected?
Regards
Jonathan
Yes the mapping runs fine and is correct. It only fails when I put in to Store code and the Store code works when I comment out the ApplyMap code.
Stephen
Stephen
Does it fail for both types of store (txt and qvd)?
I would check the contents of the mapping table as well. It sounds like something weird is happening when you use the mapping.
Can you post an example?
Jonathan
Solved. The the table that gets created (recreated) was locked, thus the script failed.