<?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 Re: BDC!! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704295#M308592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN U EXPLAIN IT MORE CLEARLY TO ME PROBABLY WITH SOME CODE EXAMPLE??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Nov 2006 12:57:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-17T12:57:02Z</dc:date>
    <item>
      <title>BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704292#M308589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HELLO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOW DO U HANDLE LISTBOX IN RECORDING A TRANSACTION??&lt;/P&gt;&lt;P&gt;N HOW R THE VALUES PASSED INTO IT IN BDC??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKING U IN ANTICIPATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;SIRISHA MATTA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:48:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704292#M308589</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704293#M308590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sirisha,&lt;/P&gt;&lt;P&gt;Nothing extra is needed for Listbox, it acts as I/O field only, for checkboxes and radiobutton we use 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers....&lt;/P&gt;&lt;P&gt;Santosh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704293#M308590</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704294#M308591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sirisha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Listbox will have a Field Name. So basically if you know the Field name then you can pass the 'List box value' in it while doing BDC.&lt;/P&gt;&lt;P&gt;If based on the List box value there are some Dynamic screen, then use a logic to to call the screens accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:53:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704294#M308591</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704295#M308592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAN U EXPLAIN IT MORE CLEARLY TO ME PROBABLY WITH SOME CODE EXAMPLE??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 12:57:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704295#M308592</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T12:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704296#M308593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704296#M308593</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704297#M308594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey sirisha,&lt;/P&gt;&lt;P&gt;here I am posting some code for its not related to BDC but if u want u can check it for you reference &lt;/P&gt;&lt;P&gt;how to create it and code it u can use it as normal as u r doing with other fields but u have to code accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is some explanation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop down list box can be created in a dialog screen(SE51) as well as selection screen.&lt;/P&gt;&lt;P&gt;  The sap list box allows to select a value from the list but we cannot enter our own value in the list box .The value list that will be displayed consists of two&lt;/P&gt;&lt;P&gt;fields TEXT field of TYPE 80(C) and internal KEY field of TYPE 40(C).&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; In screen painter to create a input/output field into list box we use &lt;/P&gt;&lt;P&gt; 'L" as a value for dropdown attribute for the i/o field.&lt;/P&gt;&lt;P&gt; In screen painter to determine the type of method that will be used to fill the value&lt;/P&gt;&lt;P&gt;list we use the attribute value list.&lt;/P&gt;&lt;P&gt;If it is blank  the value list will be filled by the first column of the input help assigned to the screen field.This input help can be defined in the ABAP Dictionary, on screen using SELECT,VALUES screen statements or in event POV (PROCESS ON VALUE-REQUEST ) and the input help that will be passed to the field should consists of 2 columns ,the key column is filled automatically by the system.SAP recommends value list field should be blank.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;The value  can be 'A' meaning that the value list will be filled in the event PBO(PROCESS BEFORE OUTPUT) or before the screen is displayed.In this method we use function module VRM_SET_VALUES to fill the values and pass it to the i/o field.&lt;/P&gt;&lt;P&gt; If a function code is attached to the list box the selection of a value triggers a PAI&lt;/P&gt;&lt;P&gt;otherwise PAI will not trigger. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST BOX in SELECTION SCREEN&lt;/P&gt;&lt;P&gt;  List Box is created in selection screen using PARAMETERS staement &lt;/P&gt;&lt;P&gt;with AS LISTBOX addition other attributes like VISIBLE LENGTH (width of listbox)&lt;/P&gt;&lt;P&gt;can be specified with the declaration.&lt;/P&gt;&lt;P&gt;PARAMETERS name(n) AS LISTBOX VISIBLE LENGTH n.&lt;/P&gt;&lt;P&gt; Here n is an integer and name is the name of parameter.&lt;/P&gt;&lt;P&gt; To populate the value list we use the FM VRM_SET_VALUES  and the &lt;/P&gt;&lt;P&gt;selection screen event AT SELECTION-SCREEN OUTPUT is used to write the code to fill it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VRM_SET_VALUES     &lt;/P&gt;&lt;P&gt; The function module VRM_SET_VALUES is used to fill the value list associated with a List Box .This FM uses types which are declared in type group VRM. So &lt;/P&gt;&lt;P&gt;we should declare TYPE-POOLS VRM before using this FM.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; Some important types declared in the VRM type group are&lt;/P&gt;&lt;P&gt;VRM_ID&lt;/P&gt;&lt;P&gt;   It refers to the name of the input/output field associated with list box&lt;/P&gt;&lt;P&gt;VRM_VALUES&lt;/P&gt;&lt;P&gt;  It refers to the internal table consisting of two fields TEXT(80C) and KEY(40)C&lt;/P&gt;&lt;P&gt;that will be used to create the list values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;      ID                =  name of screen element ,it is of TYPE VRM_ID&lt;/P&gt;&lt;P&gt;      VALUES      =  internal table containing values,of TYPE VRM_VALUES  &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;LIST BOX with value list from input help&lt;/P&gt;&lt;P&gt; In this example the screen element attribute value list is set to blank as such the value list will be filled with the 1st column of the input help,We use PROCESS ON VALUE-REQUEST event to pass the value list  to the listbox.In the MODULE call used to fill the value list we can use FM like F4IF_INT_TABLE_VALUE_REQUEST to create input help as explained in the input help.The value of first column will be shown in the field when selected.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;FIELD list MODULE fill_list_100&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FIELD list MODULE fill_list_100 INPUT&lt;/P&gt;&lt;P&gt;SELECT f1 f2 FROM table INTO int &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            retfield        = 'input/output screen field'&lt;/P&gt;&lt;P&gt;            value_org       = 'S'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            value_tab       = itab "it contains 2 fields that will be shown in the list box&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            parameter_error = 1&lt;/P&gt;&lt;P&gt;            no_values_found = 2&lt;/P&gt;&lt;P&gt;            OTHERS          = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    ...&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;VALUE LIST CREATED IN PBO&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In this method we set the value list attribute to 'A'.The value list will be filled in the PBO by using FM VRM_SET_VALUES .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;TYPE-POOLS : VRM&lt;/P&gt;&lt;P&gt;DATA : field_id TYPE VRM_ID ,&lt;/P&gt;&lt;P&gt;            values  TYPE VRM_VALUES,&lt;/P&gt;&lt;P&gt;             value   LIKE LINE OF values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT&lt;/P&gt;&lt;P&gt;MODULE list_fill_100&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MODULE list_fill_100 OUTPUT&lt;/P&gt;&lt;P&gt;SELECT f1 f2 f3  FROM tab WHERE condition.&lt;/P&gt;&lt;P&gt;value-KEY = f1.&lt;/P&gt;&lt;P&gt;value-TEXT = f2&lt;/P&gt;&lt;P&gt;APPEND value TO VALUES&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'VRM_SET_VALUES'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            id     = 'i/o screen field' &lt;/P&gt;&lt;P&gt;            values = values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ENDMODULE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIST BOX with Selection Screen&lt;/P&gt;&lt;P&gt; For this the FM VRM_SET_VALUES is used to fill the value table and is passed to the parameter created with TYPE LISTBOX in the selection screen event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PROGRAM zlist&lt;/P&gt;&lt;P&gt;TYPE-POOLS : VRM.&lt;/P&gt;&lt;P&gt;DATA: param TYPE vrm_id, &lt;/P&gt;&lt;P&gt;       values     TYPE vrm_values, &lt;/P&gt;&lt;P&gt;       value LIKE LINE OF values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_name(10) AS LISTBOX VISIBLE LENGTH 10.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;  param = 'P_NAME'. &lt;/P&gt;&lt;P&gt;  value-key = '1'.&lt;/P&gt;&lt;P&gt;  value-text = 'JOHN'.&lt;/P&gt;&lt;P&gt;  APPEND value TO values.&lt;/P&gt;&lt;P&gt;  value-key = '2'. &lt;/P&gt;&lt;P&gt;  value-text = 'PETER'.&lt;/P&gt;&lt;P&gt;  APPEND value TO values. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'VRM_SET_VALUES' &lt;/P&gt;&lt;P&gt;    EXPORTING id     = param &lt;/P&gt;&lt;P&gt;              values = values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704297#M308594</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704298#M308595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally list box has only few fields of Input which is displayed in a list.So just fill the field with the INput when you pass data to the screen..For example Material type is "Beverages" in MM01 transaction then the BDC definition would be like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'X' 'SAPLMGMM' '060',&lt;/P&gt;&lt;P&gt;'  ' 'RMMG1-MTART' 'Beverages'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards If Helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vicky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 13:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704298#M308595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T13:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: BDC!!</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704299#M308596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;whenever  you  recording  transaction, list box  records  as   filedname  = 'X'  then &lt;/P&gt;&lt;P&gt;pas the  values  through flatfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2006 14:41:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/1704299#M308596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-17T14:41:59Z</dc:date>
    </item>
  </channel>
</rss>

