<?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: /AFS/BAPI_ROUTING_CREATE ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244652#M774430</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alls,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW - PO Creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Object      /AFS/B2012   &lt;/P&gt;&lt;P&gt;Method               CREATEFROMDATAAFS&lt;/P&gt;&lt;P&gt;Message Type         /AFS/PORDCR&lt;/P&gt;&lt;P&gt;Basic Type           /AFS/PORDCR01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this LSMW, if im trying to execute "Start IDoc Generation", im getting following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"LI&amp;amp;FUNG_NEW_MM_PURCHORDER2.lsmw.conv" File Has Not Been Accepted for Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the issues with my LSMW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Sep 2008 10:50:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-17T10:50:47Z</dc:date>
    <item>
      <title>/AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244647#M774425</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;Any /AFS/BAPI for routing creation  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tnx&lt;/P&gt;&lt;P&gt;KosalaW&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 08:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244647#M774425</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T08:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: /AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244648#M774426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kosala,&lt;/P&gt;&lt;P&gt;The following description might help u out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Short Description&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Creation of a routing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Function Module&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;BAPI_ROUTING_CREATE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Functionality&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This method serves to create routings with all their subordinated objects. Here, you can generate a key date view as well as the complete history of a routing. The latter is particularly useful for data transfers from non-SAP systems.&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;You want to create a routing with its sequences, operations and inspection characteristics on the key date 01.01.2000. You generate an entry for each object in the following table by always entering the date 01.01.2000 in the attribute VALID_FROM: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TASK&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Enter the relevant task list header data here. The attributes TASK_LIST_GROUP and GROUP_COUNTER only have to be supplied if you work with external number assignment. For internal number assignment the task list group and the group counter are determined automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SEQUENCE&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;Here, only entries for alternative or parallel sequences are allowed. The standard sequence of a routing is always generated automatically and therefore does not have to be entered. Here also, the attributes TASK_LIST_GROUP and GROUP_COUNTER need only be supplied in the case of external number assignment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OPERATION&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;You generate an entry for each operation in this table. To identify the operations, you have to enter an external operation identifier in the field OPERATION_ID. This identifier has to contain at least one character that is not a number (such as VORG0010). This external identifier is used by the definition of the alternative or parallel sequences to identify the corresponding branch or return operation. You only have to supply the TASK_LIST_GROUP and GROUP_COUNTER in the case of external number assignment. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INSPCHARACTERISTIC&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;You generate an entry for each inspection characteristic in this table. To identify the inspection characteristics you have to enter an inspection characteristic number in the field INSPCHAR. You can create inspection characteristics with or without reference to a master inspection characteristic. In the field CHA_MASTER_IMPORT_MODUS (Modus for the reference to the master inspection characteristic) enter the reference to the master inspection characteristic: 'L' for reference. In this case, the master inspection characteristic has to be completely maintained. In the parameter INSPCHARACTERISTIC you only have to supply those fields that could not be copied from the master inspection characteristic; 'C' for copy the data from the master inspection characteristic into the inspection characteristic, 'N' for create a lockable and unlockable reference to the master inspection characteristic without a data transfer from the master inspection characteristic. In this case manually fill out all fields in the parameter INSPCHARACTERISTIC. You can either transfer the inspection characteristic control indicator directly from the master inspection characteristic, enter it individually or in the field PRESET_CTRL_INDS_KEY you enter a key for the control indicator if you have stored this key in Customizing. If you have individually entered a control indicator, note the following special features: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCOPE_IND: Inspection scope. This indicator can have different &lt;/P&gt;&lt;P&gt;characteristics: You set " " for: Free inspection scope You set "&amp;lt;" for: Smaller inspection scope permitted You set "&amp;gt;" for: Larger inspection scope permitted You set "=" for: Defined inspection scope &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RESULT_RECORDING_TYPE: Record entry type. This indicator can have different characteristics: &lt;/P&gt;&lt;P&gt;You set "-" for: No record entry You set "*" for: Classified record entry You set "+" for: Single record entry You set " " for: Summarized record entry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOCU_REQU: Documentation required for check results. This indicator can &lt;/P&gt;&lt;P&gt;have different characteristics: You set " " for: No documention required You set "." for: Documentation for rejection You set "&lt;EM&gt;" for: Document all check results You set "&lt;/EM&gt;" for: Document all check results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONFIRMATION_CATEGORY Characteristic category &lt;/P&gt;&lt;P&gt;You set " " for: Optional characteristic You set "+" for: Limited to the acceptance of the previous mandatory characteristic You set "-" for: Limited to the rejection of the previous mandatory characteristic &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You set "X" for: Mandatory characteristic &lt;/P&gt;&lt;P&gt;PRINT_IND: Print control This indicator can have different characteristics: You set " " for: Print You set "x" for: Do not print You set "*" for: Do not print at skip If you want to assign an inspection equipment to the inspection characteristic in the field ITEM_NO_OF_PRODUCTION_RESOURCE, note that this has to be assigned to the operation in the PARAMETER PRODUCTIONRESOURCE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Reward if helpful.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 08:59:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244648#M774426</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T08:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: /AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244649#M774427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI_ROUTING_CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 09:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244649#M774427</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T09:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: /AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244650#M774428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tnx Dude, Solved Problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2008 12:30:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244650#M774428</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-09T12:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: /AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244651#M774429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi RajKamal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still i got a error masseages. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output :-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Export parameters               Value   &lt;/P&gt;&lt;P&gt;                                        &lt;/P&gt;&lt;P&gt;GROUP                           50003626&lt;/P&gt;&lt;P&gt;GROUPCOUNTER                    1                                                                                &lt;/P&gt;&lt;P&gt;T ID                   NUM   MESSAGE                                                                                &lt;/P&gt;&lt;P&gt;E BAPI              001                                                                   &lt;/P&gt;&lt;P&gt; E CP                 745    Value 0 for denominator not defined (check entry)                 &lt;/P&gt;&lt;P&gt; S QP                 504    Non-relevant fields will be initialized                           &lt;/P&gt;&lt;P&gt; E CPCL             203    Consistency check not successful when creating operation                                                                                &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;                                                                                &lt;/P&gt;&lt;P&gt;REPORT ZKW_BAPI_ROUTING_CREATE .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: bapi_group TYPE BAPI1012_TSK_C-TASK_LIST_GROUP,&lt;/P&gt;&lt;P&gt;      bapi_groupcounter TYPE BAPI1012_TSK_C-GROUP_COUNTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF bapi_task occurs 100.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BAPI1012_TSK_C.&lt;/P&gt;&lt;P&gt;DATA: END OF bapi_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF bapi_MATERIALTASKALLOCATION occurs 100.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BAPI1012_MTK_C.&lt;/P&gt;&lt;P&gt;DATA: END OF bapi_MATERIALTASKALLOCATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF bapi_OPERATION occurs 100.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BAPI1012_OPR_C.&lt;/P&gt;&lt;P&gt;DATA: END OF bapi_OPERATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF bapi_RETURN occurs 10.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE BAPIRET2.&lt;/P&gt;&lt;P&gt;DATA: END OF bapi_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_task-VALID_FROM = sy-datum.&lt;/P&gt;&lt;P&gt;bapi_task-TASK_LIST_USAGE = '1'.&lt;/P&gt;&lt;P&gt;bapi_task-PLANT = '1000'.&lt;/P&gt;&lt;P&gt;bapi_task-TASK_LIST_STATUS = '4'.&lt;/P&gt;&lt;P&gt;bapi_task-TASK_MEASURE_UNIT = 'EA'.&lt;/P&gt;&lt;P&gt;bapi_task-TASK_MEASURE_UNIT_ISO = 'EA'.&lt;/P&gt;&lt;P&gt;*bapi_task-LOT_SIZE_FROM = '0'.&lt;/P&gt;&lt;P&gt;*bapi_task-LOT_SIZE_TO = '99,999,999'.&lt;/P&gt;&lt;P&gt;APPEND bapi_task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_MATERIALTASKALLOCATION-MATERIAL = 'F1469RED'.&lt;/P&gt;&lt;P&gt;bapi_MATERIALTASKALLOCATION-PLANT = '1000'.&lt;/P&gt;&lt;P&gt;bapi_MATERIALTASKALLOCATION-VALID_FROM = sy-datum.&lt;/P&gt;&lt;P&gt;APPEND bapi_MATERIALTASKALLOCATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi_OPERATION-VALID_FROM = sy-datum.&lt;/P&gt;&lt;P&gt;bapi_OPERATION-ACTIVITY = '0010'.&lt;/P&gt;&lt;P&gt;*OPERATION_ID&lt;/P&gt;&lt;P&gt;bapi_OPERATION-CONTROL_KEY = 'PP03'.&lt;/P&gt;&lt;P&gt;bapi_OPERATION-WORK_CNTR = 'PAKNG'.&lt;/P&gt;&lt;P&gt;bapi_OPERATION-PLANT = '1000'.&lt;/P&gt;&lt;P&gt;bapi_OPERATION-STANDARD_TEXT_KEY = 'PACKING'.&lt;/P&gt;&lt;P&gt;*DESCRIPTION&lt;/P&gt;&lt;P&gt;APPEND bapi_OPERATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_ROUTING_CREATE'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          GROUP                  = bapi_group&lt;/P&gt;&lt;P&gt;          GROUPCOUNTER           = bapi_groupcounter&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;          TASK                   = bapi_task&lt;/P&gt;&lt;P&gt;          MATERIALTASKALLOCATION = bapi_MATERIALTASKALLOCATION&lt;/P&gt;&lt;P&gt;          OPERATION              = bapi_OPERATION&lt;/P&gt;&lt;P&gt;          RETURN                 = bapi_RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at bapi_RETURN.&lt;/P&gt;&lt;P&gt;  IF bapi_RETURN[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    commit work and wait.&lt;/P&gt;&lt;P&gt;    WRITE: / bapi_group,&lt;/P&gt;&lt;P&gt;             bapi_groupcounter.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    if bapi_RETURN-type eq 'E'.&lt;/P&gt;&lt;P&gt;      write:/'Error in function1', bapi_RETURN-message.&lt;/P&gt;&lt;P&gt;      rollback work.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      commit work and wait.&lt;/P&gt;&lt;P&gt;      write:/ bapi_RETURN-message.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 10:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244651#M774429</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: /AFS/BAPI_ROUTING_CREATE ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244652#M774430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alls,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LSMW - PO Creation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Business Object      /AFS/B2012   &lt;/P&gt;&lt;P&gt;Method               CREATEFROMDATAAFS&lt;/P&gt;&lt;P&gt;Message Type         /AFS/PORDCR&lt;/P&gt;&lt;P&gt;Basic Type           /AFS/PORDCR01&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this LSMW, if im trying to execute "Start IDoc Generation", im getting following error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"LI&amp;amp;FUNG_NEW_MM_PURCHORDER2.lsmw.conv" File Has Not Been Accepted for Processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the issues with my LSMW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Sep 2008 10:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/afs-bapi-routing-create/m-p/3244652#M774430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-17T10:50:47Z</dc:date>
    </item>
  </channel>
</rss>

