Migrating LSMW via change request Problem

We have been migrating any changes in our LSMW objects using the path Extras --> Create Change Request from the transaction code LSMW. This will be from DEV server to QA server. We have been doing this process for the past 5 months.
HOwever, 2 weeks ago, it suddenly didnt work. I compared the program generated by LSMW object between the Dev server and QA server and there are dfferences.
To test if this is not just a code change directly made on the QA server, I specifically run another test. I created a change request, immediately migrated it to QA and check if the code has been updated. The code in QA server was not migrated even though the transport log shows that it was successfully migrated.
Why is this so? We used to do this and it used to work. How come it suddenly stops working? Please help....

Hi CIM,
maybe you are right with your assumption: code was changed in QA.
This might change attribute of this program to 'original' and normal transports no longer change such objects (to prevent unwanted changes in DEV).
But there is a special flag 'overwrite originals' (or something like that), which can be set during transportation.
Try this out.
But maybe it's something else...
Regards,
Christian

Similar Messages

  • Problems migrating data via LSMW using the IDoc method

    Hello everybody,
    I got a very strange problem migrating data via the LSMW. I tried to map legacy data using the IDoc mapping method. I'm using the message type 'CRMXIF_PARTNER_SAVE_M ' and the basic IDoc type 'CRMXIF_PARTNER_SAVE_M01'.
    I can read the import data and convert it to IDoc structure as well as generate the IDoc. When I start processing the IDoc afterwards I get always the same error messages which I don't understand...
    The errors are:
    1) Error status 'A ' calling validation service (Status 51)
    2) Validation error occurred: Module CRM_BUPA_MAIN_VAL , BDoc type BUPA_MAIN (Status 51)
    3) Error_Time Dependency_Addresses CHECK_TABLE_MISSING (Status 51)
    4) Internal error when calling operation module BUA_CHECK_ADDRESS_VALIDITY_ALL : Check table missing (Status 51)
    5) Address moves ignored in the case of time-independent systems (Status 51)
    6) Partner data processed with key PartnerGUID 4BF67ADE9B9923BEE10000000A3500DB (Status 51)
    7) Partner (4BF67ADE9B9923BEE10000000A3500DB ): the following errors occurred (Status 51)
    I tried to import the following data:
    external ID
    Name1
    Name2
    Address data
    Telephone data
    Fax data
    Website data
    Can anybody tell me where those errors come from and how I can fix them. Would be great if somebody could help me!
    Thank you and best regards,
    Markus

    so apparently my issue with this was setting the time zone in the Address to the time zone of the user doing the conversion. You can find the time zone in SU01.
    Also you can create a BP in the WebUI then check t-code SMW01 and it will help you on passing the values to CRMXIF_PARTNER_SAVE
    Edited by: Akeem Lockett on Jul 8, 2010 7:44 AM

  • Error while creating change request via solman support desk message

    I have configured CHARM and my change req. is working for urgent correction, I have tested the entire workflow.
    however when i try to create a new change req. via support desk message --> create a change request open
    I get following error
    An action was terminated due to an exceptional situation.
    Message no. SOCM_ACTION_LOG 090
    Diagnosis
    An exception has been triggered in PPF action processing.
    System Response
    Action processing has been terminated. The status of the transaction is still incorrect.
    Procedure
    You cannot execute the action until the cause of the error has been removed.
    The error messages will be kept until the transaction is next checked for subsequent analysis.
    Procedure for System Administration
    If necessary, analyze other messages in the application log for the incorrect transaction. To analyze the termination, you can activate the breakpoints in the checkpoint group socm_exception.
    Additional Information:
    Exception CX_SOCM_PRECONDITION_VIOLATED occurred (program:
    CL_HF_HELPER==================CP, include:
    CL_HF_HELPER==================CM00A, line: 29).
    pls help

    Hi Yunus,
    Your probably have changed the transaction type SLFN to a the customer namespace Z or Y. If this is the case you MUST also "Define Mapping Rules for Copy Control".
    Goto SPRO -> SAP Solution Manager -> Scenario-Specific Settings -> Change Management -> Change Request Management -> Extended Configuration -> Change Transaction -> Change Transaction Types -> Copy Control for Change Request Management ->  Define Mapping Rules for Copy Control.
    Once at this point in the IMG make a copy of SLFN -> ZLFN. This will resolve your problem.
    Kind regards,
    Latief

  • Solution Manager 3.2 SP 8- Change Request Management Configuration Problem

    Hi friends,
    We are in process of implementing SOLMAN 3.2 SP8 in our landscape.I am facing  problem in configuring change request management.
    When the developer is working on an urgent correction document we are facing a problem.The steps we are following are here under provided.
    Step 1 :
    Selected Action "In development" - > it created the transport request in the dev system.
    Step 2:
    Action "Log into System" -> made correction attached to the transport request manually and released the task.
    Step 3:
    Action "Release transport requests" -> The transport request in the development was released.
    Step 4:
    Went for action "Pass to correction" -> I am facing exceptions which conveys
    Status was reset by system
    A condition is not satisfied because of an exceptional situation
    Not all transport requests yet released
    And we would be thankful if you provide the authorization required for the different roles in the change request management.I have followed the help file of SOLMAN 3.2 and create the users as under
    User - Role
    SOCM_RQSTR - ZSAP_SOCM_REQUESTER
    (Derrived from SAP_SOCM_REQUESTER)
    SOCM_DVLPR - ZSAP_SOCM_DEVELOPER
    (Derrived from SAP_SOCM_DEVELOPER)
    SOCM_CHNGNGR - ZSAP_SOCM_CHANGE_MANAGER
    (Derrived from SAP_SOCM_CHANGE_MANAGER)
    SOCM_CHNGNGR - ZSAP_SOCM_IT_OPERATOR
    (Derrived from SAP_SOCM_IT_OPERATOR)
    Even then I am facing problems while developer creating transport requests and while logging into development system.
    I tried adding S_RFC,S_RFCACL auth objects to their roles but did not help.
    Pl. suggest.
    Thanks & Regards
    Mrutyunjay
    Message was edited by: Mrutyunjay Rao Dora

    Hi all,
    We are trying to implement the Change Request Management piece in Solution Manager 3.2. 
    We are facing the following issues which I think relate to the same reason:
    1)We have created a Maintenance Project in SOLAR_PROJECT_ADMIN and assigned it a logical component, which consists of our two system landscape (namely DEVàQAS). We have also created the IMG project in the DEV system and have distributed that IMG project to both the Solution manager system and the DEV system. Now we have to make the maintenance cycle and task list for that maintenance project, but as we select the project and click on “create project cycle” it shows the message "The project is not released. Hence cycle can not be created". It is showing the status of project as locked .How can we open or unlock the project to remove the error?
    2) Also after selecting the SMI project when we click on the button “CTS status switches” or “project specific Transport route” it responds with the error "Project landscape not configured; set the project status to "open" first ".
    3)When we click on “synchronize single project” it prompts for the login of connected system (Development System) and after login, it gives an error "Warning, problems during synchronization of the system Landscape".
    For Error resolution, we have checked the system landscape and it does not give us any errors. We have done that, both from the solution manager by going to the transaction SOLAR_PROJECT_ADMIN -->  >system landscape tab>selecting our logical component and doing a check by clicking the "Check system Landscape" button. It returns with "no Errors". We also did a check on the TMS configuration by logging directly on to the TMS domain controller system and checking the Transport routes. We have checked the RFC connections without any errors.
    Any help would be greatly appreciated.
    Thanks
    Abhi

  • STMS change request release problem

    Hi
    I am not able to release change requests, sab task able to release, but problem in main request, when I press , release directly, on the bottom it shows u2026tp successfully connected / check writeability of buffers finished with return cod 0. Then screen hangs u2026 manually I have to stop the transition.
    I have configured STMS 4,5 times but same problem, in SM59 all retaliated RFCs working fine.
    Our System is ERP 6.0, HPUX with DB2
    Kindly give me a solution.
    But in Tcode STMS >>Monitor>>TMS Alerts>>TMS Alert viewer showers following error:
    Date       Time       User           Function      Message                                            System   Clt
    23.05.10   17:29:07   TMSADM         TMS_TS_GET_TRLIST    NO_LOG                SID      000
    23.05.10   16:58:25   TMSADM         TMS_PS_READ_PROFILE_FROM_DISK                               READ_PROFILE_FAILED                                            SID      000
    23.05.10   16:57:30   TMSADM         TMS_PS_READ_PROFILE_FROM_DISK                                 READ_PROFILE_FAILED                                            SID      000
    23.05.10   15:55:59   TMSADM         TMS_TP_MAINTAIN_BUFFER                                        RFC_SYSTEM_FAILURE                                             SID      200
    23.05.10   15:05:36   TMSADM         TMS_TS_GET_TRLIST                                             NO_LOG                                                         SID     000
    23.05.10   15:01:29   TMSADM         TMS_TS_GET_TRLIST                                             NO_LOG                                                         SID     000
    23.05.10   14:53:00   TMSADM         TMS_TS_GET_TRLIST                                             NO_LOG                                                         SID    000
    23.05.10   14:51:38   TMSADM         TMS_TS_GET_TRLIST                                             NO_LOG                                                         SID      000
    Regards
    Sunny

    Hi Sunny,
    Its hard to tell what might be the problem.
    I would recommend that you:
    - update kernel to the latest patch level for your release
    - update your transport tools, tp and R3trans to the latest available for your release
    - go into STMS - system pverview and do the 3 checks: Connection test, transport directory, transport tool
    check if they all pass.
    - try to release a transport and then if it still freezes after all of the above, stop it and check the system log, trans.log, the latest logs in usr/sap/trans/tmp and usr/sap/trans/log to see what was the action it was doing before it froze. That will give a clue as to where the issue may be.
    regards,
    Paul

  • Authorized Status problem in change Request

    Hi All,
    when a correction is completed/withdrawn, generally the change request status changes to Implemented/new and we used to confirm the realization.
    The Problem is due to some missing configuration(in status attribuites), this was not done before and tickets were created and authorized.
    now after the necassary configuration being done, For the open corrections it is changing to implemented. but for already completed corrections the status is still Authorized only.
    It is always getting displayed in the report as not completed ones.
    Kindly guide on how can we close this change requestswith status authorized and whose corrections are completed already.
    Regards,
    Subhashini.

    Hi Subhashini.
    I am running in to the same problem....
    The Problem is due to some missing configuration(in status attribuites), this was not done before and tickets were created and authorized.
    Could you please tell me what changes you did to resolve the issue ?
    Please see the active thread:
    [Re: Controlling ACTION in ChaRM|Re: Controlling ACTION in ChaRM]
    Regards.
    Rajesh Narkhede

  • HT4889 After using migration assistant I have had problems with some apps that were brought down from App store, as well as IntelliJ that just doesnt want to start at all. Does it have anything to do with the UID being changed?

    After using migration assistant I have had problems with some apps that were brought down from App store, as well as IntelliJ that just doesnt want to start at all. Does it have anything to do with the UID being changed?
    13-07-03 6:24:12.447 PM com.apple.launchd.peruser.502[1632]: ([0x0-0x5be5be].com.jetbrains.intellij[5805]) Job failed to exec(3) for weird reason: 13

    What is the exact name of the application you're trying to launch? Is it in the Applications folder?

  • Problem in MSS (My Staff- Personal change request )

    Hi,
    i am configuring MSS in EP6.0, backend is MySAPERP 2004,ECC5.0.
    On going to My Staff-->Personal Change Request -->New Request-> i select the employee and get lots of options like request for promotion, Internal Transfer, separation etc. However on clicking on any of these, i get a critical error saying "Error in try-catch block - Template could not be retrieved."
    Can anyone who has implemented MSS, help me out with this..
    Thanks,
    Aditi

    Hi Aditi,
               Try to login with some another manager test id's. some time the test id's get locked at backend. that time such a type of error displays.
               first clear your cache and then try out.
    Regards,
    Rahul S.

  • Number range problem for change request in CHARM

    Hi guys,
    Currently i am working on CHARM implementation and i have a doubt when i create a customised change request(ZDCR) a number is getting generated (e.g 8000000791) before saving the document.but when i come out of the CR without saving and try to create a new CR it is taking the next number. i.e 8000000792
    Now i dont want the number to be skipped to the next number if it is not saved, kindly give your valuable inputs.
    Regards
    Raju

    Dear Fr,
    In SPRO
    Select the transaction type which you have created now
    go to change mode
    search for the box WITH TITLE  TRANSACTION NUMBERING
    now deselect early no assignment.
    whenver you press the save button only then
    you wil have a new no generated.
    PLEASE REWARD POINTS

  • Transporting a change request created in SNOTE

    Hello all,
    I'm fairly new to all this so hopefully there's an easy solution to my problem. I've implemented an OSS note correction in our BW development system via transaction SNOTE. This worked fine and during this process I was prompted to create a new local change request and did so. My problem comes when I'm trying to transport this request to our BW QA system. I released the request in development but when adding it to the transport queue in QA I get an error:
    "Transport control program tp ended with error code 0247"
    Our transport system is currently working normally so I think the problem is with the request. Does this change need to be in a Customizing request or a Workbench request? Please advise.
    Thank you.

    Hi Ganesh,
    Can I ask something about inactive object here?
    I applied notes with SNOTE.  But all objects are inactive.
    When I activete them, The system requires accesskey.
    How could this happen? And any solution for this?
    I can't deapply the notes any more. coz it's bug fix for SNOTE.
    If I do this, the system will be inconsistent, this happened beffore
    Thanks
    kaz,

  • Change Request Errors

    I am enable to Release My change request ,it is showing me errors when i am trying  releasing  the request can anybody help me out .

    Hi
    Please be specific, what is the error that you are getting.
    If it is
    1) Update error occurs while releasing the change request for objects.
    Then implement sap note 846128
    2) Check if the chage request is generating a short dump.
    With that, analysing becomes easier.
    3) You enter requests which are approved via request workflow. During the release via the workflow no checks of the request are carried out, so that this can result in problems.
    Refer note 501335 for this issue.
    4) The error could be because, In Change Request a transport request is released using an action.
    For this refer note 1117422.
    Hope this helps
    Regards
    Shilpa

  • Completing / Closing Solution Manager Change Requests

    I have several change requests were a developer created and released two transports, but they only required one to move to production.  The other one is not needed and they do not want to move.  However, this is preventing me from completing / closing the change request.  Solution manager excpects that all released transprots have to be migrated to prodution in order to complete the change. 
    Is there a way to force the change request to complete?  Is there a switch or something I can update that makes the CR think that all transports have been migrated to production?

    Hi CeeJay1A,
    We had a similar issue and found we couldn't set change document status to "Production" (and subsequently Confirmed/Completed) without importing all Transports to production, which makes sense when you think about it, as it's true not all transports are in Production.  In the end because we never wanted this transport to go to Production we withdrew the change document via report CRM_SOCM_SERVICE_REPORT unconditional withdrawal option and removed transport from import queue of Production.
    Although I would never recommend not importing all transports (ensuring a consistent landscape), I understand there will be rare exceptions when transports should never go to Production.
    Paul

  • Data transfer thru lsmw via bapi

    how to perform data transfer thru lsmw via bapi.
    Thanks.
    Regards
    Rama

    HI
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    The following standardized BAPIs are provided:
    Reading instances of SAP business objects
    GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.
    The BAPI GetList() is a class method.
    GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type
    The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.
    Create( ) and CreateFromData! ( )
    The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.
    Change( )
    The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.
    Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.
    The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.
    Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.
    Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sappoint.com/abap/bapiintro.pdf
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    u can check the below the material also
    Example Code
    U need to give the step_nr, item_nr, cond_count and cond_type so the correct conditon will be updated. If no condition exists for the given parameters, a new condition will be created.
    U can find these parameters for a particular condition type in table KONV.
    *& Form saveTransactionJOCR
    text
    --> p1 text
    <-- p2 text
    FORM saveTransactionJOCR .
    data: salesdocument like BAPIVBELN-VBELN,
    order_header_inx like bapisdh1x,
    order_header_in like bapisdh1,
    return type standard table of bapiret2 with header line,
    conditions_in type standard table of bapicond with header line,
    conditions_inx type standard table of bapicondx with header line,
    logic_switch like BAPISDLS,
    step_nr like conditions_in-cond_st_no,
    item_nr like conditions_in-itm_number,
    cond_count like conditions_in-cond_count,
    cond_type like conditions_in-cond_type.
    salesdocument = wa_order_information-VBELN.
    LOGIC_SWITCH-COND_HANDL = 'X'.
    order_header_inx-updateflag = 'U'.
    conditions
    clear conditions_in[].
    clear conditions_inx[].
    clear: step_nr,
    item_nr,
    cond_count,
    cond_type.
    step_nr = '710'.
    item_nr = '000000'.
    cond_count = '01'.
    cond_type = 'ZCP2'.
    CONDITIONS_IN-ITM_NUMBER = item_nr.
    conditions_in-cond_st_no = step_nr.
    CONDITIONS_IN-COND_COUNT = cond_count.
    CONDITIONS_IN-COND_TYPE = cond_type.
    CONDITIONS_IN-COND_VALUE = 666.
    CONDITIONS_IN-CURRENCY = 'EUR'.
    append conditions_in.
    CONDITIONS_INX-ITM_NUMBER = item_nr.
    conditions_inx-cond_st_no = step_nr.
    CONDITIONS_INX-COND_COUNT = cond_count.
    CONDITIONS_INX-COND_TYPE = cond_type.
    CONDITIONS_INX-UPDATEFLAG = 'U'.
    CONDITIONS_INX-COND_VALUE = 'X'.
    CONDITIONS_INX-CURRENCY = 'X'.
    append conditions_inx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    SALESDOCUMENT = salesdocument
    ORDER_HEADER_IN = order_header_in
    ORDER_HEADER_INX = order_header_inx
    LOGIC_SWITCH = logic_switch
    TABLES
    RETURN = return
    CONDITIONS_IN = conditions_in
    CONDITIONS_INX = conditions_inx
    if return-type ne 'E'.
    commit work and wait.
    endif.
    ENDFORM. " saveTransactionJOCR
    Bdc to Bapi
    The steps to be followed are :
    1. Find out the relevant BAPI (BAPI_SALESORDER_CHANGE for VA02).
    [for VA01 use BAPI_SALESORDER_CREATEFROMDAT2]
    2. Create a Z program and call the BAPi (same as a Funtion module call).
    2. Now, if you see this BAPi, it has
    -> Importing structures.
    eg: SALESDOCUMENT: this will take the Sales order header data as input.
    -> Tables parameters:
    eg: ORDER_ITEM_IN: this will take the line item data as input.
    Note :
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data
    Possible UPDATEFLAGS:
    U = change
    D = delete
    I = add
    Example
    1. Delete the whole order
    2. Delete order items
    3. Change the order
    4. Change the configuration
    Notes
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.
    For further details... refer to the Function Module documentation for the BAPi.
    Bapi to VB(Visual Basic)
    Long back I had used the following flow structure to acheive the same.
    Report -> SM59 RFC destination -> COM4ABAP -> VB.exe
    my report uses the rfc destination to create a COM session with com4abap. com4abap calls the vb.exe and manages the flow of data between sap and vb exe.
    You need to have com4abap.exe
    If com4abap is installed you will find it in sapgui installatin directory , C:\Program Files\SAPpc\sapgui\RFCSDK\com4abap.
    else refer OSS note 419822 for installation of com4abap
    after making the settings in com4abap to point to the vb program and setting up rfc destination in sm59 to point to com4abap session , you can use the following function modules to call the vb code.
    for setting up com4abap and rfc destination please refer to the documentation for com4abap.
    Invoke NEW DCOM session
    call function 'BEGIN_COM_SESSION'
    exporting
    service_dest = service_dest "(this will be a RFC destination created in SM59)
    importing
    worker_dest = worker_dest
    exceptions
    connect_to_dcom_service_failed = 1
    connect_to_dcom_worker_failed = 2
    others = 3.
    call function 'create_com_instance' destination worker_dest
    exporting
    clsid = g_c_clsid
    typelib = g_c_typelib
    importing
    instid = g_f_oid
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    call function 'com_invoke' destination worker_dest
    exporting
    %instid = g_f_oid
    %method = 'UpdatePDF'
    sntemp = g_v_const_filent
    snsysid = sy-sysid
    snflag = 'N'
    tables
    rssaptable = g_t_pdfdetail1
    %return = g_t_pdfdetail1 "t_test
    exceptions
    communication_failure = 1 message g_f_msg
    system_failure = 2 message g_f_msg
    invalid_instance_id = 3
    others = 4.
    then close the com session , using
    FM delete_com_instance
    FM END_COM_SESSION
    http://help.sap.com/saphelp_nw2004s/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    BAPI - BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet.
    BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology.
    LSMW- No ABAP effort are required for the SAP data migration. However, effort are required to map the data into the structure according to the pre-determined format as specified by the pre-written ABAP upload program of the LSMW.
    The Legacy System Migration Workbench (LSMW) is a tool recommended by SAP that you can use to transfer data once only or periodically from legacy systems into an R/3 System.
    More and more medium-sized firms are implementing SAP solutions, and many of them have their legacy data in desktop programs. In this case, the data is exported in a format that can be read by PC spreadsheet systems. As a result, the data transfer is mere child's play: Simply enter the field names in the first line of the table, and the LSM Workbench's import routine automatically generates the input file for your conversion program.
    The LSM Workbench lets you check the data for migration against the current settings of your customizing. The check is performed after the data migration, but before the update in your database.
    So although it was designed for uploading of legacy data it is not restricted to this use.
    We use it for mass changes, i.e. uploading new/replacement data and it is great, but there are limits on its functionality, depending on the complexity of the transaction you are trying to replicate.
    The SAP transaction code is 'LSMW' for SAP version 4.6x.
    Check your procedure using this Links.
    BAPI with LSMW
    http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
    For document on using BAPI with LSMW, I suggest you to visit:
    http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
    What are the methods to migrate data from a legacy system to SAP?
    LSMW is used for migrating data from a legacy system to SAP system, or from one SAP system to another.
    Apart from standard batch/direct input and recordings, BAPI and IDocs are available as additional import methods for processing the legacy data.
    The LSMW comprises the following main steps:
    Read data (legacy data in spreadsheet tables and/or sequential files).
    Convert data (from the source into the target format).
    Import data (to the database used by the R/3 application.
    But, before these steps, you need to perform following steps :
    Define source structure : structure of data in the source file.
    Define target structure : structure of SAP that receives data.
    Field mapping: Mapping between the source and target structure with conversions, if any.
    Specify file: location of the source file
    Of all the methods used for data migration like BDC, LSMW , Call Transaction which one is used most of the time?
    How is the decision made which method should be followed? What is the procedure followed for this analysis?
    All the 3 methods are used to migrate data. Selection of these methods depends on the scenario, amount of data need to transfer. LSMW is a ready tool provided by SAP and you have to follow some 17 steps to migrate master data. While in BDCs Session method is the better choice because of some advantages over call transaction. But call transaction is also very useful to do immediate updation of small amout of data. (In call transaction developer has to handle errors).
    SO Bottom line is make choice of these methods based of real time requirements.
    These methods are chosen completely based on situation you are in. Direct input method is not available for all scenario, else, they are the simplest ones. In batch input method ,you need to do recording for the transaction concerned. Similarly, IDoc, and BAPI are there, and use of these need to be decided based on the requirement.
    Try to go through the some material on these four methods, and implement them. You will then have a fair idea about when to use which
    You can create lsmw for data migration as follows (using session method):
    Example for xk01 (create vendor)
    Initially there will be 20 steps but after processing 1 step it will reduced to 14 for session method.
    1. TCode : LSMW.
    2. Enter Project name, sub project name and object name.
    Execute.
    3. Maintain object attributes.
    Execute
    select Batch Input recording
    goto->Recording overview
    create
    recording name.
    enter transaction code.
    start recording
    do recording as per ur choice.
    save + back.
    enter recording name in lsmw screen.
    save + back
    Now there will be 14 steps.
    2. MAINTAIN SOURCE STRUCTURES.
    Here you have to enter the name of internal table.
    display change
    create
    save + back
    3. MAINTAIN SOURCE FIELDS.
    display change
    select structure
    source_fields->copy fields.
    a dialogue window will come .
    select -> from data file
    apply source fields
    enter No. of fields
    length of fields
    attach file
    save + back
    4. MAINTAIN STRUCTURE RELATIONS
    display change
    save + back
    5. MAINTAN FIELD MAPPING & CONVERSION RULE
    display change
    click on source field, select exact field from structue and enter
    repeat these steps for all fields.
    save+back
    6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
    execute
    save + back
    7. SPECIFY FILES.
    display change
    click on legacy data
    attah flat file
    give description
    select tabulatore
    enter
    save + back
    8. ASSIGN FILE
    execute
    display change
    save + back
    9. IMPORT DATA.
    execute
    display change
    save + back
    10. DISPLAY IMPORTED DATA
    enter ok, it willl show records only.
    back
    11. CONVERT DATA
    execute
    display change
    save + back
    12. DISPLAY CONVERTED DATA
    execute
    display change
    save + back
    13. CREATE BATCH INPUT SESSION
    tick keep batch input folder
    F8
    back
    14. RUN BATCH INPUT SESSION.
    sm35 will come
    Object name will be shown here
    select object & process
    Regards
    Pavan

  • Help me configure Change request management !!!

    Dear friends,
    I am Going to Configure Change request Management, so just to ensure that the configuration is not erronous, i would need Expert advise..
    Just want to know Clear few things before i proceed..
    I am also refering SPRO and related notes
    Scenario :
    I have two SYSTEMS SAP ECC 6.0 with System id R03 and Soluiton manager with SYSTEM id SOL,
    R03 has 3 clients, 300 600 700..
    In R03 300 is the development client, 600 is quality client, 700 is the production client.
    SOL has 2 clients, 100, 200
    With 200 as the production client.
    Q.1) <b>Do i have to configure CHARM in both the client (100 and 200 of SOLMAN).</b>
    Q.2) Initially I had tried to set CHARM in client 100 of solman, but later on realized that it has to be set up in client 200.
    When i logon to client 200 and  Execute IMG activity Spro-> sap soltion manger->basic settings-> sap solution manager system->activate integration with change request management.
    Then by default it take the previous client ( client 100) as the change request management client.
    ( as we know there are three steps in the above activity ), the other activity are executed properly, only prblem being that the default client is always set to 100, which should not be the case).
    I do get the prompt saying ( "The change request clent is set to clent 100, do u want to change to client 200, on clicking yes, still it is always set the same client 100 as charm client ")
    <b>Plz let me know what do i do to set the change request client to 200??</b>
    Q.3) Regarding TMS, we have local domain controller in solman and local domain in R3.
    We are planing to establish domain links between the two systems( ie both the domain controllers) ??
    Is this the right strategy ??
    <b>Any other method that u can recommend  ??</b>
    Q.4)One of the IMG activity says, Generate Destinations to client 000 of all the domain controllers..
    Whenever i do this these, destinations are created with errors, i am not able to create trusted RFC destinations without errors.
    When i logon to satellite domain controler and excecute sm59 there are 2 destinations created Trusted and BACK.
    These destinations works well,
    but when i logon to Solman, got to sm59 , when i test the TMW and TRUSTED rfc destinations  i test these destinations using Remote Logon i get error,
    " no authorization to logon as trusted system"
    I went thru one note which recomended Kernel upgrades to solve the problem,
    I r3 my kernel relaese is 700 with patch level 56, the note recomends to apply patch 80, did u have these problems??
    <b>what is your kernel patch levels in sateliite and solman systems.</b>
    Q.5) TO be able to raise tickets from R3 to solman we create RFC destinations.
    We also create RFC destinations to client 000 of all the sateliite system,
    <b>dont u think these RFC destinations might interfere with each other??</b>
    Q.6) Is there anyone who has successfully configured CHARM. Can you plz share the  configuration documents with me..
    Please note :
    <b>All the contributors would be handesomely rewarded with points .</b>

    Hi,
    Check this
    Note 128447 - Trusted/Trusting Systems
    For your Q4.
    Q3.)
    Establishing Domain link - That's the right way. Go ahead.
    These are the steps.
    <b>1.Define Transport Routes for System Landscape</b>
    assign exactly one development system to a production system, and that these two systems are connected by exactly one unique transport track. If a development system and a production system are connected by more than one transport track, this may lead to inconsistencies within the transport distribution. This type of transport configuration cannot be supported by Change Request Management, and may cause inconsistencies within the tools involved.
    <b>2. Activate Extended Transport Control</b>
    The CTC parameter should be '1'
    <b>3.Configure Transport Strategy</b>
    Deactivate the QA Approval.
    <b>4. Activate Trusted Services.</b>
    5.Activate Domain Links.
    You have to activate domain link between systems.
    6. Generate RFC Destinations to Client 000
    Hope this helps.
    feel free to revert back.
    --Ragu

  • Move change request from a maintenance project  to another project

    Hello all,
    we want to close a maintenance project A and create a new maintenance project B. We have a lot of change request they aren`t finish, so we want to move them to the new maintenance project.
    The following steps we have done:
    1. Doing all phases of the maintenance cycle of project A.
    2. Close maintenance cycle project A.
    3. Create a new project B.
    4. create a new maintenance cycle for project B.
    Now, we have the problem, that all change request from project A and maintenance cycle A didn't move to the new project B and cycle B.
    If you create a new maintenance cycle in project A, all open change requests move to the new cycle. But we want to move them to a new project and a new cycle.
    Have anybody a suggestion how to do this?
    Kind Regards
    Marc

    Hello Marc,
    there are a couple of methods in a class that might help you if you DO have to do it... but SAP will not support you in case you have any problem.
    you can take a look to methods of class CL_HF_HELPER.
    Methods :
    SET_BO_LINK_TO_CHNG_DOC is used to set link between SDMJ and SDMN
    SET_BO_TASKLIST_OF_CHNG_DOC is used to set link between SDMJ and tasklist 
    as there are those methods, to create links SAP, provides some others that are supposed to break them (If i remember well they are not activated or finished but you can still have a look !!)
    Those methods are
    DELETE_BO_LINK_OF_CHNG_DOC
    DELETE_BO_TASKLIST_OF_CHNG_DOC
    RECREATE_BO_LINK_OF_CHNG_DOC
    RECREATE_BO_TLIST_OF_CHNG_DOC
    Hope this helps
    One more time... be carefull with those methids... I think it s quite dangerous to handle those kind of things without SAP's support.
    Also, one mote thing... since many many customers have asked for this functionality; SAP is trying to develop the whole thing (with adjustments of Checks functionalites of ChaRM) for the next releases. Maybe that will be part of the next release
    Regards
    Khalil

Maybe you are looking for

  • Safari suddenly loading all pages VERY slowly

    [ Edited by Apple Discussions Moderator; Please start a new topic about your technical issue. ] Out of the blue, Safari (v2.0.3) has started loading pages extremely slow (between 10 and 30 seconds). I have rest Safari to no avail. I have deleted the

  • Buttons set as "free position" change back to default

    In iDVD 6, if you move a button to free position and then save it, when you re-open the project the button position changes back to the default position. I am using the iDVD 6 theme "Reflection Black" and positioned the button in the gray pane at the

  • Need to Upload the image into XMII server from a desktop

    Hi, Can anyone let me know how to upload the image from my laptop on to the server which i should be using in my pages. I tried using Image Loader and Image Saver. But it lead me no where. Is there a detailed documentation for this ? Thanks for your

  • Why is Font not showing up in idvd font menu?

    hi everyone, I'm new, not really, but sorta. anyway, I'm using idvd 08 to create a dvd, I started with a magicidvd and then clicked create project and have done a lot of changes, some submenus, etc. The bggest issue I have now is that I really want t

  • Remarks field in row level

    Hi Experts, My customer asked me the following question. He uses the sales order document and write remarks in the free text field in the row level. When he is  copying part of the quantity he will not able to change the free text field any more. Thi