CRM_ORDER_MAINTAIN Documentation

Good afternoon masters
I 'm trying to use CRM_ORDER_MAINTAIN ... related functions. I 've been looking for documentation unsuccesfully.
My problem is that I need to Copy Categorization from Interaction Record to Service Request.
SAP says this scenario is not feasible now.
We want to use, in CRM_COPY_BADI, the following sequence:
CRM_ORDER_READ predeccessor
CRM_ORDER_MAINTAIN on succesor
Has anyone documentation of this FM?
Any idea how to do it?
Regards.
P

Hi Predro,
Please remove the "D" in the beginning of the name.
It's CRM_ORDER_READ in se37.
To test it, you have to run the program with the same name in se38.
You will find the categorization in the table ET_SERVICE_OS (go through the internal tables included) of CRM_ORDER_READ.
Be aware that the categorization is modelized in a tricky way. In order to copy, the category, you need to copy the subject that is mapped with the categories.
The easiest way to understand how works the function module is to put a break point in there and change the category. You will need to reproduce what the standard does.
Hope this helps.
Regards,
Helder

Similar Messages

  • Documentation for crm_order_maintain

    Hi All,
    I need to get some idea about FM, crm_order_maintain. I checked and found the documentation for the same is not available in CRM 5.0.
    Can somebody please share the documentation / notes about it?.
    Thanks, Sudeep..

    Hey Sudeep,
    Since SAP has not provided any documentation for that FM, SAP has created a Report Program of the same name to explain its usage...
    What you can do is Execute this Program: CRM_ORDER_MAINTAIN in tcode se38......
    Also go thru the documentation for the same program for better understanding...
    Inspire by rewarding..
    Regards,
    Anand

  • Documentation about CRM_ORDER_MAINTAIN

    Hi All
    iam searching bapis about <b>Maintain activity</b>.
    i found one bapi like <b>CRM_ORDER_MAINTAIN</b>
    but i didn't get any functional documentation about that bapi.
    if any one know about that bapi please give me response.....
    Thanks and regards
    Sumalatha...

    Hi,
    CRM_ORDER_MAINTAIN is used for modifying contract.
    IMPORTING
    > this gives list of values which is to be modified.
            u have to pass values to modified and key for
            that particular internal table
    CHANGING
    > specify values to modified
          1) CT_INPUT_FIELDS ...this gives the list of field which is to be modified
             so u have to specify internal table ,field name and selection key.
          2)CT_ORDERADM_H......this for header of the contract.
           u specify header detail along with modification.
          3) CT_ORDERADM_I........same applies for line item
          4) CV_LOG_HANDLE........Application error log
    CRM_ORDER_MAINTAIN

  • What is the difference between 'CRM_ORDER_SAVE' and 'CRM_ORDER_MAINTAIN'?

    Hi Experts,
       What is the difference between these two FMs?
       'CRM_ORDER_SAVE' and 'CRM_ORDER_MAINTAIN'
       I want to change the user status of an order in CRM. I have seen several posts in the forum some of which advises to use CRM_ORDER_MAINTAIN' while others  'CRM_ORDER_SAVE'.
      I am really confused. Which one is the correct FM? I could not find any documentation for these FMs.
      Do we need to use both these FMs or only one of them?
    What is the correct order to call this FM?
    1. CRM_STATUS_CHANGE_EXTERN "Change the user status
    2. Commit work
    3. CRM_ORDER_INITIALIZE
    4. CRM_ORDER_MAINTAIN
    5. Commit work.
    6. CRM_ORDER_SAVE
    Also what is the meaning of Ref_kind field? When do we give 'A' and when do we give 'B'?
    ls_status-ref_guid = i_crmd_orderadm_h-guid.
    ls_status-ref_kind = 'A'.
    ls_status-status = 'E0003'.
    ls_status-activate = 'X'.
    APPEND ls_status TO lt_status.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    EXPORTING
    IT_STATUS = lt_status
    CHANGING
    CT_INPUT_FIELDS = lt_input_fields
    EXCEPTIONS
    ERROR_OCCURRED = 1
    DOCUMENT_LOCKED = 2
    NO_CHANGE_ALLOWED = 3
    NO_AUTHORITY = 4
    OTHERS = 5.
    Thanks
    Gopal

    First question:
    - the purpose of 'CRM_ORDER_MAINTAIN' is to set values of the fields (for example set header data, items, pricing...)
    - the purpose of  'CRM_ORDER_SAVE' is just to save objects (in this function you don't set data but just set which objects (guids) should be saved)
    Second question:
    - you can use only  'CRM_ORDER_MAINTAIN'  if you execute function in runtime (change data on the transaction that is opened on the screen) and then you save the object manualy
    - you need both functions if you execute function 'CRM_ORDER_MAINTAIN'  in the background because this function doesn't perform the save functionality by itself
    3rd question:
    The correct order is
    1. CRM_STATUS_CHANGE_EXTERN "Change the user status
    6. CRM_ORDER_SAVE
    You don't need fm 'CRM_ORDER_MAINTAIN', because CRM_STATUS_CHANGE_EXTERN calls at the end 'CRM_ORDER_MAINTAIN' by itself (it is a sort of subfunction of this function).
    4th question:
    With 'ref_kind' you set to which level are you refering (header or item). A is for header.
    Regards.

  • Usage of CRM_ORDER_MAINTAIN SAP Help Link and Suggestions Required

    This is regarding CRM_ORDER_MAINTAIN fm
    Currently we are using function module crm_order_maintain outside Loop i.e calling once for all the contracts as sap crm performance standard ,
    Is there any standard documentation where we can find that states CRM_ORDER_MAINTAIN should be only used outside loop,
    As some are telling us to use in Loop Endloop because of timeout error in background job with contract having 180 line items,Which i feel that this create unneccessary load on execution (Not Recommendable)
    Please share any comments and suggestion this and also provide me the SAP Help Link on this

    Hi,
    for example to you, look for FM CRM_LRP_APPOINTMENTS_GET_DIAG which using CRM_ORDER_MAINTAIN and parameter  it_appointment.
    Hope this helps.
    Regards, Kostya Khveshchenik

  • CRM_ORDER_MAINTAIN and ACTIVE_SWITCH

    Hi experts,
    I am working as ABAP developers in CRM 5.0. We often use FM CRM_ORDER_MAINTAIN in our development, to create (or modify) several order types.
    I have heard about the ACTIVE_SWITCH input parameter of CRM_ORDER_MAINTAIN. It seems this parameter can optimize execution time, by avoiding some checks or determination (?).
    As anyone ever used the ACTIVE SWITCH or is there any documentation about it?
    I have searched on SDN forums and even on Google, but could not find anything about that...
    Thank you in advance.

    Hi Thomas!
    Never give up)
    Now seriously:
    if you are reading large amouts of data (10,000 orders or more, for example)
    then 2 things can help to do your program faster:
    1. Read orders by 100-200 GUIDS per one 'CRM_ORDER_READ' call.
    2. Periodically run FM 'CRM_ORDER_INITIALIZE' with IV_INIT_WHOLE_BUFFER = 'X' (this will initialize whole data buffer). For example, before every 'CRM_ORDER_READ' call. This will help because all readed data are being placed by CRM_ORDER functionality into standard internal tables, so you can see how slower & slower system works while reading large amounts of orders data without 'CRM_ORDER_INITIALIZE' call (in debugger).
    3. Call 'CRM_ORDER_READ' with IV_NO_AUTH_CHECK = 'X' if you are really do not need authorization checks.
    4. If possible do some SELECTs instead of CRM_ORDER_READ segment retreive.
    5. And the last but not least: periodically see SAP notes for 'CRM_ORDER_READ performance' because this one got lots of bugs yet.
    Hope it helps.
    Best regards,
    Alexander Kirillov

  • Where is the FM documentation

    hi everybody
    where is the api documentation of crm functions like crm_order_read, crm_maintain_order, etc.
    in tc sm37 i got messages like "help is not available in english"
    it's really hard to use FM without documentation, it's in crm CD's???
    thanks
    rgds
    A. Garduno

    Hi Gerardo,
    The others are right saying that you have to test the reports, that is the best way to learn it.
    Please note that CRM_ORDER_READ and CRM_ORDER_MAINTAIN exist as ABAP Reports too. So if you search with SE38 you can find the two reports. These reports are used for calling the both FM for test reasons. That is how I was able to find some information about these two reports. I will not paste it to the post as it will become too large. But you can get it too by doing the following steps:
    1. Goto SE38 and paste the report name
    2. Select the radio button "Documentation" and click on the DISPLAY button
    A new window will open containing some more information about the two reports - in English.
    I hope this will help you to some extend.
    Cheers
    Borislav

  • FM CRM_ORDER_MAINTAIN

    Hi guys,
    I am trying to create orders using CRM_ORDER_MAINTAIN, but the orders are not created and there is no error messages. I am just using 2 tables for this task, CT_ORDERADM_H and CT_INPUT_FIELDS. I have fill in the fields that I want to change in CT_INPUT_FIELDS. Is there anything that I have missed out? Can I fill CT_INPUT_FIELDS with all the fields from CT_ORDERADM_H? Thanks.
    Message was edited by: Conrad Chia

    Conrad,
    Have you looked at using CRMXIF_ORDER_SAVE instead to create the sales order?  The XIF adapter function module is a lot easy to use and you only need to supply the require fields plus the update switches for the data you are supplying.  Another benefit is that the function module includes documentation on how to use it, delivered with your system.
    Look at the doucmentation for the data type CRMXIF_BUSTRANS to see what you need to pass to create your order.
    Good luck,
    Stephen

  • Issue with creation of custom layouts using SAP Help Documentation

    Hi Experts,
    My requirement is to create a home custom page layout (using web dynpro) in Composite Environment. The default options available in CE are not useful for me. I set out to make a custom layout using the following this SAP Help Documentation: [          Creating a Web Dynpro Page Layout (SAP Library - Using the Portal as a Frontend)|https://cw.sdn.sap.com/cw/docs/DOC-102846]
    I have followed the instructions and followed all the steps, yet I fail to see the application in CE. The custom page layout is not displayed neither in options and is not available any where.
    Please let me know if anybody followed these steps and have got any success.
    Thanks in advance
    Srikant

    Hi
    Can somebody let me know if they have implemented a customised solution of creation of page layouts using Web Dynpro - as per the steps suggested by SAP.
    Thanks in advance
    Srikant

  • Web Services API Documentation?

    Hello,
    I was looking for documentation regarding OLM web services, since I'd need to perform a few simples queries from an external software. Could you please point me in the right direction?
    Thanks....

    Hi,
    Please see "Oracle Learning Management Implementation Guide" manual, Page 11-54 -- Publicly Callable Business Process APIs in OLM. Also see "Oracle Integration Repository User Guide".
    Oracle Learning Management Implementation Guide & Oracle Integration Repository User Guide
    http://www.oracle.com/technetwork/documentation/applications-089559.html
    Oracle Integration Repository
    http://irep.oracle.com/index.html
    Thanks,
    Hussein

  • Where is Creative Cloud written documentation?

    I can find videos but they are a poor substitute for professionally prepared documentation. Where is Adobe's documentation of Creative Cloud services?

    Hi Ted,
    Help content for the individual products can be accessed from here http://helpx.adobe.com/support.html?promoid=KAWQK#
    Go the More Products section for an overall product list. Many of the products have a PDF version of the help which can be downloaded from the product specific help page.
    -Dave

  • Mobile iPhone Application for SAP B1 Documentation

    SAP releases the following statement on their landing page for their customers about using iPhone App in version 8.8.  Direct copy and paste:
    I am already using SAP Business One. Are there any requirements to be able to use this app?
    You need to be running SAP Business One version 8.8 with a professional user license. Before you start using the app, make sure your SAP partner configures the mobility settings in SAP Business One.
    Where is the documentation that is the checklist for installing and getting the mobile app up and running?  You know, the usual documentation from step A to Z - go to Add-ons and do this, go to User and do this, etc.   All I can find are videos/documents that are marketing oriented.  I have the user guide "Setting Up Mobile Scenario in 8.8", but it is woefully lacking in several steps (ie, it says some fields are mandatory, but SAP does not even mention what "code" column is supposed to mean).
    Anyone else have any luck digging out the pertinent information from SAP sites which SAP should have prominently highlighted to its partners before rolling this out?  Where can I find it?
    This all seems to be a rather disconnected roll-out.
    Thanks in Advance - Zal

    Here is part of the answer - Go here:  https://websmp203.sap-ag.de/sbo-swcenter
    Until it is changed, select "Updates" (not the other areas stated in some documentation, videos, and threads) and select "SAP Business 8.8", then "B1 8.8 Integration Component", and then it can be downloaded.
    I will add more info as the process goes along, if there is anything more...
    TIA - Zal

  • Where do I read in the documentation the list of the system properties?

    Yep. Sounds stupid. But it's true. I read in all these forums where and how to set the truststore and so on but it would be beautiful to understand it my own.
    1. First I read setting the -Djavax.net.ssl.trustStore in the VM arguments.
    2. Then I find out the the -D is just for setting something like a static property.
    3. Next I want to read about the system properties. Who, what and where the Java tries to get this system property. I do not find it.
    What I find is great help in these forums and solving this kind of problems seems easy... I googled and the only place I found info about this is in a boulder.ibm.com site:
    http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/sysprop2.htm
    http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaha/rzahajssesysprops.htm
    I also found some info on a sun tutorial but not an official documentation. Do you know where to find it? It seems that my learning is always about finding the right place to find information and not guessing and trying.
    Thanks!!

    Thanks for your soon reply. Yeah, I found that but I really was expecting a more serious documentation.
    I have to admit that it is documented. Yes. But I didn't expect to find that in middle of a guide. But more in a reference or in a specification document. It's inside the "Customization" and in a table, yes... But it's a guide!!
    I like Java but something to worry about is the "too many - too less" documentation. Documentation is not clear enough and all the hundreds of options you have can make the programming with Java no good. It would sound like a good thing have a lot of choices and hundreds of places to look info for but I am a bit disappointed with that. It's not clear enough to find the right info.
    Anyway, thanks a lot for your help!! I will have to live with that.
    Guide: http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html

  • Infoprovider documentation in BEx query designer

    Hi Experts,
    While users creating queries in BEx query designer (BI7) they have to see the predefined documentation about that inforprovider. Can we achive this requirement?
    What is the use of "Documents" in BEx query designer? Can we show the documentaion under this area?
    Thanks in advance.
    thanks and regards,
    Raju

    Hi,
    Plese go through these links which provides you detailed view on Documnet Navigator and Creating/Editing Documnets in it
    Business Document Navigator :[http://help.sap.com/saphelp_nw70/helpdata/EN/dd/f5253715dfb808e10000009b38f889/content.htm]
    Creating New Documents:[http://help.sap.com/saphelp_nw70/helpdata/EN/df/77ff72021311d3ae4b0000e82deb58/content.htm]
    I hope this helps you.
    Regards,
    Rajknadula

  • Customizing header and footer in the printed documentation

    Hi,
    I'm using a trial version of RoboHelp 2007 and Word 2003.
    I have two question about customizing the header and footer
    of the printed documentation.
    In the printed documentation the footer repeat at the bottom
    of each page and contain page numbers, which appear left-justified
    on even-numbered pages and right-justified on odd-numbered pages.
    How can I customize the footer, that pages numbers appear
    always right-justified?
    In the printed documentation the header repeat at the top of
    each page and are blank on the first page of sections. The name of
    the manual appears on even-numbered pages, left-justified. The name
    of the root chapter appears on odd-numbered pages, right-justified.
    How can I customize the header, that
    on every page the name of the root chapter and the name oft
    the manual appears? Furhermore I want to include a picture in the
    header. How can I realise this?

    You can't from RH. See the article on my site.
    Images in the header are tricky. If you use the setting that
    I think enables that, you will also get the images in the TOC. Try
    putting a two cell table and putting the heading in one and the
    image in another.

Maybe you are looking for

  • Possible bug: Saving array with extended and double precision to spreadshee​t

    If one concatenates a double precision array and an extended precision array with the "build array" vi and then saves using "Write to Spreadsheet File" vi any digits to the right of the decimal place are set to zero in the saved file. This happens re

  • BAPI for F-04

    Hi, My requirement is to upload open items from FBL3N  to F-04 transaction. I found lot of Bapis for F-04, but no Bapi is meeting my requirement, any help please. Thanks, Donald.

  • Loss of audio in macbook air

    I keep losing audio on my macbook air and it does not come back until I have restarted. Is there a way to avoid having to restart?

  • How to open NAT in Time Capsule? (for gaming)

    Hi there. *How do I open NAT on my Time Capsule?* I've tried to go to +Airport Utility > Time Capsule > Internet+, but there's no NAT tab (like I've seen in different solutions on the internet). I only have one tab called +Internet Connection+. In th

  • Windows 8 refresh and reader

    I installed Reader on Windows 8. Then after an HP update my laptop kept crashing. I ran Windows 8 refresh to recover. Now Adboe Reader does not appear in the Program and Features so I can't uninstall it from there. I see the acrodrd32.exe file in c:\