<?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: Uploading data for Tcode IW21 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769531#M1306295</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 your help. Can i use BAPI to upload data for IW21 and how to trace the fields of a BAPI to upload the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code which i searched on net bu there is no information regarding the fields tobe traced and should i include it in my code which i had provided above ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*--------------------------------------------------------------------*
data: i_bapi2080_nothdri type standard table of bapi2080_nothdri with header line.
data: i_bapiret2 type standard table of bapiret2 with header line.
data: i_bapi2080_nothdre type standard table of bapi2080_nothdre with header line.
data: i_bapi2080_notfulltxti type standard table of bapi2080_notfulltxti with header line.

* create header data
i_bapi2080_nothdri-refobjectkey = 'PJAREF'.
i_bapi2080_nothdri-equipment    = '10000030'.
i_bapi2080_nothdri-reportedby   = 'PJAREP'.
i_bapi2080_nothdri-short_text   = 'PJA Short Test from BAPI'.
i_bapi2080_nothdri-priority     = '1'.

* create header long text
i_bapi2080_notfulltxti-objtype    = 'QMEL'.
i_bapi2080_notfulltxti-FORMAT_COL = 'U1'.
i_bapi2080_notfulltxti-text_line  = 'Long text 1'.
append i_bapi2080_notfulltxti.
i_bapi2080_notfulltxti-objtype    = 'QMEL'.
i_bapi2080_notfulltxti-FORMAT_COL = 'U1'.
i_bapi2080_notfulltxti-text_line  = 'Long text 2'.
append i_bapi2080_notfulltxti.


call function 'BAPI_ALM_NOTIF_CREATE'
  exporting
*   EXTERNAL_NUMBER          =
    notif_type               = 'M1'
    notifheader              = i_bapi2080_nothdri
*   TASK_DETERMINATION       = ' '
*   SENDER                   =
*   ORDERID                  =
importing
    notifheader_export       = i_bapi2080_nothdre
tables
*   NOTITEM                  =
*   NOTIFCAUS                =
*   NOTIFACTV                =
*   NOTIFTASK                =
*   NOTIFPARTNR              =
    longtexts                = i_bapi2080_notfulltxti
*   KEY_RELATIONSHIPS        =
    return                   = i_bapiret2.

call function 'BAPI_ALM_NOTIF_SAVE'
  exporting
    number            = i_bapi2080_nothdre-notif_no
* IMPORTING
*   NOTIFHEADER       =
* TABLES
*   RETURN            =
          .

call function 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
*   WAIT          =
* IMPORTING
*   RETURN        =
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me guidelines for it.Is there any way to upload  the data for this Tcode IW21 through LSMW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jun 24, 2009 10:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jun 2009 06:46:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-24T06:46:38Z</dc:date>
    <item>
      <title>Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769527#M1306291</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 want to upload data for the Tcode IW21,I tried to make BDC but i was giving only 1 problem that it is not able to capture the screen for Long Text as it is used as script handling.i am able to find a BAPI but i dont know how to use it,i tried to do work through LSMW but there is no information. Pleas provide me guidelines how to solve this problem.. I am providing the link to the code which i had developed(BDC) for the tcode IW21 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://docs.google.com/View?id=dfxswwff_3gtn9qsdp" target="test_blank"&gt;http://docs.google.com/View?id=dfxswwff_3gtn9qsdp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jun 24, 2009 6:24 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 03:35:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769527#M1306291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T03:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769528#M1306292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to retrieve the text u need to find the text id object and use read_text fm...to post data you need to use save_text and commit_text. Text need to handled separately.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 04:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769528#M1306292</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-24T04:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769529#M1306293</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;Is there any exmaple for it  so that it can be performed. Please provide me guidelines to sove this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had cheked in tcode that there is information given in the technical settings that the there are two types of fields present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRG.Name-&amp;gt; SAPLIQS0 	&lt;/P&gt;&lt;P&gt;Screen No - 7710&lt;/P&gt;&lt;P&gt;Field-&amp;gt; TLINE-TDLINE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field description for Batch Input&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PRG.Name-&amp;gt; SAPLIQS0&lt;/P&gt;&lt;P&gt;Screen No-&amp;gt;   7200&lt;/P&gt;&lt;P&gt;Field -&amp;gt; LTXTTAB2-TLINE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 04:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769529#M1306293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T04:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769530#M1306294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this [link&amp;gt;&amp;gt;&amp;gt;|http://abaplovers.blogspot.com/2008/02/function-modules-create-text-and-read.html]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 05:14:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769530#M1306294</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-24T05:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769531#M1306295</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 your help. Can i use BAPI to upload data for IW21 and how to trace the fields of a BAPI to upload the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the code which i searched on net bu there is no information regarding the fields tobe traced and should i include it in my code which i had provided above ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

*--------------------------------------------------------------------*
data: i_bapi2080_nothdri type standard table of bapi2080_nothdri with header line.
data: i_bapiret2 type standard table of bapiret2 with header line.
data: i_bapi2080_nothdre type standard table of bapi2080_nothdre with header line.
data: i_bapi2080_notfulltxti type standard table of bapi2080_notfulltxti with header line.

* create header data
i_bapi2080_nothdri-refobjectkey = 'PJAREF'.
i_bapi2080_nothdri-equipment    = '10000030'.
i_bapi2080_nothdri-reportedby   = 'PJAREP'.
i_bapi2080_nothdri-short_text   = 'PJA Short Test from BAPI'.
i_bapi2080_nothdri-priority     = '1'.

* create header long text
i_bapi2080_notfulltxti-objtype    = 'QMEL'.
i_bapi2080_notfulltxti-FORMAT_COL = 'U1'.
i_bapi2080_notfulltxti-text_line  = 'Long text 1'.
append i_bapi2080_notfulltxti.
i_bapi2080_notfulltxti-objtype    = 'QMEL'.
i_bapi2080_notfulltxti-FORMAT_COL = 'U1'.
i_bapi2080_notfulltxti-text_line  = 'Long text 2'.
append i_bapi2080_notfulltxti.


call function 'BAPI_ALM_NOTIF_CREATE'
  exporting
*   EXTERNAL_NUMBER          =
    notif_type               = 'M1'
    notifheader              = i_bapi2080_nothdri
*   TASK_DETERMINATION       = ' '
*   SENDER                   =
*   ORDERID                  =
importing
    notifheader_export       = i_bapi2080_nothdre
tables
*   NOTITEM                  =
*   NOTIFCAUS                =
*   NOTIFACTV                =
*   NOTIFTASK                =
*   NOTIFPARTNR              =
    longtexts                = i_bapi2080_notfulltxti
*   KEY_RELATIONSHIPS        =
    return                   = i_bapiret2.

call function 'BAPI_ALM_NOTIF_SAVE'
  exporting
    number            = i_bapi2080_nothdre-notif_no
* IMPORTING
*   NOTIFHEADER       =
* TABLES
*   RETURN            =
          .

call function 'BAPI_TRANSACTION_COMMIT'
* EXPORTING
*   WAIT          =
* IMPORTING
*   RETURN        =
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me guidelines for it.Is there any way to upload  the data for this Tcode IW21 through LSMW?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jun 24, 2009 10:20 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 06:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769531#M1306295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-24T06:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769532#M1306296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never worked on this BAPI, but all u need to see is to fill all the mandatory and primary keys that you see in the structure of BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for BAPI_ALM_NOTIF_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTIF_TYPE&lt;/P&gt;&lt;P&gt;NOTIFHEADER are mandatory field u have to pass for sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2009 16:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769532#M1306296</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-06-24T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading data for Tcode IW21</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769533#M1306297</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;Can i upload the data for the TCODE IW21 through ABAP Program as i had i found a  BAPI which is used for uploading the data . &lt;/P&gt;&lt;P&gt;The BAPI name is BAPIVIQMEL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me guidelines to solve this problem .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jun 29, 2009 8:04 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ricx .s on Jun 29, 2009 1:45 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2009 05:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-data-for-tcode-iw21/m-p/5769533#M1306297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-29T05:24:30Z</dc:date>
    </item>
  </channel>
</rss>

