<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DI API emulate Ctrl Tab in SAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903104#M1962455</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Is there any way to put in your value for CardName instead of getting its corresponding value based on the inputted CardCode? Because if you use DI API, it automatically gets the values corresponding to the CardCode inputted. I want to put in a different value without editing the BP Master, more like using the Ctrl Tab after entering the different card name in a document in SAP.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2019 05:26:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-04-16T05:26:55Z</dc:date>
    <item>
      <title>DI API emulate Ctrl Tab in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903104#M1962455</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;Is there any way to put in your value for CardName instead of getting its corresponding value based on the inputted CardCode? Because if you use DI API, it automatically gets the values corresponding to the CardCode inputted. I want to put in a different value without editing the BP Master, more like using the Ctrl Tab after entering the different card name in a document in SAP.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 05:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903104#M1962455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-16T05:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: DI API emulate Ctrl Tab in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903105#M1962456</link>
      <description>&lt;P&gt;Dear  &lt;SPAN class="mention-scrubbed"&gt;limdentin&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;You can use the `SendKeys()` Method described in SAP Business One SDK Help.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Application.SBOAplication.SendKeys("{^}{TAB}");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Here are all the supported keys;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Backspace&lt;/STRONG&gt; 
&lt;CODE&gt;{BACKSPACE}&lt;/CODE&gt;, 
&lt;CODE&gt;{BS}&lt;/CODE&gt;, or &lt;CODE&gt;{BKSP}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Break&lt;/STRONG&gt; 
&lt;CODE&gt;{BREAK}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caps Lock&lt;/STRONG&gt; 
&lt;CODE&gt;{CAPSLOCK}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Delete&lt;/STRONG&gt; 
&lt;CODE&gt;{DELETE}&lt;/CODE&gt; or 
&lt;CODE&gt;{DEL}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Down Arrow&lt;/STRONG&gt; 
&lt;CODE&gt;{DOWN}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End&lt;/STRONG&gt; 
&lt;CODE&gt;{END}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Enter&lt;/STRONG&gt; 
&lt;CODE&gt;{ENTER}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Esc&lt;/STRONG&gt; 
&lt;CODE&gt;{ESC}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Help&lt;/STRONG&gt; 
&lt;CODE&gt;{HELP}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Home&lt;/STRONG&gt; 
&lt;CODE&gt;{HOME}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Insert&lt;/STRONG&gt; 
&lt;CODE&gt;{INSERT}&lt;/CODE&gt; or 
&lt;CODE&gt;{INS}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Arrow&lt;/STRONG&gt; 
&lt;CODE&gt;{LEFT}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Num Lock&lt;/STRONG&gt; 
&lt;CODE&gt;{NUMLOCk}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Page Down&lt;/STRONG&gt; 
&lt;CODE&gt;{PGDN}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Page Up&lt;/STRONG&gt; 
&lt;CODE&gt;{PGUP}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Right Arrow&lt;/STRONG&gt; 
&lt;CODE&gt;{RIGHT}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scroll Lock&lt;/STRONG&gt; 
&lt;CODE&gt;{SCROLLLOCK}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tab&lt;/STRONG&gt; 
&lt;CODE&gt;{TAB}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Up Arrow&lt;/STRONG&gt; 
&lt;CODE&gt;{UP}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;F1&lt;/STRONG&gt;, &lt;STRONG&gt;F2&lt;/STRONG&gt;, 
&lt;STRONG&gt;F3&lt;/STRONG&gt;... 
&lt;CODE&gt;{F1}&lt;/CODE&gt;, &lt;CODE&gt;{F2}&lt;/CODE&gt;, 
&lt;CODE&gt;{F3}&lt;/CODE&gt;... 
&lt;/P&gt;&lt;P&gt;Combination Keys;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shift&lt;/STRONG&gt; 
&lt;CODE&gt;{+}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Ctrl&lt;/STRONG&gt; 
&lt;CODE&gt;{^}&lt;/CODE&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt&lt;/STRONG&gt; 
&lt;CODE&gt;{%}&lt;/CODE&gt;
&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sincerely,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Varnavas Eleftheriou&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 05:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903105#M1962456</guid>
      <dc:creator>ens_</dc:creator>
      <dc:date>2019-04-16T05:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: DI API emulate Ctrl Tab in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903106#M1962457</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I mean how to force CardName to be value I pass in DI, not the one corresponding value of CardCode in OCRD. &lt;/P&gt;&lt;P&gt;Example in Incoming Payment, I use Customer1 as CardCode. In OCRD table, Customer1 has corresponding Dennis as CardName.&lt;/P&gt;&lt;P&gt;When I use DI API to add Incoming Payment, I don't want DI to automatically put Dennis as CardName, I want to put in another value say Peter.&lt;/P&gt;&lt;P&gt;In SAP application you can do this by inputting Peter in the Name field then press Ctrl Tab to go to the next field in the form.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 06:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903106#M1962457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-16T06:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: DI API emulate Ctrl Tab in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903107#M1962458</link>
      <description>&lt;P&gt;Dear  &lt;SPAN class="mention-scrubbed"&gt;limdentin&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;You have to set the cardname right after you set the cardcode &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;oIP = ((SAPbobsCOM.Documents)(globals.oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)));
oIP.CardCode = bpcode;
oIP.CardName = "NewNameYouWantToGiveToTheDocument";
&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Sincerely,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Varnavas Eleftheriou&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2019 07:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903107#M1962458</guid>
      <dc:creator>ens_</dc:creator>
      <dc:date>2019-04-16T07:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: DI API emulate Ctrl Tab in SAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903108#M1962459</link>
      <description>&lt;P&gt;Hi Varnavas,&lt;/P&gt;&lt;P&gt;I already did that. Still CardName is based on CardName in OCRD not inputted CardName in code&lt;/P&gt;&lt;P&gt;Set oPayments = sapCompany.GetBusinessObject(oIncomingPayments)&lt;BR /&gt;  oPayments.CardCode = .Fields("CardCode")&lt;/P&gt;&lt;P&gt;oPayments.CardName = .Fields("CardName")&lt;/P&gt;&lt;P&gt;After adding it to SAP, I check on Incoming Payment document, CardName is not the one I wanted but the one in the Business Partner.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 02:11:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/di-api-emulate-ctrl-tab-in-sap/m-p/11903108#M1962459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-04-17T02:11:28Z</dc:date>
    </item>
  </channel>
</rss>

