<?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 doubt in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380863#M811703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a BDC program when I run it with generate seesion option it is creating the session and when i execute it from sm35 everything is working fine. But when i run the bdc using call transaction mode it is not working as per the expectation. Anyway is there any that i can do in program so that i do not need to go to sm35 and execute the session. I mean the program itself should be able to find the seeion and process it internally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I want to provide an option to the user in selection screen to upload the file from the computer, like when user clicks F4 the file browser screen should appear and the selected file shoud transfer to the selection screen. how can i do that.  I have tried using the cl_gui_frontend_services , but no use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2008 09:54:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-22T09:54:19Z</dc:date>
    <item>
      <title>doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380863#M811703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a BDC program when I run it with generate seesion option it is creating the session and when i execute it from sm35 everything is working fine. But when i run the bdc using call transaction mode it is not working as per the expectation. Anyway is there any that i can do in program so that i do not need to go to sm35 and execute the session. I mean the program itself should be able to find the seeion and process it internally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I want to provide an option to the user in selection screen to upload the file from the computer, like when user clicks F4 the file browser screen should appear and the selected file shoud transfer to the selection screen. how can i do that.  I have tried using the cl_gui_frontend_services , but no use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:54:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380863#M811703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380864#M811704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Standard Program &lt;STRONG&gt;RSBDCSUB&lt;/STRONG&gt; to execute the Session automatically&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SUBMIT rsbdcsub WITH mappe = p_sesion(your session name)
WITH von = sy-datum
WITH bis = sy-datum
WITH z_verarb = 'X' AND RETURN.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:57:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380864#M811704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380865#M811705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to use call transaction instead of batch input. &lt;/P&gt;&lt;P&gt;you need to fill the bdc_tab table and then the sentence call transaction 'XXX' using bdc_tab mode 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mode N: no display of screens, if you want to see the screens change to mode = A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For browser the file, you can try F4_FILENAME.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 09:59:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380865#M811705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T09:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380866#M811706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for ur reply&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f4_filename has inport parameters program and dynpro no . I am developing a report program where there is a parameter varaible for this variable i want to attach the F4 help with the file searching capability??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 10:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380866#M811706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380867#M811707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have 3 parameters in F4_filename: program, dynpro and field_name.&lt;/P&gt;&lt;P&gt;In field_name pass the name of the variable in your screen (for example 'P_FILE') &lt;/P&gt;&lt;P&gt;Create the event AT-SELECTION SCREEN ON VALUE REQUEST FOR p_file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; --&amp;gt; here you can call the F4_filename.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 10:35:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380867#M811707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T10:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380868#M811708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this piece of code that it will not go to SM35. it will process the session internally&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM SUBMIT BATCH
  SUBMIT rsbdcsub VIA SELECTION-SCREEN AND  RETURN
      WITH mappe  = p_bdcgrp       " Session name
      WITH von    = sy-datum       " Date
      WITH fehler = space.
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 22, 2008 2:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 10:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380868#M811708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T10:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380869#M811709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my code is as shoen below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;        PROGRAM_NAME  = 'ysample'&lt;/P&gt;&lt;P&gt;        DYNPRO_NUMBER = '1000'&lt;/P&gt;&lt;P&gt;         FIELD_NAME    = p_file1&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;       FILE_NAME     = table_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click on F4 the file browsing window is openinf but when i select a file and click on open it is not transferring the fle path to p_file parameter. Instead it says " no session found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 11:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380869#M811709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: doubt in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380870#M811710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;PROGRAM_NAME = 'YSAMPLE'  "--&amp;gt;always in capitals &lt;/P&gt;&lt;P&gt;DYNPRO_NUMBER = '1000'&lt;/P&gt;&lt;P&gt;FIELD_NAME = 'P_FILE1' "--&amp;gt; here is the name,not the content&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;FILE_NAME = p_file1. "--&amp;gt; here is the variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this runs correctly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 11:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-bdc/m-p/3380870#M811710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T11:13:49Z</dc:date>
    </item>
  </channel>
</rss>

