cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Data Services Error Codes. What Do These Mean ?

dunncrew
Explorer
0 Kudos

We have a fairly simple SAPDS job that sends out TXT files via FTP. It fails sometimes with error codes, but I don't understand the cause, and what the codes mean. How can I get more useful info ?

For example:

Function call <exec ( cmd, D:\OutBound\BatchFiles\BatchFile02.bat, 0 ) > failed, due to error <50306>: <Function <exec>
failed to execute program <cmd D:\OutBound\BatchFiles\BatchFile02.bat>. Program terminated with exit code <13>.>.

View Entire Topic
Julian_Riegel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

kindly refer to: https://community.sap.com/t5/technology-q-a/error-moving-files-from-one-folder-to-another-in-script-...

or https://community.sap.com/t5/technology-q-a/bods-exec-function-and-the-flags-parameter/qaq-p/1103791...

Try to use 8 as your flag which will usually show the full error message. Something like:

 

exec( [in] FileName As varchar, [in] Arguments As varchar, 8);

 

and post it here.

Explanations to the flags as per Reference Guide:

Julian_Riegel_0-1714630762686.jpeg

BR,

Julian