Longtext for Routing

HI,
I am USing LSMW to upload the longtext for Recipe for transaction C202.
I am using the
Object               0001   Long texts
Method               0001
to upload the long text and it shows that the data is transfered but when i see the transaction C202 i dont see the long text being updated.
i have checked that i have passed all the values like TDNAME, TObjectas Routing, TDID as PLKO corrctly.
Kindly please help why the long text is ot updated or for routing some prior steps are required.
Thanks

Hi SAP gurus,
I have also tried ity with the save_text FM but it doesnt work.
see the sample code below.
DATA: e_header  TYPE thead,
  i_header  TYPE TABLE  OF thead,
        w_tline   TYPE tline,
  i_tline   TYPE TABLE  OF tline,
  wa_tline TYPE tline.
e_header-tdobject =  'ROUTING'.
e_header-tdid =  'PLKO'.
e_header-tdspras = sy-langu.
*   e_header-tdlinesize =  72.
e_header-tdname =  '1002DE0015070300000003'.
wa_tline-tdformat = '*' .
APPEND wa_tline TO i_tline.
wa_tline-tdline = ' longtext test after the read statemaent'.
APPEND wa_tline TO i_tline.
CALL FUNCTION 'SAVE_TEXT'
  EXPORTING
    client          = sy-mandt
    header          = e_header
    savemode_direct = 'X'
*    INSERT        = 'X'
  TABLES
    lines           = i_tline
  EXCEPTIONS
    id              = 1
    language        = 2
    name            = 3
    object          = 4
    OTHERS          = 5.
IF sy-subrc <>  0.
  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
     WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
  CALL FUNCTION 'COMMIT_TEXT'
    EXPORTING
      object          = e_header-tdobject
      name            = e_header-tdname
      id              = e_header-tdid
      language        = e_header-tdspras
      savemode_direct = 'X'.
  COMMIT WORK AND WAIT.
*    UPDATE PLKO SET TXTSP = sy-langu
*    where
*PLNNR = 'DE001507' AND PLNAL = '02'.
ENDIF.
With LSMW it doesnt wrk also with ABAP code its not working .

Similar Messages

  • Uploading longtexts for Routings

    Hi,
      I want to upload longtexts for Routing(for each operation)
      by using LSMW object.
      I am using standard Batch input object(0170-Routing) and   method(0001- Batch Input).But longtexts are not uploading.
    How can I solve this problem?
    Edited by: TINTU on Jan 3, 2008 12:13 PM

    Hai,
    Check this.
    Re: upload longtext from excel file  
    REPORT  zupload_excel_to_itab.
    TYPE-POOLS: truxs.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    TYPES: BEGIN OF t_datatab,
          col1(30)    TYPE c,
          col2(30)    TYPE c,
          col3(30)    TYPE c,
          END OF t_datatab.
    DATA: it_datatab type standard table of t_datatab,
          wa_datatab type t_datatab.
    DATA: it_raw TYPE truxs_t_text_data.
    At selection screen
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    *START-OF-SELECTION.
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
        I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw       " WORK TABLE
          i_filename               =  p_file
        TABLES
          i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    END-OF-SELECTION.
    END-OF-SELECTION.
      LOOP AT it_datatab INTO wa_datatab.
        WRITE:/ wa_datatab-col1,
                wa_datatab-col2,
                wa_datatab-col3.
      ENDLOOP.
    http://www.sapdevelopment.co.uk/file/file_upexcel.htm
    Regards.
    Sowjanya.b

  • Request for Routing

    What is Request for Routing used for in SAP? How do you use this transaction?

    Hi John,
    Welcome to the forum.
    Your service provider (i.e. whoever you pay your line rental to) can move the master socket within your house but won't be able to move the cable that comes into the house.
    To do that, you need to contact Openreach directly via this web form (just say that you want to relocate the external wire from the underground duct coming into your house) and they'll be able to discuss any costs directly with them.
    After that's done, you can then contact your service provider to get the socket moved to the cellar. At the moment, if you're with BT the cost of moving a socket is £130.00.
    Thanks,
    Stephanie
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Upgrading from Exchange 2003 Bridgehead servers to Exchange 2010 Transport Hub servers for routing SMTP only

    Our company moved from on-premises Exchange 2003 to Office365 and only have 4 Exchange 2003 servers on-prem that we use for Routing email from application servers to Office365. We need to migrate these servers to Exchange 2010 then to Exchange 2013 and
    only route email only. Is it possible to upgrade to Exchange 2010 by installing the transport Hub & Mailbox server options only? Our OAB and EWS services come from the CAS servers located on Office365 so we should not need a CAS server to set up Transport
    rules or route mail would we? Any assistance with this would be greatly appreciated! - Thanks, DWB
    Dave

    Since it is not internet facing we will not have to worry about configuring an Internet Domain Name when installing the first server, correct? in my planning I was going to
    install the Exchange 2010 CAS/Mailbox/Transport Hub roles on one server, then upgrade it to Exchange 2013. Once this is completed I'll then install the 2 mailbox role servers in one Datacenter, and 3 more in our DRP DC. If something happens to the
    primary Datacenter I would want it to fail over to the other site. For this I would have to install another CAS/mailbox server in the secondary DC. Would this plan sound about right? Since we moved to Office365 in 2010 I have not had a chance to deal with
    actual servers except for the Exchange 2003 servers we still have on-premises. Each of these are located in 4 Regional offices along with single Windows 2008 R2 servers using only the IIS SMTP service for routing mail from on-prem application servers
    and print/scanners which email back to the users. The plan is to move to a routing system which will provide both MTA and redundancy if one has an issue.
    Dave

  • LSMW for routing with standard batch input

    Hello All,
    I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
    I have created three source structures viz. material- task list header, task header data, operation and inspection.
    Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
    Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
    Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
    and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
    Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
    The excel file has been prepared as follows,
    H     MATNR     WERKS     PLNNR     PLNAL               
    H     100045     1000     50000043     1               
    H     100045     1000     50000043     2               
    I     MATNR     WERKS     PLNNR     PLNAL     VALID_FROM     USAGE     STATUS
    I     100045     1000     50000043     1     01012000     1                1
    I     100045    1000     50000043     2     01012000     1                 1
    I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
    The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
    In 'Assign file' step the flat file is assigned to all the four source structure.
    Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
    How to overcome this?
    <removed by moderator> answers will be greatly appreciated........
    Mimiri
    Edited by: Thomas Zloch on Jul 11, 2011 10:16 AM

    Hello ,
    have you maintained this check box for the key fields"
    LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
    Selection Parameter for "Import/Convert Data"-->Tick this check box
    regards

  • Function module name for routing fom production orders

    Function module name for routing fom production orders

    Hi
    There are lot of fun modules related to routing
    like
    BAPI_ROUTING_CREATE
    BAPI_ROUTING_EXISTENCE_CHECK
    goto SE37 Tcode
    enter routing press F4
    you will get a lot out of that use the required one
    Reward points for useful Answers
    Regards
    Anji

  • Tables for Router number and pcc required in ECC

    Hi,
    I want to know the Route number created by the system in ECC
    1. my input will be material/plant. i need group Number, Group counter . Please let me know which table this is getting stored?
    2. I have created product cost collector for this material/plant combination. which table this PCC is stored?
    Thanks
    Sakthi.K

    Dear Sakthi ,
    1) For Routing details use the below tables.
    Routings/operations
    MAPL                    Allocation of task lists to materials
    PLAS                    Task list - selection of operations/activities
    PLFH                    Task list - production resources/tools
    PLFL                    Task list - sequences
    PLKO                    Task list - header
    PLKZ                    Task list: main header
    PLPH                    Phases / suboperations
    PLPO                    Task list operation / activity
    PLPR                    Log collector for tasklists
    PLMZ                    Allocation of BOM - items to operations
    2) For Product costing use the below tables.
    KEKO               Product-costing header
    KEPH               Cost components for cost of goods manuf.
    KALO               Costing objects
    KANZ               Sales order items - costing objects
    Hope it will be helpful.
    Regards,
    Vijay.

  • FM for creating longtexts for BP ?

    Hello forum,
    is there an fm for creating/changing longtexts for a business partner ?
    We have customized longtext fields for business partners and now we want to fill them
    with data, but I haven't found anything.
    Hope someone can help me !
    Best regards
    Gerd

    hi, in same to ERP,  in CRM  save the long text need to call function  'SAVE_TEXT'
    several parameter is important to call it, 
    LINES   the contents of your long text
    HEADER  it include the text ID  text language,  text name (normally the name is the document number, in your case it is the BP ID)
    text object(you must know it when you configure the long text)
    if you don't know very clear how to call it, you can set a breakpoint in it, change a long text in SAP GUI or WEB UI to trigger, and  search out how SAP standard call it.

  • User exit for route determination in VA01

    Dear friends,
    I need a userexit for route determination whenever required delivery date is changed at the time of sales order creation VA01.
    Please reply ASAP.
    Thanks,
    --Sonal

    Hi,
    MV45AFZZ should solve the issue.
    Check the subroutines userexit_move_field_to_vbap and  userexit_save_document_prepare.
    Place a break point in all the subroutines and run VA01 and change the date. You can find the exact place where you can code.
    Thanks,
    Vinod.

  • User exit for route determination in Stock trasnport order

    Hi All,
    Can somebody help me with a user exit that I can use for route determination in the Stock transport order.
    Kind Regards
    Chakradhar

    Exit to be used is   EXIT_SAPLEBND_002. Enhancement M06E0004.
    DATA it_ekpo TYPE LINE OF mmpur_bekpo .
    To have controls in system for Standard Cost Estimation under two conditions if SCE is not run then,
    1)      System will not allow creating Process Order (COR1).
    2)      System will not allow Post Goods Issue (VL02N).
    Till date we do not have any control of SCE while creating Stock Transport Order.
    Now we have another control for SCE, that is
    3)      Henceforth system will not allow creating STO (ME21N).
    IF sy-tcode = 'ME21N' OR sy-tcode = 'ME22N'.
      IF i_cekko-bsart = 'UB'.
        LOOP AT it_bekpo INTO it_ekpo.
          SELECT SINGLE mtart FROM mara INTO mara-mtart WHERE matnr = it_ekpo-matnr .
          IF mara-mtart = 'IFIG' OR mara-mtart = 'ISFG'.
            SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                                AND bwkey EQ it_ekpo-werks.
            IF mbew-vprsv = 'S'.
              SELECT SINGLE * FROM mbew WHERE matnr EQ it_ekpo-matnr
                                              AND bwkey EQ it_ekpo-werks.
              IF mbew-stprs > '0.00'.
                CONTINUE.
              ELSE.
                MESSAGE e004(zpp) WITH it_ekpo-matnr it_ekpo-werks.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Regards,
    Mallick

  • Function module to find days for ROUTE

    Hi Guys
    i want to know which function module or code
    will help me in fetching day's for route,for example
    you can get route from table vbap ,i want to know,how
    many day's is assign for a given route

    Hi,
    Go to the Table <b>TVRO</b> and check it.
    Regards
    vijay

  • ESB:  Is it possible to create custom WSDL for routing service?

    Hello all!
    I have an unchangeable requirement in my project - ESB routing services must confom to WSDL specifications that are already used before we started this integration project.
    For example, we have to implement not only the same logical part of WSDL description:
    <message name="AuthorisationRequestSoapIn">
    <part name="AuthorisationRequest" element="tns:AuthorisationRequest"/>
    </message>
    <message name="AuthorisationRequestResponseSoapOut">
    <part name="AuthorisationRequestResponse" element="tns:AuthorisationRequestResponse"/>
    </message>
    <portType name="OnlineServicesSoap">
    <operation name="AuthorisationRequest">
    <input message="tns:AuthorisationRequestSoapIn"/>
    <output message="tns:AuthorisationRequestResponseSoapOut"/>
    </operation>
    </portType>
    but the binding and service sections must conform to WSDL document too:
    <binding name="OnlineServicesSoapBinding" type="tns:OnlineServicesSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="AuthorisationRequest">
    <soap:operation style="document" soapAction="AuthorisationRequest"/>
    <input>
    <soap:body use="literal" namespace="http://..../OnlineServices"/>
    </input>
    <output>
    <soap:body use="literal" namespace="http://..../OnlineServices"/>
    </output>
    </operation>
    </binding>
    <service name="OnlineServicesSoapService">
    <port name="OnlineServicesSoapPort" binding="tns:OnlineServicesSoapBinding">
    <soap:address location="....."/>
    </port>
    </service>
    And after registration of ESB routing service I've got the following service description (I ommit esb bindings and logical part here, it's ok with messages and portTypes):
    <binding name="__soap_OnlineServicesSoapService_OnlineServicesSoap" type="import:OnlineServicesSoap">
    <soap:binding xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="AuthorisationRequest">
    <soap:operation xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" style="document" soapAction="AuthorisationRequest"/>
    <input>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
    </input>
    <output>
    <soap:body xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ESB_OnlineServicesSoapService_Service">
    <port name="__soap_OnlineServicesSoapService_OnlineServicesSoap" binding="tns:__soap_OnlineServicesSoapService_OnlineServicesSoap">
    <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://..../event/DefaultSystem/OnlineServicesSoapService"/>
    </port>
    </service>
    How can I change WSDL that is generated for routing services? Is it possible to change the names of port and binding element?
    Thanks in advance,
    Oleg Olenin

    So, no docs, no answers, no life :) - I have only one way to get the answers:
    oracle.tip.esb.configuration.util.WSDLGenerator.addSOAPBindings():
    binding.setQName(new QName(targetNamespace, WSDLConstants.generateSOAPPortName(service.getName(),portType.getQName().getLocalPart())));
    oracle.tip.esb.configuration.util.WSDLConstants:
    public static final String generateSOAPPortName(String service, String operation)
    return "__soap_" + service + "_" + operation;
    So it is not possible to change the names of SOAP binding and port.
    And I guess there is no way to change WSDL that is generated for routing services.

  • Lsmw for routing

    I am trying to upload routing using LSMW.
    which is the best way to use batch input or direct input.  I dont have a choice fof using badis or BDC
    can we upload routing without writing any code in LSMW.
    so i created three files
    header
    operation
    component allocation.
    what should be the link between these three files.I did lsmw for BOM. there i ve used material number as link. bou i didnt find material number in routing lsmw. so what should be the reference.
    can we take group counter number as reference.
    can some one provide me the source file structures for this LSMW for routing.
    thanks.

    Hi,
    You can use the standard LSMW for routing. As you mentioned first you upload the header and take the group no. as reference and upload the operation. and the components will be automatically assigned to the routing with the first operation.
    Thanks and Regards,
    Satish

  • Creating an LSMW for routing

    Hi
    I have managed to create a LSMW model, that wil create (CA01) a routing.
    My problem is that components (from the BOM) is not assigned to operations.
    When I display converted data, just before I create a batch input session, I can can see selected components is assigned to an operation.
    When I use transaction CA03 afterwards, behind the TAB " CompAlloc" there is no materials that has been assigned to operations. 
    Has anyone any experience on this issue?

    Dear,
    As said by Bala,get the help from ABAP programmer and go for a BDC for
    creation of routing.
    I have not worked or used LSMW for routing,so could not give a reply for your
    question.
    Regards
    Mangal

  • Re-Org/Update Program for Route determination

    Hi
    does anyone know if there is a Re-org / Update program for Routes ?
    I have added new routes, against Shipping conditions from NO and SE to many Western European Countries ,  and would like to update Sales orders/ deliveries with these new routes
    Many thanks for your advice
    Tony

    Hello Tony
    For the orders, if you have configured 'Define New Route Determination By Delivery Type', then route redetermination takes place  during delivery creation and finds the new route.  So I would say don't bother about fixing the orders.
    Just ensure you have configured these 2 items in IMG:
    LE/Shipping/Basic Shipping Functions/Routes/Define New Route Determination By Delivery Type,
            and
    LE/Shipping/Basic Shipping Functions/Routes/Define Allowed Actual Route By Proposed Route.
    That leaves open deliveries which are not PGIed to be taken care of.

Maybe you are looking for

  • Problem facing in XSL transformation

    Hi, I have deployed my j2ee application on SAP, i'm using xalan transformer that SAP does not support. I used com.sap.engine.lib.jaxp.TransformerFactoryImpl file in place of xalan, but still it gives me following error: javax.xml.transform.Transforme

  • Page numbers navigation bar instead of the standard first-next-previous-last

    I want to add page numbers to my navigationbar instead of the standard "first next previous last". For example I have a repeat region with a navigation bar (standard) I have 7 records per page and I would like it to say at the bottom: 1 2 3 4 5 ect.

  • URGENT:- how to display bullets in a  jsp field?

    Hi, I need to display the names prepended with a bullet. If am displaying two fields like group_id and Names in jsp, it should look like this. Note: arrows are given below only just for formatting or to display columns correctly in this posting Group

  • Installing video cards in warranty

    Hey all... I wanna add a decent video card to my s5728uk Pavilion Slimline... A couple of questions... A. Will it affect my warranty, if so how do i get around this? B. I notice that some Gfx cards are very large, will they fit my machine? If not can

  • VRAM: 128 MB vs. VRAM: 256MB

    What is the advantage of increasing the VRAM from VRAM: 128 MB to VRAM: 256MB? I do not use my computer for games, but I would like to use the second monitor option someday. Will the increased VRAM be a big benefit for a second display? Thanks. iMac