Question:
Hi,
I got solutions for other FOX problems, but wanted to see how this message statement work as this can be a very use full tool to debug the FOX code. When i use it as described in SAP help site, i dont see any message. system just executes and says no records read, none changed and none generated. My question is, Is it mandatory to change records when we use this message statement?
Thanks for your help.
John
Answer:
If there are 0 records in the package ("0 records read"), the BPS interface will not call the function, so it is normal then that your message is not being displayed, because the function is not even being executed.
Answer:
Hi Gullie,
Thanks for your reply, I have changed the package values and now the FOX fucntion reads 3 values for the specific condition but still my message is not displayed?
Have a good day
Regards
John
Answer:
Can you paste the piece of code where you are using the message statement?
Answer:
Hi Guille,
There was something wrong in Level after rectification i was able to get message. Can you please clear a small dout for me. This is also in the context of FOX.
Version(0 for Actual, 1 for plan and F01 for Jan, F02 for Feb... F12 for Dec), Month and Order # are my charecteristic combination and QTY is my KF.
I have to creat/replace a version FT1 based on month, i.e if i am in Feb i have to copy f02 to FT1, if in march i have to copy F03 to FT1 if in apr F04 to FT1.
How do u think we can achive this?
Thanks once again for your prompt reply.
John
Answer:
Hi Guille,
Me again, I guess i will be more precise so that its easy for you to answer. Can i have multiple charecteritics combination data in my package. Like package should contain all data pertaining to all versions and month combinations. when i give range for version, month and execute function system error is that "Select a single value" fucntion not executed.
Thanks
John
Answer:
It is indeed possible to select ranges or multiple values on the level or package.
Are you using a FOX formula or a Copy function? If you are using a copy function it is possible that BPS is requesting that you specify a single source or target object for the copy.
If it is a FOX formula, there should be no problem in selecting all versions and months (you just have to leave selection for those characteristics open or restrict them to the list of values you need).
Are you using a variable in the level? Maybe the variable was created ticking the "restriction of values required by user", so the system is forcing you to select a single value, but I don't think that is the message you get in that case
Can you provide more information about the exact settings of your functions and packages?
Sorry I cannot offer more help.