<?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 BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765658#M905997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me the procedure (full) of writing the BDC program along with its recording.&lt;/P&gt;&lt;P&gt;Don't provide me the links..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Aastha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 10:38:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T10:38:06Z</dc:date>
    <item>
      <title>BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765658#M905997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody tell me the procedure (full) of writing the BDC program along with its recording.&lt;/P&gt;&lt;P&gt;Don't provide me the links..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Aastha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:38:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765658#M905997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765659#M905998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aastha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is BDC?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Answer :   Batch Data Communication or BDC is a batch interfacing technique that SAP developed.  It is mainly used for uploading data into the SAP R/3 system.   BDC works by simulating the user input from transactional screen via an ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data input data file will come in the form of a flat file which the user save as file type txt file or prn file from the Microsoft Excel program.  An Abaper will create a program to read the text file and upload into the SAP system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, the tcode SHDB will be used to record the transaction code the user used.  After, the simulation, the Abaper can generate a sample program and modify from there.  It makes the programming easier and faster.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;other related questions and answers:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is recording?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As the word record implies, it mean recording the keystroke of the user input of a SAP transaction screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Why it is used?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is normally used for mass update or uploading of data to the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What is its need?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It help to save time for the users who need to mass change the system data.  For e.g. tax rate change announce by the country government.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How it is related with bdc?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It is related to bdc because bdc programming allows recording of user inputs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To learn how to upload data using BDC. If I have a excel data file how will upload it using BDC, following are the Steps to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a BDC upload you need to write a program which created BDC sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps:&lt;/P&gt;&lt;P&gt;1. Work out the transaction you would use to create the data manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Use transaction SHDB to record the creation of one material master data.&lt;/P&gt;&lt;P&gt;    Click the New recording button or the Menu - Recording - Create&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Save the recording, and then go back a screen and go to the overview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Select the recording and click on Edit - Create Program. Give the program a Z name, and select transfer from recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. Edit the program. You will see that all the data you entered is hard-coded into the program. You need to make the following changes:&lt;/P&gt;&lt;P&gt;5.1 After the start-of-selection, Call ws_upload to upload the file (the excel file needs to be saved as TAB separated).&lt;/P&gt;&lt;P&gt;5.2 After the open-group, Loop on the uploaded data. For each line, perform validation checks on the data, then modify the perform bdc_field commands to use the file data.&lt;/P&gt;&lt;P&gt;5.3. After perform bdc_transaction, add the endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute the program. It will have options to create a batch session or to process directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are all my finds . Might be it will be useful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct call of transactions, session handling:&lt;/P&gt;&lt;P&gt;/nxxxx This terminates the current transaction, and starts transaction xxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/n This terminates the transaction. This generally corresponds to pressing F15 to go back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/nend This termiantes all separate sessions and logs off (corresponds to System - Logoff).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/nex This terminates all separate sessions and logs off immediately (without any warning!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/oxxxx This opens a new session and starts transaction xxxx in This session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/o This lists existing sessions and allows deletion or opening of a new session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/i This terminates the current session (corresponds to System End&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/i1, /i2,... This terminates the session with the number given.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.xyzw Fast path: 'xyzw' refers to the underlined letters in the menus. This type of navigation is uncommon and is provided more for emergencies (such as a defective mouse).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch&lt;/P&gt;&lt;P&gt;The following commands can be entered in correction mode ('Process in foreground' or 'Display errors only') when processing a batch input session:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/n This terminates the current batch input transaction and characterizes it as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/bdel This deletes the current batch input transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/bend This terminates batch input processing and sets the session to Failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/bda This switches from Display errors only to Process in foreground&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/bde This switches from Process in foreground to Display errors only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP/4&lt;/P&gt;&lt;P&gt;/h This switches into debugging mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/hs This switches into debugging mode and activates the debugging of system functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffer&lt;/P&gt;&lt;P&gt;WARNING: Resetting buffers can significantly change the performance of the entire system for a long time.&lt;/P&gt;&lt;P&gt;It should therefore only be used where there is a good reason tdso. As of release 3.0B system administator authorization is required (authorization object (S_ADMI_FCD). The action is noted in the system log.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/$SYNC This resets all buffers of the application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/$CUA This resets the CUA buffer of the application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/$TAB This resets the TABLE buffers of the application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/$NAM This resets the nametab buffer of the application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/$DYNP This resets the screen buffer of the application server &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click Below Link to Download a PDF File which provides a Step-by-Step Procedure to Create a BDC Recording:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="http://www.sap-img.com/bdc.htm" target="test_blank"&gt;http://www.sap-img.com/bdc.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&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;Sunil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765659#M905998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765660#M905999</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;This is the step by step procedure of BDC Call Transaction with an simple example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC CALL TRANSACTION METHOD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we cannot modify the error record using direct input method, we go for call transaction method. Here, we create a screen to populate error records in input fields and from the screen, we can modify the error records and then insert into database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps to be followed in Call Transaction MEthod:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Analyze the flat file.&lt;/P&gt;&lt;P&gt;2. Create a screen for database table fields using MPP. Create a Transaction code for the screen.&lt;/P&gt;&lt;P&gt;3. Write the following code in SE38 editor:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA : BEGIN OF ITAB OCCURS 0,
STR(255),
END OF ITAB.

CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\KNA.TXT'
FILETYPE = 'ASC'
TABLES
DATA_TAB = ITAB.

DATA ITAB1 LIKE KNA1 OCCURS 0 WITH HEADER LINE.
DATA JTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.

LOOP AT ITAB.

SPLIT ITAB-STR AT ',' INTO ITAB1-KUNNR ITAB1-NAME1 ITAB1-ORT01
ITAB1-LAND1.
APPEND ITAB1.

ENDLOOP.

LOOP AT ITAB1.

PERFORM PROGINFO USING 'SAPMZCALLTRANSACTION' '100'.

PERFORM FLDINFO USING 'KARTHIK-KUNNR' ITAB1-KUNNR.
PERFORM FLDINFO USING 'KARTHIK-NAME1' ITAB1-NAME1.
PERFORM FLDINFO USING 'KARTHIK-ORT01' ITAB1-ORT01.
PERFORM FLDINFO USING 'KARTHIK-LAND1' ITAB1-LAND1.

CALL TRANSACTION 'ZCALLTRANS' USING JTAB.

ENDLOOP.

FORM PROGINFO USING PROGNAME SCRNUM.

CLEAR JTAB.
REFRESH JTAB.

JTAB-PROGRAM = PROGNAME.
JTAB-DYNPRO = SCRNUM.
JTAB-DYNBEGIN = 'X'.

APPEND JTAB.

ENDFORM.

FORM FLDINFO USING FLDNAME FLDVALUE.

CLEAR JTAB.

JTAB-FNAM = FLDNAME.
JTAB-FVAL = FLDVALUE.

APPEND JTAB.

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save -&amp;gt; Activate -&amp;gt; Execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDCDATA is a structure used to populate the internal table records into the screen fields. The BDCDATA structure has following components:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROGRAM - Holds the name of MPP program where the screen is created.&lt;/P&gt;&lt;P&gt;DYNPRO - Holds the screen number where the internal fields to be populated.&lt;/P&gt;&lt;P&gt;DYNBEGIN - Used to initiate the screen when the program is executed. The default value to be specified is 'X'.&lt;/P&gt;&lt;P&gt;FNAM - Specifies input field name in the screen where the data is to be populated.&lt;/P&gt;&lt;P&gt;FVAL - Specifies from which internal table field, the data should be passed to the screen field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'CALL TRANSACTION' statement is used to call the screen created to populate error records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYNTAX:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;lt;Tcode&amp;gt; USING &amp;lt;BDCDATA_itab&amp;gt; MODE &amp;lt;mode&amp;gt; UPDATE &amp;lt;update&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODE: This is used to specify which mode to be followed when calling transaction. The types of mode are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A - Display the screen.&lt;/P&gt;&lt;P&gt;E - Display only error records from the flat file.&lt;/P&gt;&lt;P&gt;N - Background processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: This is used to specify the update task of records in the database table. The types of update tasks are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A - Asynchronous update&lt;/P&gt;&lt;P&gt;S - Synchronous update&lt;/P&gt;&lt;P&gt;L - Local update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages of CALL TRANSACTION:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Error records can be modified.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This method can be used in support projects.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reward If Helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765660#M905999</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765661#M906000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Follow the bellow steps.&lt;/P&gt;&lt;P&gt;Give the t-code shdb in the command field.&lt;/P&gt;&lt;P&gt;Click the new recording button.&lt;/P&gt;&lt;P&gt;Give a name to the recording and the t-code you want to record.&lt;/P&gt;&lt;P&gt;E.g.: &lt;/P&gt;&lt;P&gt;          Recording                           : ZMAT_UPLOAD&lt;/P&gt;&lt;P&gt;          Transaction code                : MM01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you click save, it takes you to t-code (MM01) you would like to do recording for upload.&lt;/P&gt;&lt;P&gt;Record carefully. Fill in the details you want to upload. In this case I have entered the material no, industry sector, material type, material description and basic unit of measure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the Transaction recorder &amp;#150; edit recording ZMAT_UPLOAD screen is displayed. You can edit your recording or just save it and click back button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select your recording and click create program button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the program name say ZMAT_UPLOAD.Select the transfer from recording option. Save it.Give the program title, type as executable program and click source code button at the bottom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following piece of code is generated automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZMAT_UPLOAD&lt;/P&gt;&lt;P&gt;no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                       'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                       '=AUSW'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;                                       'MYMATERIAL10'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'RMMG1-MBRSH'&lt;/P&gt;&lt;P&gt;                                       'P'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'RMMG1-MTART'&lt;/P&gt;&lt;P&gt;                                       'ZOH'. &lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                       'MSICHTAUSW-DYTXT(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                       '=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;                                       'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '4004'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                       '=BU'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                       'MY MATERIAL10'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                       'MARA-MEINS'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                                       'G'.&lt;/P&gt;&lt;P&gt;perform bdc_field          using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;                                       'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MM01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the above code it is clear that recording has been created using matnr = mymaterial10 , industry sector = p , material type = zoh , description = my material10 , basic unit of measure = g. For our case I have assumed industry sector and material type to be constant and have not included in flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The colored lines in the below code are the changes made to the sap generated program , to upload our data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Programmed by : Kavitha Bhuvaneswaran..................................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Description : program to upload new materials...........................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Technique used : BDC recording.................................................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report ZMAT_UPLOAD&lt;/P&gt;&lt;P&gt;       no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;types declaration..........................................................................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of t_mat,&lt;/P&gt;&lt;P&gt;   matnr(20),&lt;/P&gt;&lt;P&gt;   desc(50),&lt;/P&gt;&lt;P&gt;   uom(5),&lt;/P&gt;&lt;P&gt;end of t_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;internal table and workarea declaration.......................................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : i_mat type table of t_mat.&lt;/P&gt;&lt;P&gt;data : wa_mat type t_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include bdcrecx1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;moving the flat file content to internal table................................&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'UPLOAD'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;         FILETYPE                                      = 'DAT'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;         data_tab                                           = i_mat&lt;/P&gt;&lt;P&gt;         .&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform open_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_mat into wa_mat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLMGMM' '0060'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                   'RMMG1-MATNR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=AUSW'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MATNR'&lt;/P&gt;&lt;P&gt;                                    wa_mat-matnr.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MBRSH'&lt;/P&gt;&lt;P&gt;                                    'P'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RMMG1-MTART'&lt;/P&gt;&lt;P&gt;                                    'ZOH'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro   using 'SAPLMGMM' '0070'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'MSICHTAUSW-DYTXT(01)'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=ENTR'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'&lt;/P&gt;&lt;P&gt;                                    'X'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro   using 'SAPLMGMM' '4004'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                    '=BU'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MAKT-MAKTX'&lt;/P&gt;&lt;P&gt;                                    wa_mat-desc.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                    'MARA-MEINS'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MEINS'&lt;/P&gt;&lt;P&gt;                                    wa_mat-uom.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'MARA-MTPOS_MARA'&lt;/P&gt;&lt;P&gt;                                    'NORM'.&lt;/P&gt;&lt;P&gt;perform bdc_transaction using 'MM01'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perform close_group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test the above modified program. We get a selection screen as below.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;We can choose either the session or call transaction method. In our case we continue with session method. Give a name to session say ZMAT_UPLOAD and execute. Then we get the prompt as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter your flat file name and click transfer. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;We get the below list.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Then go to SM35 and select your session and click process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can process it in any of the 3 modes as shown below.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If you are using the call transaction method you can select the run mode in the initial screen itself. (see page 5).Then we must browse for the flat file.(see page 6). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data gets uploaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer &amp;amp; Liability Notice&lt;/P&gt;&lt;P&gt;This document may discuss sample coding, which does not include official interfaces and therefore is not supported. Changes made based on this information are not supported and can be overwritten during an upgrade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP will not be held liable for any damages caused by using or misusing of the code and methods suggested here, and anyone using these methods, is doing it under his/her own responsibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of the technical article, including any liability resulting from incompatibility between the content of the technical article and the materials and services offered by SAP. You agree that you will not hold SAP responsible or liable with respect to the content of the Technical Article or seek to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward,if useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:46:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765661#M906000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765662#M906001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Step 1&lt;/P&gt;&lt;P&gt;Execute transaction recorder, transaction SHDB or recording button via transaction SM35.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2&lt;/P&gt;&lt;P&gt;Enter name for recording (can be anything)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3&lt;/P&gt;&lt;P&gt;Enter transaction to be executed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 4&lt;/P&gt;&lt;P&gt;The transaction will now be executed, simply perform the actions you want to record.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 5&lt;/P&gt;&lt;P&gt;Once you have finished the recording, select the save button. Then go back a screen and go to the overview. This details the screens and fields that have been processed during the recording and will be used as a basis to create BDC ABAP program.  Select the recording and click on Edit - Create Program. Give the program a Z name, and select transfer from recording. Edit the program. You will see that all the data you entered is hard-coded into the program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the sample report:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZBDC_EXAMPLE  NO STANDARD PAGE HEADING
                      LINE-SIZE 132.

* Data declaration
TABLES: ekko, ekpo.

TYPES: BEGIN OF t_ekko,
    ebeln TYPE ekko-ebeln,
    waers TYPE ekko-waers,
    netpr TYPE ekpo-netpr,
    err_msg(73) TYPE c,
 END OF t_ekko.

DATA: it_ekko  TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      wa_ekko  TYPE t_ekko,
      it_error TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      wa_error TYPE t_ekko,
      it_success TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
      wa_success TYPE t_ekko.

DATA: w_textout            LIKE t100-text.
DATA: gd_update TYPE i,
      gd_lines TYPE i.

*Used to store BDC data
DATA: BEGIN OF bdc_tab OCCURS 0.
        INCLUDE STRUCTURE bdcdata.
DATA: END OF bdc_tab.

*Used to stores error information from CALL TRANSACTION Function Module
DATA: BEGIN OF messtab OCCURS 0.
        INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.


*Screen declaration
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
                                    TITLE text-001. "Purchase order Num
SELECT-OPTIONS: so_ebeln FOR ekko-ebeln OBLIGATORY.

SELECTION-SCREEN END OF BLOCK block1.

SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME
                                    TITLE text-002. "New NETPR value
PARAMETERS:  p_newpr(14)   TYPE c obligatory.  "LIKE ekpo-netpr.
SELECTION-SCREEN END OF BLOCK block2.

*START-OF-SELECTION
START-OF-SELECTION.

* Retrieve data from Purchase order table(EKKO)
  SELECT ekko~ebeln ekko~waers ekpo~netpr
    INTO TABLE it_ekko
    FROM ekko AS ekko INNER JOIN ekpo AS ekpo
      ON ekpo~ebeln EQ ekko~ebeln
   WHERE ekko~ebeln IN so_ebeln AND
         ekpo~ebelp EQ '10'.

*END-OF-SELECTION
END-OF-SELECTION.

* Check data has been retrieved ready for processing
  DESCRIBE TABLE it_ekko LINES gd_lines.
  IF gd_lines LE 0.
*   Display message if no data has been retrieved
    MESSAGE i003(zp) WITH 'No Records Found'(001).
    LEAVE TO SCREEN 0.
  ELSE.
*   Update Customer master data (instalment text)
    LOOP AT it_ekko INTO wa_ekko.
      PERFORM bdc_update.
    ENDLOOP.
*   Display message confirming number of records updated
    IF gd_update GT 1.
      MESSAGE i003(zp) WITH gd_update 'Records updated'(002).
    ELSE.
      MESSAGE i003(zp) WITH gd_update 'Record updated'(003).
    ENDIF.

* Display Success Report
*   Check Success table
    DESCRIBE TABLE it_success LINES gd_lines.
    IF gd_lines GT 0.
*     Display result report column headings
      PERFORM display_column_headings.
*     Display result report
      PERFORM display_report.
    ENDIF.

* Display Error Report
*   Check errors table
    DESCRIBE TABLE it_error LINES gd_lines.
*   If errors exist then display errors report
    IF gd_lines GT 0.
*     Display errors report
      PERFORM display_error_headings.
      PERFORM display_error_report.
    ENDIF.
  ENDIF.

*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  DISPLAY_COLUMN_HEADINGS
*&amp;amp;---------------------------------------------------------------------*
*       Display column headings

FORM display_column_headings.
  WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
  SKIP.
  WRITE:2 'The following records updated successfully:'(013).
  WRITE:/ sy-uline(42).
  FORMAT COLOR COL_HEADING.
  WRITE:/      sy-vline,
          (10) 'Purchase Order'(004), sy-vline,
          (11) 'Old Netpr'(005), sy-vline,
          (11) 'New Netpr'(006), sy-vline.
  WRITE:/ sy-uline(42).
ENDFORM.                    " DISPLAY_COLUMN_HEADINGS


*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  BDC_UPDATE
*&amp;amp;---------------------------------------------------------------------*
*       Populate BDC table and call transaction ME22
*----------------------------------------------------------------------*
FORM bdc_update.
  PERFORM dynpro USING:
      'X'   'SAPMM06E'        '0105',
      ' '   'BDC_CURSOR'      'RM06E-BSTNR',
      ' '   'RM06E-BSTNR'     wa_ekko-ebeln,
      ' '   'BDC_OKCODE'      '/00',                      "OK code

      'X'   'SAPMM06E'        '0120',
      ' '   'BDC_CURSOR'      'EKPO-NETPR(01)',
      ' '   'EKPO-NETPR(01)'  p_newpr,
      ' '   'BDC_OKCODE'      '=BU'.                      "OK code

* Call transaction to update customer instalment text
  CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'
         MESSAGES INTO messtab.
* Check if update was succesful
  IF sy-subrc EQ 0.
    ADD 1 TO gd_update.
    APPEND wa_ekko TO it_success.
  ELSE.
*   Retrieve error messages displayed during BDC update
    LOOP AT messtab WHERE msgtyp = 'E'.
*     Builds actual message based on info returned from Call transaction
      CALL FUNCTION 'MESSAGE_TEXT_BUILD'
           EXPORTING
                msgid               = messtab-msgid
                msgnr               = messtab-msgnr
                msgv1               = messtab-msgv1
                msgv2               = messtab-msgv2
                msgv3               = messtab-msgv3
                msgv4               = messtab-msgv4
           IMPORTING
                message_text_output = w_textout.
    ENDLOOP.

*   Build error table ready for output
    wa_error = wa_ekko.
    wa_&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;error-err_msg = w_textout.&lt;/P&gt;&lt;P&gt;    APPEND wa_error TO it_error.&lt;/P&gt;&lt;P&gt;    CLEAR: wa_error.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Clear bdc date table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CLEAR: bdc_tab.&lt;/P&gt;&lt;P&gt;  REFRESH: bdc_tab.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " BDC_UPDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM dynpro USING    dynbegin name value.&lt;/P&gt;&lt;P&gt;  IF dynbegin = 'X'.&lt;/P&gt;&lt;P&gt;    CLEAR bdc_tab.&lt;/P&gt;&lt;P&gt;    MOVE:  name TO bdc_tab-program,&lt;/P&gt;&lt;P&gt;           value TO bdc_tab-dynpro,&lt;/P&gt;&lt;P&gt;           'X'  TO bdc_tab-dynbegin.&lt;/P&gt;&lt;P&gt;    APPEND bdc_tab.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    CLEAR bdc_tab.&lt;/P&gt;&lt;P&gt;    MOVE:  name TO bdc_tab-fnam,&lt;/P&gt;&lt;P&gt;           value TO bdc_tab-fval.&lt;/P&gt;&lt;P&gt;    APPEND bdc_tab.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.                               " DYNPRO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_REPORT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Display Report&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM display_report.&lt;/P&gt;&lt;P&gt;  FORMAT COLOR COL_NORMAL.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Loop at data table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  LOOP AT it_success INTO wa_success.&lt;/P&gt;&lt;P&gt;    WRITE:/      sy-vline,&lt;/P&gt;&lt;P&gt;            (10) wa_success-ebeln, sy-vline,&lt;/P&gt;&lt;P&gt;            (11) wa_success-netpr CURRENCY wa_success-waers, sy-vline,&lt;/P&gt;&lt;P&gt;            (11) p_newpr, sy-vline.&lt;/P&gt;&lt;P&gt;    CLEAR: wa_success.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  WRITE:/ sy-uline(42).&lt;/P&gt;&lt;P&gt;  REFRESH: it_success.&lt;/P&gt;&lt;P&gt;  FORMAT COLOR COL_BACKGROUND.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DISPLAY_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_ERROR_REPORT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Display error report data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM display_error_report.&lt;/P&gt;&lt;P&gt;  LOOP AT it_error INTO wa_error.&lt;/P&gt;&lt;P&gt;    WRITE:/      sy-vline,&lt;/P&gt;&lt;P&gt;            (10) wa_error-ebeln, sy-vline,&lt;/P&gt;&lt;P&gt;            (11) wa_error-netpr CURRENCY wa_error-waers, sy-vline,&lt;/P&gt;&lt;P&gt;            (73) wa_error-err_msg, sy-vline.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;  WRITE:/ sy-uline(104).&lt;/P&gt;&lt;P&gt;  REFRESH: it_error.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DISPLAY_ERROR_REPORT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  DISPLAY_ERROR_HEADINGS&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      Display error report headings&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;FORM display_error_headings.&lt;/P&gt;&lt;P&gt;  SKIP.&lt;/P&gt;&lt;P&gt;  WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.&lt;/P&gt;&lt;P&gt;  SKIP.&lt;/P&gt;&lt;P&gt;  WRITE:2 'The following records failed during update:'(008).&lt;/P&gt;&lt;P&gt;  WRITE:/ sy-uline(104).&lt;/P&gt;&lt;P&gt;  FORMAT COLOR COL_HEADING.&lt;/P&gt;&lt;P&gt;  WRITE:/      sy-vline,&lt;/P&gt;&lt;P&gt;          (10) 'Purchase Order'(009), sy-vline,&lt;/P&gt;&lt;P&gt;          (11) 'Netpr'(010), sy-vline,&lt;/P&gt;&lt;P&gt;          (73) 'Error Message'(012), sy-vline.&lt;/P&gt;&lt;P&gt;  WRITE:/ sy-uline(104).&lt;/P&gt;&lt;P&gt;  FORMAT COLOR COL_NORMAL.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " DISPLAY_ERROR_HEADINGS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:53:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc/m-p/3765662#M906001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:53:43Z</dc:date>
    </item>
  </channel>
</rss>

