‎2007 Oct 17 4:50 PM
Hi ,
I developed a program in se38 . For upload the data into SAP , I used call transaction method for this.
when I used the process mode as 'A' and 'E' its working successfully .But when I changed the process mode as 'N'. then its not uploading the data into SPA but its giving success message , but not loaded into SAP.working . why...........?
Please replay for this ASAP.
‎2007 Oct 17 4:53 PM
It happens becuase the error you get in the N Mode , actually appears as a SUCCESS Messages when you run ion A or E mode. Your BDC won't fail in A and E mode because the system thinks that is not an error, but in reality the message that has appeared as a Success message is not a success message at all.
Whatever happens in N mode has to be taken into account no matter how it behaves in other modes. And the error you are getting, means that you are trying to input into a field that is non existant in the screen you have specified, or is in input disabled mode.
are u executing BDC in background ???... background mode does not support display of any messages. Neither success nor errors...
To remove this error you can run your BDC in E mode where only screens with error will be displayed.
‎2007 Oct 17 4:53 PM
Hi Raghu,
may be some mandatory fields are not populating while executing in background, make sure to populate them.
Cheers,
Satish
‎2007 Oct 17 4:53 PM
When you run in "A" all screen mode, you are correcting error, wherever occurred. In "E" mode, it stops at the error screen and you are correcting error so it proceeds after that.
This error is not handled in "N" mode so it is giving error. Check the message table which will tell exactly what is the error.
ashish
‎2007 Oct 17 4:55 PM
Hi,
Just give COMMIT WORK after your call transaction. This will solve your problem,
a®