Author Topic: Reading data from a CRM system  (Read 4279 times)

rajesh.sabbineni

  • GuiXT Forum
  • Newbie
  • *
  • Posts: 26
    • View Profile
Reading data from a CRM system
« on: May 31, 2017, 11:53:09 AM »
Using rfcconnect option in call command, data can be read from CRM system. RFC calls up the function module in the CRM system instead of the current system.

Note: This feature is available from LiquidUI Desktop version 299 and LiquidUI server version 526

Example:         
        if(_database=='DEV'){
         strRFCConnect = 'MSHOST=sc2ddb,R3NAME=C2D,GROUP=C2D-APP';      
        } else if(_database=='QAS'){
         strRFCConnect = 'ASHOST=sclqci,SYSNR=09';
        } else if(_database=='PRD'){
         strRFCConnect = 'ASHOST=sclpci,SYSNR=09';
        }
      
        call('Z_BUPA_GET_GUID', {"in.I_PARTNER":"z_va0x_custid", "out.E_BP_GUID":"z_va0x_guid", "rfcconnect":strRFCConnect});

       if(!isBlank(z_va0x_guid)){
         z_va0x_guid = z_va0x_guid.substring(0,32).trim();
         set("F[P_CONTACT_GUID]", '&V[z_va0x_guid]');
       }

Please refer to below link on rfcconnect command and also how to add parameters in rfcconnect statement
http://www.guixt.com/knowledge_base/index.php?action=artikel&cat=74&id=83&artlang=en

Please refer to below link on how to call a function module and retrieve data
http://www.guixt.com/forum/index.php?topic=45.0
« Last Edit: May 31, 2017, 12:08:03 PM by rajesh.sabbineni »