‎2007 Sep 17 5:10 PM
Hi,
I was running a BDC program with the user for F-28 Post incomming payments. After processing the BDC session it is giving the error saying Negative values not allowed. Can some one please help me find out what is this error and how to fix it.
Thanks,
Neelu.
‎2007 Sep 17 5:17 PM
hi neelu,
this transaction is doing some posting to Finance Modul. In Accounting negative values are not allowed, but somehow the program wanted to post negative value to an account. This is the error. What you can do is that whe the program creates the BI session, you have to stop it at the posint when the negative value is assigned to the transaction, and you have to debug, how it becomes negative.
hope this helps
ec
‎2007 Sep 17 5:25 PM
Hi Neelu,
Best thing would be to debugg the program. Then you can know whether the negative values are coming from the flat file or after uploading the flat file data into your program, is there any logic written to convert into negative value etc.
Hope this helps.
Thanks,
Srinivasa
‎2007 Sep 17 5:37 PM
Thank you Eric and Srinivasa.
This program was in production from sometime. Some one else did this program. I was just helping the user. After creating the session should I run it in the foreground? This is really large check with 30,000 records. Please help me. User is in a hurry to clear this check immediately.
Regards,
Neelu.
‎2007 Sep 17 5:48 PM
hi neelu,
you should run with type E, so it stops only when there is a problem (i. e. negative value). On the other hand it looked like (at least for me), that the BDC was already running and you know which transactuion has the problem. But the main idea was to go back to the program that creates this BDC, because the real problem is there.
ec
‎2007 Sep 17 6:01 PM
Hi Eric,
The program takes the text file as input file and creates the session. When I go to SM35 here I have 3 options to run, fore ground, back ground and display errors only. In additional functions I have Extended log, Expert mode and Dynpro standard size(This is the one checked automatically).
Should I select Display errors only and run it? Please help me with this problem.
Thanks,
Neelu.
‎2007 Sep 17 6:09 PM
first run in Background, so if there are too many lines with errors, than it happens in the background. If it is finished, now you have a log, so you know how many problems are there.
If there are not too much you can do in Display errors only mode, to have a closer look. But as I told you have to debug tha main program which creates the BDC
‎2007 Sep 17 6:17 PM
Hi Eric,
Thank you.
User said she is using the program from last few months and she said it was running ok. I checked the log it is not showing any errors now, only the Negative values not allowed error. When we ran first time it gave one error few times, 'No appropriate line item is contained in this document' and after giving reason codes, now no more errors.
Thanks,
Neelu.
‎2007 Sep 17 6:39 PM
Hi,
How should I run with type E, so it stops only when there is a problem?
Thanks,
Neelu.
‎2007 Sep 17 6:43 PM
Hi Neelu,
While executing the program you can set the display mode if the parameter is there on the selection screen else you have to set the parameter in debugging mode.
After session is created,select the radio button for 'Display Errors only' and then run the session during the processing of the session.
Hope this helps.
Please reward if useful.
Thanks,
Srinivasa
Message was edited by:
Srinivasa Bhanuprasad Moningi
‎2007 Sep 17 7:06 PM
Hi,
Can I select the 'Display Errors only' for session processing to stop when error is there and at that point can I correct the error and process remaining in foreground?
Thanks,
Neelu.
‎2007 Sep 17 6:45 PM
Hi Neelu,
just take 2 records in the flat file and run it in the foreground with functional guy.
This issue is belongs to Configuration , so better to sit with functional and show them where the error is raised .
if not the configuration problem just check in the flat file the values available is with -ve r not .
No Doudt this is mostly functional configuration.
Thanks
Naveen khan
Message was edited by:
Pattan Naveen
‎2007 Sep 18 8:54 PM
Hi,
We split the check in to 3 10,000 records. Two of them processed without any problem. One check gave problem with 2 records of less than dollor deposits. I corrected it and the check processed.
Thank you all for your help.
Now I have to figure out why the program did not take less than dollor amounts as deposits and why it was taking those as credits(negative numbers).
Regards,
Neelu.