Anfang des Inhaltsbereichs

Funktionsdokumentation QRFC Client Programming Dokument im Navigationsbaum lokalisieren

QRFC is a type of TRFC programming that guarantees the function will be run in a certain order (if and when it is selected to run by the system administrator).

 

Example

 

private bool SAPUpdateQRFC()

{

/* this routine updates the customer list using (Q)RFC

 * use SMQ2 to see results in SAP */

RfcQueueItem mySAPQueue = new RfcQueueItem("DNCQueue", g_queIndex, RfcTID.NewTID());

try

   {

   proxy.QRfcRfc_Customer_Update(ref brfcknA1Table1, mySAPQueue);

   }

catch (Exception ex)

   {

   Debug.WriteLine(ex.ToString());

   return false;

   }

   g_queIndex ++; //increment the queue index for next time

   return true;

} //SAPUpdateQRFC

 

Ende des Inhaltsbereichs