<?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: Problem in Vendor creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300448#M158260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe the bapi does a call transaction somewhere....set a breakpoint on call transaction and give it another go..if you can change the mode to 'a' you might be able to find the offending field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try include LKD02F01.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CALL TRANSACTION BLF00-TCODE USING FT&lt;/P&gt;&lt;P&gt;                               MODE    CALL_TRANSACTION_MODE&lt;/P&gt;&lt;P&gt;                               UPDATE  C_UPDATE_SYNC&lt;/P&gt;&lt;P&gt;                               MESSAGES INTO T_BDCMSGCOLL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 May 2006 06:35:52 GMT</pubDate>
    <dc:creator>former_member186741</dc:creator>
    <dc:date>2006-05-17T06:35:52Z</dc:date>
    <item>
      <title>Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300441#M158253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I am creating a vendor from a legacy file using a function&lt;/P&gt;&lt;P&gt;  IDOC_INPUT_CREDITOR.&lt;/P&gt;&lt;P&gt;  it is working fine if i use only one segment (E1LFA1M).&lt;/P&gt;&lt;P&gt;  But in my case i also have to save data into one field in  &lt;/P&gt;&lt;P&gt;  table LFB1 for which i have to fill one more segment&lt;/P&gt;&lt;P&gt;  (E1LFB1M). &lt;/P&gt;&lt;P&gt;  Now when i fill both the segments, i am unable to create&lt;/P&gt;&lt;P&gt;  vendor.&lt;/P&gt;&lt;P&gt;  Below is a sample code, please revert ASAP :&lt;/P&gt;&lt;P&gt;  REPORT  zvr001_vendor_create.&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;types ------------&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA l_input_method TYPE bdwfap_par-inputmethd.&lt;/P&gt;&lt;P&gt;     DATA l_header_data  TYPE bapi_incinv_create_header.&lt;/P&gt;&lt;P&gt;     DATA l_return TYPE bapiret2.&lt;/P&gt;&lt;P&gt;     DATA wa_lfa1 TYPE lfa1.&lt;/P&gt;&lt;P&gt;     DATA wa_bseg TYPE bseg.&lt;/P&gt;&lt;P&gt;     DATA wa_bkpf TYPE bkpf.&lt;/P&gt;&lt;P&gt;     DATA l_update TYPE bdwfap_par-updatetask.&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;internal tables   --------------&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;control records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA: it_cntrl   TYPE TABLE OF edidc,&lt;/P&gt;&lt;P&gt;           wa_cntrl   LIKE LINE OF it_cntrl.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;data records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA: it_data    TYPE TABLE OF edidd,&lt;/P&gt;&lt;P&gt;           wa_data    LIKE LINE OF it_data,&lt;/P&gt;&lt;P&gt;           wa_e1lfa1m LIKE e1lfa1m,&lt;/P&gt;&lt;P&gt;           wa_e1lfb1m LIKE e1lfb1m.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;status records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA: it_status  TYPE TABLE OF bdidocstat,&lt;/P&gt;&lt;P&gt;           wa_status  LIKE LINE OF it_status.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;return variables&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA: it_ret     TYPE TABLE OF bdwfretvar,&lt;/P&gt;&lt;P&gt;            wa_ret    LIKE LINE OF it_ret.&lt;/P&gt;&lt;P&gt;     &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;serialization&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     DATA: it_serial  TYPE TABLE OF bdi_ser,&lt;/P&gt;&lt;P&gt;           wa_serial  LIKE LINE OF it_serial.&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;fill internal tables ( hardcoded for test purpose )      &lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;1. control records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          wa_cntrl-doctyp = 'CREMAS03'.&lt;/P&gt;&lt;P&gt;          wa_cntrl-mestyp = 'CREMAS'.&lt;/P&gt;&lt;P&gt;          wa_cntrl-idoctp = 'CREMAS03'.&lt;/P&gt;&lt;P&gt;          APPEND wa_cntrl TO it_cntrl.&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;2. data records&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          wa_data-segnam = 'E1LFA1M'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-lifnr = 'A007'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-ktokk = 'AMVG'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-name1 = 'name'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-stras = 'address1'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-ort02 = 'address2'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-ort01 = 'city'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-regio = 'pstlz'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-pstlz = '122200'.&lt;/P&gt;&lt;P&gt;          wa_e1lfa1m-land1 = 'IN'.&lt;/P&gt;&lt;P&gt;          wa_data-sdata  = wa_e1lfa1m.&lt;/P&gt;&lt;P&gt;          APPEND wa_data TO it_data.&lt;/P&gt;&lt;P&gt;          CLEAR wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          wa_data-segnam = 'E1LFB1M'.&lt;/P&gt;&lt;P&gt;          wa_e1lfb1m-lifnr = 'A007'.&lt;/P&gt;&lt;P&gt;          wa_e1lfb1m-bukrs = '1000'.&lt;/P&gt;&lt;P&gt;          wa_e1lfb1m-tlfns = 'Text001'.&lt;/P&gt;&lt;P&gt;          wa_data-sdata    = wa_e1lfb1m.&lt;/P&gt;&lt;P&gt;          APPEND wa_data TO it_data.&lt;/P&gt;&lt;P&gt;          CLEAR wa_data.&lt;/P&gt;&lt;P&gt;&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; ------------------------&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;create vendor&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        CALL FUNCTION 'IDOC_INPUT_CREDITOR'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;             input_method                = 'N'&lt;/P&gt;&lt;P&gt;             mass_processing             = ' '&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PI_XK99_USED                = ' '&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;IMPORTING&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;  WORKFLOW_RESULT             =&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;  APPLICATION_VARIABLE        =&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;  in_update_task              = 'X'&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;  CALL_TRANSACTION_DONE       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;             idoc_contrl                 = it_cntrl&lt;/P&gt;&lt;P&gt;             idoc_data                   = it_data&lt;/P&gt;&lt;P&gt;             idoc_status                 = it_status&lt;/P&gt;&lt;P&gt;             return_variables            = it_ret&lt;/P&gt;&lt;P&gt;             serialization_info          = it_serial&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;             wrong_function_called       = 1&lt;/P&gt;&lt;P&gt;             OTHERS                      = 2&lt;/P&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;       IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    &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;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&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;Thanks&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 05:05:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300441#M158253</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T05:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300442#M158254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;uncomment the message statement following the fm call and see what the message is... it may give you a clue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 05:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300442#M158254</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-17T05:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300443#M158255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  sy-subrc is 0.&lt;/P&gt;&lt;P&gt;  error details/success details will come in table &lt;/P&gt;&lt;P&gt;  return_variables.&lt;/P&gt;&lt;P&gt;  the mess is &lt;/P&gt;&lt;P&gt;  ERROR_IDOC and 000000000000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 05:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300443#M158255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T05:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300444#M158256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;does table it_ret have anything in it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 06:01:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300444#M158256</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-17T06:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300445#M158257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;  ya, it contains two fields viz. WF_PARAM and DOC_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Under WF_PARAM the value is Error_IDOCS and&lt;/P&gt;&lt;P&gt;  Under DOC_NUMBER the value is 0000000000000000.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 06:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300445#M158257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T06:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300446#M158258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do the sy-msg fields contain something even though sy-subrc is 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 06:09:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300446#M158258</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-17T06:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300447#M158259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya &lt;/P&gt;&lt;P&gt;  sy-msgid contains 00&lt;/P&gt;&lt;P&gt;  SY-MSGTY contains E&lt;/P&gt;&lt;P&gt;  SY-MSGNO contains 055&lt;/P&gt;&lt;P&gt;  it says : Make entry in all required fields.&lt;/P&gt;&lt;P&gt;  But i have already made entries in req fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 06:25:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300447#M158259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T06:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300448#M158260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe the bapi does a call transaction somewhere....set a breakpoint on call transaction and give it another go..if you can change the mode to 'a' you might be able to find the offending field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try include LKD02F01.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CALL TRANSACTION BLF00-TCODE USING FT&lt;/P&gt;&lt;P&gt;                               MODE    CALL_TRANSACTION_MODE&lt;/P&gt;&lt;P&gt;                               UPDATE  C_UPDATE_SYNC&lt;/P&gt;&lt;P&gt;                               MESSAGES INTO T_BDCMSGCOLL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 06:35:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300448#M158260</guid>
      <dc:creator>former_member186741</dc:creator>
      <dc:date>2006-05-17T06:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300449#M158261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank u for the suggestion. i did run the function in&lt;/P&gt;&lt;P&gt;  'A' mode and came to know that there were few fields &lt;/P&gt;&lt;P&gt;   which were required.&lt;/P&gt;&lt;P&gt;  Thanks again. My querry is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2006 07:15:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300449#M158261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-17T07:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in Vendor creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300450#M158262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;         i was just creating a vendor for my own use. while creating vendor using transaction xk01 the account group field is creating problems. Can you please give me an example of step by step creation of a vendor using xk01.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 06:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-vendor-creation/m-p/1300450#M158262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T06:28:18Z</dc:date>
    </item>
  </channel>
</rss>

