Problems while uploading Task List - Service Pack with LSMW

We are trying to upload General Maintenance Task List using LSMW. We are using Standard Batch/Direct Input method with Object 0490.
We need to upload task list header, operations, maintenance pack, component and service pack for operations.
We have created separate files containing data for different structures and they are linked using Group, group counter and operation number according below
Header
|----Operations
.......... |----Long Text
..........|----Maintenance Pack
..........|----Components
..........|----Service Pack
We have multiple operations per task list and multiple services per operation. The service pack is required only for a specific control key - PM03.  As per the configuration this screen (PROGRAM - SPLMLSP, Screen Number - 0200) is accessible only when the value PM03 is entered in the operation. We are able to upload all other details except service pack details. We have tried using structure IBIPBDCD for the same.
While uploading the task list in foreground, when control key is entered as PM03 in an operation, service pack screen is displayed with error u201CNo batch input data for screen SAPLMLSP 0200u201D. The data provided in structure IBIPBDCD does not get processed at this time.
On exiting the screen using back button, the data in IBIPBDCD structure is passed incorrectly to fields in screen 3400 (SAPLCPDI)
Are we doing something incorrect? Is there a way to use this standard functionality to upload task lists with service packs?
Thanks
Edited by: jvalitp on Dec 15, 2011 12:46 PM

Hi,
When loading the tasklists you need to define a source structure as per the IBIP structure. You have different levels for example level 1 - header then below that level 2 - Operations, Header Long text then below that you have level 3 - Operation Long text, Operation Package assignments, operation component allocation.
For each of these levels you need an identifier that links then together. In your source file specify identifier 1 for header, Identifier 1 and Identifier 2 for operations, identifier 1 identifier 2 and identifier 3 for packages. This way the system can create the correct structure when it reads the data from the text file.
The identifiers are numeric and will dissapear once the files are loaded. specify then in the source structure as 2 characters and remember to set the xcel file up to have a 2 character field.
For the header file each line will be a new identifier 1,2,3,etc.
The operations are assigned to the header and have 2 identifiers. The first corresponds to the header identifier the next is a sequential number stating at 1 and incrementing for each line e.g Header 1 op 1, header 1 op 2, header 2 op 3, header 2 op 4, header 2 op 5 (this would be 2 header records. The first with 2 operations on it the second with 3 operations)
The package is assigned to the operation and as such needs to have a third identifier. Header (identifier 1), Operation (identifier 2), Package (identifier 3) Example Header 1 op 1 pack 1, header 1 op 2 pack 2, header 2 op 3 pack 3, header 2 op 4 pack 4, header 2 op 5 pack 5
I have a loading file for each of the items i.e. Header file, Operation file, maintenance package file. This is then assigned to the respective source structure.
Regards,
ravi

Similar Messages

  • Problem While Adopting Task list having components, in  PM Order

    HI ,
          I am working in simple scenario in two landscapes
    I have created a general task list having some component  assigned to one operation. I am creating new PM order & adopting the task same task list using direct entry. The task list is getting adopted but when i am going in to component tab page
    the storage location is not coming. I have to enter the storage location manually. which  i dont want
    But in other system i am doing the same thing & i could see the storage location is coming up automatically.
    In both the system i have maintaned the stock of materials for plant xyz & storage location 0001
    Can you please help me in resolving this.
    Regards,
    Amar

    Hi,
    Probably you need to check the difference in two landscape.
    i.e. release patch,
    You need to take help of Basis person in this.
    Thanks,
    Rahul

  • Problem while uploading data with GUI UPLOAD Function

    Hi,
      I am facing problem while uploading data with FM GUI UPLOAD    in out text file there are 7 row  but after the FM GUI UPLOAD  there are 14 entries are coming in Internal table   and each alternate row is coming as blank  with  0000 in some column   in internal table first row is proper and second line is blank so on.
    what can be the problem .
    The program in which we are using this we are using it from last 2 year but we are facing problem today only.
    regards,
      zafar

    Hi,
      The file formate is same as it is from last two years it is automatically generated by one another bar code server and there is no change  in the file formate.
      So waht can be the problem  to check any inconsistancy in system  i have develop a samll program fro  uploading a text file with same function module ,  but it is working fine.
    regards,
      zafar

  • Long text problem while uploading Inspection plan through BDC.

    Hi,
    I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
    I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
    Waiting for quick solution.
    Thanks in advance.
    Fahié

    Hi a®s,
    Thanks a lot for your kind reply.
    My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
    When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
    I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
    Waiting for quick solution.
    Thanks in advance.
    Fahié

  • Problem while uploading bank details in Vendor Master - XK01

    Hello Experts,
    I am encountering a problem while uploading Vebndor Master Details in Quality server . The bank details for a given bank (Eg : BankABC and Bank Key IN) throws an error saying BANK IN BANKABC DOES NOT EXIST . But , with the same details i am able to upload in Sandbox and Development Servers. Pls suggest on the same.

    Hello again,
    Thank you for the inputs.
    Venkat,
    All the required fields are active. Please give some more input.
    Rob,
    Bank is supposed to be created during the upload. The bank details which already exists in the sytem are not throwing the error. Please give suggestions for this scenario.
    Regards,
    Trishna

  • Bapi for IA05: Please let me know if there is any bapi to upload Task list

    Hi,
    Please let me know if there is any BAPI to upload Task list (TCOde : IA05).
    Thanks

    you can try with below LSMW Batch Input method
    Object 0490 Gen.task list
    Method 0000
    Program Name IBIP
    Program Type B Batch Input
    or BAPI_ROUTING_CREATE
    refer below link
    Transaction IA05  -  Create general maintenance task list

  • Problem while Introspecting a Web-Service in OBPM 10GR3 studio

    I get the following problem while Introspecting a Web-Service in OBPM 10GR3 studio:-
    Introspecting...
    downloading /test-ws/testc?wsdl [Error] Instrospection exception: Web Service WSDL parse exception: HTTPS hostname wrong: should be <test-01.test.net>...
    Any idea why?
    It runs well in a browser, eclipse and SOAP UI?

    have you create the destination?
    do  you use the wizard to generate code?
    usually there is catch clause for this line of code
    wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
    Edited by: John Wu on Dec 16, 2010 11:51 PM

  • Please guide the path in Service Market Place to find CR2008 latest Service Pack and CR2013 latest Service pack with Visual Studio integration

    Please guide the path in Service Market Place to find CR2008 latest Service Pack and CR2013 latest Service pack with Visual Studio integration for CR2013; I have S userID  and log in; but could not locate the place to download

    Hi,
    I believe you are right!, The support portal is Showing Crystal Report for VS not the other one; 
    Our S User ID is out dated might be; It was created when CR 2008 was purchased. But we bought CR2011 license recently  as mentioned below.
    Below is the product purchased by our organization
    CR 2011 INTL UPGR WIN NUL LICENSE - 1 to 2 Licenses, mix and match.
    Does this version have maintenance rights?
    I tried registering at Service MarketPlace hoping to get new S-User ID; Am i right path to get the new S- USerID ?
    During registering it asked for "Customer or Installation Number (1) *" ; Where can i get this info or number; Kindly suggest

  • I am facing problem while i create a xls sheet with some Header.

    I am facing problem while i create a xls sheet with some Header.
    If i give the hed names as FirstName , LastName its comming fine.
    FirstName | LastName
    --------------------------|------------------------
    But when i specify a string like New"Deal , New"approach .
    = "New"Deal " | =" New"approach" .
    --------------------------|------------------------
    Problem is:
    It's adding = sign in front of the header name.
    I dont want that = to be in front of the headername.
    //rep.addColumn((String) itr.next());
    The above code is used to add the header name to the xls sheet.
    The argument will come as New"Deal
    But after seeing xls it has become ="New"Deal "
    Edited by: SUNJava2008NY on Jun 12, 2008 11:38 PM

    What is the tree structure created for the property of the componentB?
    Can you try the below code in your componentB jsp and check whether you are getting the property value
    Resource resource = slingRequest.getResource();
    String description = ((String) ResourceUtil.getValueMap(resource).get(
                        "./description", String.class));

  • Problem with numbering of general task lists by creation thru LSMW - (IA05)

    I'm using a sequencial file to create general task list thru LSMW (Object 0490 which corresponds to TCode IA05).
    The numbering range for general task list groups is internal. I executed batch input and it works pretty well with the first general task list group, but every next fails, because the number of the previousy created task list stays in the user buffer and apears in the PLNNR field, so the system assumes I'm trying to create a new group counter instead of new general task list group.
    I explicitely set IBIPTLST-PLNNR = '' in field mapping - still the same problem. I also set user parameter PLN to be empty in SU3 and still no luck. I even turned off the historic data in local data tab of SAPGui, but the problem persist.
    Can anyone tell me how can I achieve it without changing the numbering range to external?

    Hi,
    From IBIP Help:
    Initial fields
    As a general rule, initial fields in structures are not transported into the corresponding screen field. In other words, fields that are blank are ignored. If you explicitly want to reset a field to the value "<blank>", you must mark the field in the batch input structure with the value !. This is the reset indicator, and means that a field is to be reset to its initial value.
    Try setting IBIPTLST-PLNNR to !
    -Paul

  • Upload Task List Operation long Text using SAVE_TEXT-Urgent

    Hi ,
    I am trying to create Task List Operation Long text using the function module ..
    SAVE_TEXT .I am passing the following keys
    Text Name       300ATEST057 0000000900000009
    Language        EN
    Text ID            PLPO Long Text
    Text Object     ROUTING    Texts for task list types
    But the long texts are not getting updated in the Task lists operations .
    Can anyone please suggest whether SAVE_TEXT will work for Operation long Texts or not Are we missing something
    .This is pretty urgent requirement .Award points are assured.
    Regards
    Sam

    hi,
    use function module create text
    check the sample code
    DATA: BEGIN OF itab OCCURS 0,
          asnum LIKE asmd-asnum, " Service No
          text(5000)  TYPE c, " Long Text
          END OF itab.
    *DATA: itab1 LIKE itab OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF itab1 OCCURS 0,
          asnum LIKE asmd-asnum, " Service No
          sequ  type i,          " Text Sequence
          text(5000)  TYPE c, " Long Text
          END OF itab1.
    To create Long Text lines for CREATE_TEXT function module
    DATA:BEGIN OF dt_lines OCCURS 0.
            INCLUDE STRUCTURE tline. " Long Text
    DATA:END OF dt_lines.
    Variable declarations for CREATE_TEXT function module
    DATA : dl_name TYPE thead-tdname, " Object Name
           dl_lan TYPE thead-tdspras. " Language
    Constants
    Object ID for Long Text of Service Master
    CONSTANTS:c_best TYPE thead-tdid VALUE 'LTXT',
              c_material TYPE thead-tdobject VALUE 'ASMD'. " Object
    for file splitting.
    DATA: start TYPE i,
          len   TYPE i VALUE 92,
          totlen TYPE i,
          n TYPE i.
    PARAMETERS p_file LIKE rlgrap-filename."input file
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start Of Selection
    START-OF-SELECTION.
    *To Upload Flat file
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      LOOP AT itab.
        itab1-asnum = itab-asnum.
        CLEAR: totlen,n, start.
        totlen = STRLEN( itab-text ).
        n = totlen / len.
        n = n + 1.
        DO n TIMES.
          itab1-text  = itab-text+start(len).
          itab1-sequ  = sy-index.
          start = start + len.
          APPEND itab1.
        ENDDO.
      ENDLOOP.
      delete itab1 where text is initial.
      SORT itab1 BY asnum sequ.
      LOOP AT itab1.
        dt_lines-tdformat = '*'.
        dt_lines-tdline = itab1-text.
        APPEND dt_lines.
    Call the Function Module to Create Text
        AT END OF asnum.
          dl_lan = sy-langu.
          WRITE : / itab-asnum.
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = itab1-asnum
            IMPORTING
              output = itab1-asnum.
          MOVE itab1-asnum TO dl_name.
          CALL FUNCTION 'CREATE_TEXT'
            EXPORTING
              fid         = c_best
              flanguage   = dl_lan
              fname       = dl_name
              fobject     = c_material
              save_direct = 'X'
              fformat     = '*'
            TABLES
              flines      = dt_lines
            EXCEPTIONS
              no_init     = 1
              no_save     = 2
              OTHERS      = 3.
          IF sy-subrc <> 0.
            WRITE:/ 'Long Text Creation failed for Service No'(001),
            itab1-asnum.
          ELSE.
            WRITE:/ 'Long Text Created Successfully for Service No'(002),
            itab1-asnum.
          ENDIF.
          REFRESH dt_lines.
        ENDAT.
      ENDLOOP.
    in text file give first field records in capitals
    regards
    siva

  • Problem while 're-posting' a cancelle Invoice with Exchange Rate Difference

    Hi Gurus,
    We are facing a problem while re-posting an Invoice with Exchange Rate Difference. I say re-posting because this invoice was previously posted and reversed on the same date. Here is the scenario along with the relevant postings:
    1)
    G/R is posted in September when the exchange rate for dollar was, say, Rs. 49 = 1 USD.
    Posting:
    Service A/C.....100 USD (Rs. 4900)
         To SR/IR Clearing A/C...100 USD (Rs. 4900)
    2)
    MIRO is done in October, when the exchange rate was, say, Rs. 48 = 1 USD. Thus, the exchange difference posting was done in the respective accounts.
    Posting:
    SR/IR Clearing A/C......100 USD (Rs. 4900)
         To Vendor A/C...........90 USD (Rs. 4320)
         To TDS A/C..............10 USD (Rs.  480)
         To Exch. Difference A/C. 0 USD (Rs.  100)
    This was the correct entry, however we missed out some TDS codes and thus needed to reverse this entry and repost it.
    3)
    Now this invoice was reversed (T.Code MIRO) in october itself on exactly the same date on which invoice was created, and it resulted in the following postings:
    Vendor A/C......90 USD (Rs. 4320)
    TDS A/C.........10 USD (Rs.  480)
         To SR/IR Clearing A/C...100 USD (4800, i.e. 48 * 100, Rs.48 being the exchange rate in october)
    4)
    Now when we try to post MIRO again, it is posting the following entry:
    SR/IR Clearing A/C......97.96 USD (Rs. 4800)
    Exch. Difference A/C.....2.04 USD (Rs.    0)
         To Vendor A/C........... 85 USD (Rs. 4080)
         To TDS1 A/C............. 10 USD (Rs.  480)
         To TDS2 A/C.............  5 USD (Rs.  240)
    This is a wrong entry. SR/IR clearing A/C should have been debited by 100 USD (Rs. 4900), and the Exch. Rate difference account should have been credited by 0 USD (Rs. 100)
    Can someone please help us with this. What the system seems to be doing is, that when the Invoice was reversed, the value that got reversed for SR/IR Clearing A/C was 100 USD but with Rs. 4800 instead of Rs. 4900. Now, when we try to repost the invoice, the system divided this value by the exchange rate prevalent in September, i.e. Rs. 49, thus the resultant value 97.96 USD (i.e.  4800 / 49).
    Please help.
    Thanks!
    Regards,
    Angad Nagpal

    Solved.
    The final entry is correct, as the net result in the G/L balances is the same. For further information please refer to notes 116250 and 46564.
    Thanks!
    Regards,
    Angad Nagpal

  • Problem while uploading data from flat file

    hi friends,
    suppose if there are 100 records in flat file , if 20 records uploaded with out any problem and if error occurs while uploading remaing data . is necessary to upload entire data again or else only remaining data should be uploaded?
    i had used call transaction for purchase order application?
    please give me reply  soon its urgent
    thanks & regards
    priya

    Hi Hari,
    you have to upload the remaining data.
    as u have used CT method, do 1 thing trap the error data in runtime & prepare another flat file. next time correct the data in new flat file. & run the DBC program again with this new flat file.
    Reward if useful
    Regards
    ANUPAM

  • Database Connection problem in WLS 7.0 Service Pack 7

    Hi Guys,
    I am a newbie in this forum. Currently, I tested running application using WLS 7.0 Service Pack 7 in Development environment. And for database I used Oracle 9i Release 2 v9.2.0.6 which is running on AIX OS. After WLS started, I had some error in connecting to database. This is the error that I found from log file :
    java.sql.SQLException: Bigger type length than Maximum
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:161)
    at oracle.jdbc.driver.DatabaseError.check_error(DatabaseError.java:884)
    at oracle.jdbc.driver.T4CMAREngine.buffer2Value(T4CMAREngine.java:2230)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB2(T4CMAREngine.java:1047)
    at oracle.jdbc.driver.T4CTTIdcb.receiveCommon(T4CTTIdcb.java:111)
    at oracle.jdbc.driver.T4CTTIdcb.receiveFromRefCursor(T4CTTIdcb.java:103)
    at oracle.jdbc.driver.T4CResultSetAccessor.unmarshalOneRow(T4CResultSetAccessor.java:165)
    at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:787)
    at oracle.jdbc.driver.T4CTTIrxd.unmarshal(T4CTTIrxd.java:704)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:526)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:179)
    at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:782)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1027)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2887)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:2978)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4102)
    at weblogic.jdbc.pool.Statement.execute(Statement.java:298)
    at EJB.Engine.EAIManagerBean.mtdRequest(EAIManagerBean.java:204)
    at EJB.Engine.EAIManagerBean_lt8oqo_EOImpl.mtdRequest(EAIManagerBean_lt8oqo_EOImpl.java:46)
    So, I need someone to solve my problem. Thanks...

    First thing, most of BEA's forums are terrible as people rarely reply. I noticed your post through google searching for the same fix. You have likely done the same things as me and have learned that your Oracle JDBC Client driver has some bugs interacting with certain version of Oracle Server. For us, this problem occured when we migrated from Solaris to AIX. We were able to fix this by downloading the latest version of ojdbc14.zip from oracle's site. You can either replace the current ojdbc14 file in the bea installation or make sure it is visible in the classpath for WLS before the old version.
    Here is a good link which describes the problem, good luck.
    http://www.dbtalk.net/comp-databases-oracle-server/java-sql-sqlexception-bigger-type-289015.html

  • Problem while uploading data through F-43

    Hello Experts ,
    I am facing a problem while data uploading through F-43.
    Suppose I have many vendors with having several debit and credit items for each.So in t code same screen will appear for same vendor several times where we have to enter debit / credit items.
    Please suggest how to solve this issue through LSMW/BDC program.
    Thanks in adv.
    A Miter.

    Hi..
    Use BDC Recording MEthod ...
    Develop BDC program, Before Recording the Transaction sit with Functional Consulatnt for REcord The f-43.
    After that  that  u can do ur coding  and built ur own logic.
    Prabu

Maybe you are looking for

  • How can i fix a clip when the video and audio are not matching up?

    How can i fix a clip when the video and audio are not matching up? I imported the video from a junkdrive in a .VOB format and concerted to a .mov the videos were filmed on a miniDVD recorder.

  • Captured NTSC video looks small in Canvas window

    Often, when we capture video into FCP (version 4.5), the clip comes in at 50% of it's original size (that's how it looks in the canvas window and on the NTSC monitor). We have looked at a number of sequence settings and have not been able to rectify

  • How to create executable jar in eclipse using linking in compiler

    Hi, I have a project in Eclipse. I wrote already an ant build file for creating an executable jar which includes all project files. Now I want to create a second executable jar which is a subset of the project (a limited number of classes are necessa

  • Load Movie on MAC (Png & GIF Format)

    Hello All, I am facing problem in using MovieClip.LoadMovie function on mac, The function is not working with png and gif formats on mac (both in safari, mozilla). The same app is working on windows ( IE & Mozilla). can any body please give me any cl

  • App Store & Apple ID issues

    Hi everyone, Today I tried to use my TuneIn radio app. It wouldn't connect so I thought I'd delete and reinstall as I'd been experiencing buffering issues as well in the last few days. I deleted the app and went into the App Store to redownload it. T