Example on one order framework using Guid and ref_guid on table level

Hi Forum,
I am new to CRM can someone explain me the one order framework in header and item level tables with an example. I am unable to figure out what is the difference. crmd_orderadm_h and crmd_orderadm_i tables how do we connect them in which field and how is GUID and REF_GUID Related.
Thanks in Advance
Mathew Hayden.

Hi Mathew,
The guid in  crmd_orderadm_h  table is the guid of a transaction header,for example of a contract.
the guid in  crmd_orderadm_i table is the guid of a item of a transaction , for example item of a contract .
the link between these two tables is the guid of crmd_orderadm_h table is the header field of
crmd_orderadm_i table.
Thanks.
with regards,
Taity

Similar Messages

  • One-order object / one-order framework

    Hi all,
    What exactly is a one-order object or one-order framework?
    Does it refer to a single concept or group of concepts?
    Consider the following:
    1. customizing your own document or transaction types.
    2. entire sales cycle for e.g. opportunity -> quotation -> contract -> order
    3. life-cycle status of a single document type say, order: create -> confirm -> delivery (in ECC) -> billing
    Which of the above concepts come under one-order object or framework?
    Or is it a different concept all-together?

    Hi Bappaditya,
    One-order concept or framework is nothing but what you have defined.
    Actually One-Order framework is using the One-Order like Sales/Service Orders etc..and the flow hw an Order takes ..in ur business scenario.
    The path you defined opportunity -> quotation -> contract -> order is nothing but the processing of one-order at various stages of the business.
    Each one in this paths refers to one order and also a business object in CRM and has its own business processing logic and definition.
    Its not at all a altogether different concept...
    its exactly what ur  referring..
    Oppurtunity will have the status or process flow like : Newly created->opened->Won/Lost/Cancelled..
    Once its processing is done
    Suppose its Won.., then Quotation process flow starts like : New->Open->Approvals->Released/Rejected.
    Suppose its Released..then either Contract or Sales Order flow starts :
    Order->Newly Created->Approved/rejected->completed.
    This whole flow is a Sales cycle which is quite the same day-day sales cycle ...jus imagine a sales situation and co relate.
    This entire flow is called One-Order flow or framework and this defines the flow in whch an Order flows.....
    Siva

  • How can one  read a Excel File and Upload into Table using Pl/SQL Code.

    How can one read a Excel File and Upload into Table using Pl/SQL Code.
    1. Excel File is on My PC.
    2. And I want to write a Stored Procedure or Package to do that.
    3. DataBase is on Other Server. Client-Server Environment.
    4. I am Using Toad or PlSql developer tool.

    If you would like to create a package/procedure in order to solve this problem consider using the UTL_FILE in built package, here are a few steps to get you going:
    1. Get your DBA to create directory object in oracle using the following command:
    create directory TEST_DIR as ‘directory_path’;
    Note: This directory is on the server.
    2. Grant read,write on directory directory_object_name to username;
    You can find out the directory_object_name value from dba_directories view if you are using the system user account.
    3. Logon as the user as mentioned above.
    Sample code read plain text file code, you can modify this code to suit your need (i.e. read a csv file)
    function getData(p_filename in varchar2,
    p_filepath in varchar2
    ) RETURN VARCHAR2 is
    input_file utl_file.file_type;
    --declare a buffer to read text data
    input_buffer varchar2(4000);
    begin
    --using the UTL_FILE in built package
    input_file := utl_file.fopen(p_filepath, p_filename, 'R');
    utl_file.get_line(input_file, input_buffer);
    --debug
    --dbms_output.put_line(input_buffer);
    utl_file.fclose(input_file);
    --return data
    return input_buffer;
    end;
    Hope this helps.

  • What is One Order framework ?

    Hi All,
           Can someone please explain me what is a OneOrder framework ????
    Also, any documents on the same would be highly appreciated.
    Email :- ashish . walke @ gmail . com
    Regards,
    Ashish

    Hi Ashish,
    The One Order Framework is defined as the Framwork to handle all the CRM One Order Documents. Basically CRM One Order Documents are Sales Orders, Service Orders, Activities, etc. They all have a common structure to handle the data. They are basically grouped into
    Header Part
      - Items
      - Items ....
    So the header and item relationship is 1..n There are set of API's which handles the Create, Change and delete scenarios of the One Order Documents. They are CRM_ORDER_READ,CRM_ORDER_MAINTAIN,CRM_ORDER_DELETE,etc The Function Group is CRM_ORDER_API.
    Have  a look at the forum threads. It will give you more information about the One Order Framework.
    Hope this will clear your idea.
    Thanks,
    Samantak.

  • One order framework....

    Hi All -
    If anyone has got any docs on One order framework in CRM pls send across to [email protected]
    Thanks,
    Aarthi.

    Aathi
       Did you got any Documents for this ?
       Is it possible to share it at [email protected] ?
    Thanks
    Jack

  • One order framework in CRM

    Hi All -
    If anyone has got any docs on One order framework in CRM pls send across to [email protected]
    Thanks,
    SV.

    Aathi
       Did you got any Documents for this ?
       Is it possible to share it at [email protected] ?
    Thanks
    Jack

  • FI Reports using ABAP and their Related Tables

    Hi can anyone tell me some of the commonly developed reports from FI using ABAP and their related Tables.
    Thank You

    You can find the details about the FI module here
    http://www.sap-img.com/sap-fi.htm
    Regards,
    Ravi
    Note : Please mark all the helpful answers

  • Making an order payment using SecurePay and Paypal Standard gateway by API call-Order_PaymentProcess

    PART_1
    ==================================
    Hi,
    I'm working at third party system which by API communicate with BC and in short:
    1) create an order with specified products for specific customer) etc. at BC account ofcourse (works fine)
    2) Make the payment using one of the payment gateway (defined in BC Payment gateway section)
        a) SecurePay, or (works fine)
        b) Paypal Website Standard (problem)
    I found a litttle problem in API call to make the payment using paypal website standard (to be presice in case of Paypal option actually the user should be moved to the paypal website so the system should generate some link i think which will have some data which identify payment for specific order). I tried to use the Order_PaymentProcess (https://worldsecuresystems.com/catalystwebservice/catalystcrmwebservice.asmx?op=Order_Paym entProcess)
    call but it looks it can't be done?
    Please note the payment with this call using credit card details cause successfully use the SecurePay Payment gateway. Is here anyway who know the trick how to force (and what parameter should be used) to
    make the payment using Paypal Website Standard?
    And Yes I tried to obtain some additional documentation from BC support but without success (They said they are working at the new version of it... about 2 years ago they said they probably will prepare more detailed documentation ).
    ==================================
    PART_2
    In case if there is no possible to use the API call to force using the Paypal Website Standard is there any workaround of this?
    I mean is it possible to move the user to the paypal site but in post data set some value which can be handled directly by the BC after making the payment at paypal site, so the BC then could for specific order automatically register this operation after paypal send the successfull payment notification?
    ==================================
    PART_3
    The third part is the question how to force by API call BC to send the invoice to the customer after the order will be created (and before making the payment).
    The invoice is actually created only when the Order_PaymentProcess call will be finished with success (and the option "emailInvoiceToCustomer" will be set to true).
    Is there any way to do that?
    ==================================
    When You will answer please set note of what part is that answer.
    Thanks for advice!

    Dude, I don't know what you're saying. There's too much text and too much code, and the code is unformatted. When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    However, based on the subject of your post, there's one thing I can say: If your key's state changes in a way that can affect the value of its hashcode, then you'll have to remove and re-add that key/value pair. Since the hashcode determines which subset the HashMap searches though to find your key, if your key doesn't have the same hashCode it has when you put it into the map, then the map will search the wrong bucket for your key.
    If that doesn't help, please try to provide more concise, formatted code and a more concise explanation of the problem.

  • Anyone know how it works to have multiple websites on iweb?  I would like to make a separate one from the one I'm using now and have them both up and running

    Does anyone know how it works to create more than one site on iweb - I have my primary site and mobile me connected to my domain name for that site, but now I'd like to add a completely different site and domain name.

    Here is some additional info on multiple sites in a single MMe account:
    How to have multiple sites in a single MMe account with one or more sites having a domain name.
    A. All sites are in the same Domain.sites2 files
    1 - only one site can use the CNAME method of domain name forwarding and it must  the top site in the left hand pane of iWeb.
    Click to view full size
    2 - the other sites must use URL domain name forwarding which directs the domain name to the site's full MMe URL, http://web.me.com/MMe_Username/Site_Name,  or, if there is no domain name, just MobileMe's full URL.
    B. Each site is in its own Domain.sites2 file.
    Again, only one site can use CNAME forwarding.  This presents a problem since CNAME forwarding directs the domain name to the basic MMe account URL: http://web.me.com/MMe_Username/ which uses an index.html file in the root folder of the account, iDisk/Web/Sites. Each time a new site is published or an existing site uses the File->Publish Entire Site a new index.html file is created in that root directory, iDisk/Web/Sites folder, directing the browser to that particular site.  This file is what the CNAME method uses to find the site it represents.  Therefore some steps must be taken to assure that the index.html file in the MMe Accounts root directory always points to the correct site.  This can be accomplished is three ways.
    1 - don't use the CNAME method.  Just use  URL forwarding .  This, IMO, is the simplest method as it doesn't requre any additional effort on the user once the domain name has been set up.
    2 - use the following method suggested by Wyodor in this topic: Is it possible to have multiple sites when using ur Domain name?   
    In iWeb domainfile 1:
    Create a dummy site : _dummy
    with a blank page.
    Create your working site : Whatever
    Add pages
    Publish both Sites to the same same location on the same server.
    Your _dummy site is now the default Site.
    Check.
    In iWeb domainfile 2:
    Create/Use your CurrentSite.
    Move a page to the top of the Site and back. Publish the Site.
    iWeb will create a new index.html file in the root of the server and from now on CurrentSite is the default site.
    Check.
    From now on, never move your Whatever Site to the top of the list in the iWeb sidebar and never change the page in the _dummy site.
    Simply do not touch your _dummy ever again. And never forget that.
    3 - use Ethmoid's suggested method in Using two sites - setting one up with separate domain? or republishing the entire site that uses  CNAME forwarding.  Just making a minor change and publishing the site changes does not create a new index.html file. 
    The entire site must be republsihing in order to get that new site.  
    Or keep a copy of the CNAME site's index.html file on your Mac and replace it manually in the iDisk/Web/Sites fodler when necessary.
    NOTE:  the CNAME method provides a shorter URL:  http://www.Domain_Name.com/Site_Name/Page_Name.  CNAME does not have masking.
    The URL forwarding displays the full MMe URL:   http://web.me.com/MMe_Username/Domain_Name/Page_Name.   With domain name masking that will be shortened to:   http://www.Domain_Name.com for every page of your site.
    WARNING: with masking visitors will only be able to bookmark and enter at the first page of the site.  If a page is refreshed the visitor is taken back to the first page.  Also search engines will only be able to index the first page of the site.
    OT

  • Good morning, I've try to update the software from my IPad, and suddenly I got the the message to conect to Itunes on the screen. I have conected to Itunes and it say I have to restore my Ipad in order to use ITunes and if I restore it I will lose all the

    I've try to update the software of my IPad from my IPad.  Suddenly I got the message to conect it to iTunes, so I have connected to ITunes and in order to use ITunes I need to restore the IPad and I will lose all thee data from my Ipad (pictures, music, etc).
    My IPad is block now with the ITunes message on the screen and I can not get it off.
    HELPPPPP, thank's

    And there is no other way to do it? I can't believe I will lose all data.
    I used to do all the software updates with the IPad not using ITunes.

  • Deleting Sales Order Details using BAPI_SALESORDER_CHANGE And Reinserting

    Hi All,
    I need to <b>change a Sales Order</b> in such a way that I would <b>delete all the existing Line Items</b> of that SO And <b>then reinsert new Line Items</b> as generally is the practice of saving a document.(Update Header-Delete Old Item Entries-Reinsert New Present Entries).
    I coded a small test program in ABAP using the <b>BAPI_SALESORDER_GETLIST And BAPI_SALESORDER_CHANGE</b>.
    In order to affect the Qty I have to update the Schedule Parameter also of the BAPI_SALESORDER_CHANGE Function.But this causes a new entry in VBEP.
    eg:
    <b>Before BAPI Calls</b>
    SO-Number:9001
    Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    I coded the program such that
    1.I <b>Get the List of Items</b> using BAPI_SALESORDER_GETLIST.
    2.Call the <b>BAPI_SALESORDER_CHANGE</b> filling appropraite   values in Parameters <b>with UpdateFlag = 'D'</b>
    3.<b>Insert new values</b> in OrderItems And Schedule Parameters
    say:
    Detail:ItemNo=10,Material=xyz,TargetQty=25,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=25,etc...
    4.<b>Call the BAPI_SALESORDER_CHANGE</b> filling appropraite values in Parameters <b>with UpdateFlag = 'I'</b>
    <b>The output now becomes.</b>Header:9001,etc......
    Detail:ItemNo=10,Material=xyz,TargetQty=100,etc..
    Scedule:ItemNo=10,Scheduleline=1,Req_Qty=100,etc...
    ItemNo=10,Scheduleline=2,Req_Qty=25,etc...
    Now After Commit when I see my <b>SO it shows me a qty of
    125</b>.
    I am attaching the code for your analysis.
    Thanx in advance.
    *& Report  ZSM_CHANGESALESORDER                                        *
    REPORT  ZSM_CHANGESALESORDER                    .
    DATA:
    For Calling the GetList BAPI Function
      CUSTOMER_NUMBER LIKE  BAPI1007-CUSTOMER,
      SALES_ORGANIZATION LIKE  BAPIORDERS-SALES_ORG,
      IT_SALES_ORDERS LIKE TABLE OF BAPIORDERS,
      WA_SALES_ORDERS LIKE LINE OF IT_SALES_ORDERS,
      IT_RETURN LIKE TABLE OF BAPIRETURN,
      WA_RETURN LIKE LINE OF IT_RETURN.
    For Calling the ChangeFromData BAPI Function
    DATA:
      SALESDOCUMENT LIKE  BAPIVBELN-VBELN,
      WA_ORDER_HEADER_IN LIKE  BAPISDH1,
      WA_ORDER_HEADER_INX LIKE BAPISDH1X,
      IT_ORDER_ITEM_IN LIKE TABLE OF BAPISDITM ,
      WA_ORDER_ITEM_IN LIKE LINE OF IT_ORDER_ITEM_IN,
      IT_ORDER_ITEM_INX LIKE TABLE OF BAPISDITMX ,
      WA_ORDER_ITEM_INX LIKE LINE OF IT_ORDER_ITEM_INX,
      IT_SCHEDULE_LINES LIKE TABLE OF BAPISCHDL ,
      WA_SCHEDULE_LINES LIKE LINE OF IT_SCHEDULE_LINES,
      IT_SCHEDULE_LINESX LIKE TABLE OF BAPISCHDLX ,
      WA_SCHEDULE_LINESX LIKE LINE OF IT_SCHEDULE_LINESX,
      IT_RETURN_CHG LIKE TABLE OF BAPIRET2,
      WA_RETURN_CHG LIKE LINE OF IT_RETURN_CHG.
    DATA:
      IT_RETURN_CT LIKE BAPIRET2.
    PARAMETERS:
      P_SO LIKE VBAK-VBELN,
      P_CUSTNO LIKE  BAPI1007-CUSTOMER,
      P_SORG LIKE BAPIORDERS-SALES_ORG.
    START-OF-SELECTION.
      SALESDOCUMENT = P_SO.
      CUSTOMER_NUMBER = P_CUSTNO.
      SALES_ORGANIZATION = P_SORG.
    Retrieve the Existing Sales Order details for that Sales Order.
      PERFORM GETREQSODETAILS.
    Delete the Existing Sales Order details from that Sales Order.
      PERFORM DELETEOLDSODETAILS.
    Insert New details for that Sales Order.
       PERFORM ADDNEWSODETAILS.
    END-OF-SELECTION.
      PERFORM COMMITTRANS.
    *&      Form  GetReqSODetails
    FORM GETREQSODETAILS .
      CALL FUNCTION 'BAPI_SALESORDER_GETLIST'
        EXPORTING
          CUSTOMER_NUMBER    = CUSTOMER_NUMBER
          SALES_ORGANIZATION = SALES_ORGANIZATION
        IMPORTING
          RETURN             = WA_RETURN
        TABLES
          SALES_ORDERS       = IT_SALES_ORDERS.
    *delete the Sales Order Details of Sales Orders other than the req.One
      IF NOT IT_SALES_ORDERS[] IS INITIAL.
        SORT IT_SALES_ORDERS BY SD_DOC.
        LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
          IF WA_SALES_ORDERS-SD_DOC NE SALESDOCUMENT.
            DELETE IT_SALES_ORDERS.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    " GetReqSODetails
    *&      Form  deleteOldSODetails
    FORM DELETEOLDSODETAILS .
      DATA: IRECCOUNT TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      LOOP AT IT_SALES_ORDERS INTO WA_SALES_ORDERS.
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER 'D'.
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING WA_SALES_ORDERS-ITM_NUMBER IRECCOUNT 'D'.
      ENDLOOP.
    *call the Sales Order Change Fumction to delete the Existing Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " deleteOldSODetails
    *&      Form  SOHeaderIndex
    FORM SOHEADERINDEX .
      WA_ORDER_HEADER_INX-UPDATEFLAG = 'U'.
    ENDFORM.                    " SOHeaderIndex
    *&      Form  FillSODeleteDtls_Index_param
    FORM FILLSODELETEDTLS_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_FLAG).
      WA_ORDER_ITEM_INX-ITM_NUMBER = P_ITM_NUMBER.
      WA_ORDER_ITEM_INX-UPDATEFLAG = P_FLAG.
      APPEND WA_ORDER_ITEM_INX TO IT_ORDER_ITEM_INX.
    ENDFORM.                    " FillSODeleteDtls_Index_param
    *&      Form  FILLSODELETEsch_Index_PARAM
    FORM FILLSODELETESCH_INDEX_PARAM
    USING VALUE(P_ITM_NUMBER) VALUE(P_RECCOUNT) VALUE(P_FLAG).
      WA_SCHEDULE_LINESX-ITM_NUMBER = P_ITM_NUMBER.
      WA_SCHEDULE_LINESX-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINESX-UPDATEFLAG = P_FLAG.
      APPEND WA_SCHEDULE_LINESX TO IT_SCHEDULE_LINESX.
    ENDFORM.                    " FILLSODELETEsch_Index_PARAM
    *&      Form  addnewSODETAILS
    FORM ADDNEWSODETAILS .
      DATA: IRECCOUNT TYPE I, ITEMNO TYPE I.
      IRECCOUNT = 1.
    *Clear all the Inernal Tables And Work Areas
    *and Update the SO Header Index
      PERFORM CLEARDATA.
      PERFORM SOHEADERINDEX.
      WHILE IRECCOUNT <= 1.
        ITEMNO = IRECCOUNT * 10.
    *Fill the New Order Details in the Internal Table
        PERFORM FILLSODTLDATA USING ITEMNO 'TEST FG' 37 .
    *Fill the Order Details Index Internal Table
        PERFORM FILLSODELETEDTLS_INDEX_PARAM USING ITEMNO 'I'.
    *Fill the New Schedule Details in the Internal Table
        PERFORM FILLSOSCHDATA USING ITEMNO IRECCOUNT 37 .
    *Fill the Order Scedule Index Internal Table
        PERFORM FILLSODELETESCH_INDEX_PARAM
        USING ITEMNO IRECCOUNT 'I'.
        IRECCOUNT = IRECCOUNT + 1.
      ENDWHILE.
    *call the Sales Order Change Fumction to Insert New Data
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALESDOCUMENT
          ORDER_HEADER_INX = WA_ORDER_HEADER_INX
        TABLES
          RETURN           = IT_RETURN_CHG
          ORDER_ITEM_IN    = IT_ORDER_ITEM_IN
          ORDER_ITEM_INX   = IT_ORDER_ITEM_INX
          SCHEDULE_LINES   = IT_SCHEDULE_LINES
          SCHEDULE_LINESX  = IT_SCHEDULE_LINESX.
    ENDFORM.                    " addnewSODETAILS
    *&      Form  clearData
    FORM CLEARDATA .
      CLEAR WA_ORDER_HEADER_INX.
      CLEAR WA_ORDER_ITEM_INX.
      REFRESH IT_ORDER_ITEM_INX.
      CLEAR WA_SCHEDULE_LINESX.
      REFRESH IT_SCHEDULE_LINESX.
      CLEAR WA_RETURN.
      REFRESH IT_RETURN.
      CLEAR WA_ORDER_ITEM_IN.
      REFRESH IT_ORDER_ITEM_IN.
      CLEAR WA_SCHEDULE_LINES.
      REFRESH IT_SCHEDULE_LINES.
    ENDFORM.                    " clearData
    *&      Form  FILLSODTLDATA
    FORM FILLSODTLDATA  USING    VALUE(P_ITEMNO) VALUE(P_MATERIAL)
    VALUE(P_TARGET_QTY) .
      WA_ORDER_ITEM_IN-ITM_NUMBER = P_ITEMNO.
      WA_ORDER_ITEM_IN-MATERIAL = P_MATERIAL.
      WA_ORDER_ITEM_IN-TARGET_QTY = P_TARGET_QTY.
      APPEND WA_ORDER_ITEM_IN TO IT_ORDER_ITEM_IN.
    ENDFORM.                    " FILLSODTLDATA
    *&      Form  FILLSOschDATA
    FORM FILLSOSCHDATA  USING    VALUE(P_ITEMNO)
                                 VALUE(P_RECCOUNT)
                                 VALUE(P_REQ_QTY)  .
      WA_SCHEDULE_LINES-ITM_NUMBER = P_ITEMNO.
      WA_SCHEDULE_LINES-SCHED_LINE = P_RECCOUNT.
      WA_SCHEDULE_LINES-REQ_QTY = P_REQ_QTY.
      APPEND WA_SCHEDULE_LINES TO IT_SCHEDULE_LINES.
    ENDFORM.                    " FILLSOschDATA
    *&      Form  committrans
    FORM COMMITTRANS .
      DATA:SUCCESSFLAG(1).
      LOOP AT IT_RETURN_CHG INTO WA_RETURN_CHG.
        IF WA_RETURN_CHG-TYPE = 'S'
              AND WA_RETURN_CHG-ID = 'V1'
              AND WA_RETURN_CHG-NUMBER = 311
              AND SUCCESSFLAG IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              WAIT   = 'X'
            IMPORTING
              RETURN = IT_RETURN_CT.
          SUCCESSFLAG = 'X'.
        ENDIF.
      ENDLOOP.
      IF SUCCESSFLAG IS INITIAL.
        WRITE: 'SORRY SOME ERROR'.
      ELSE.
        WRITE: 'SUCCESSFUL'.
      ENDIF.
    ENDFORM.                    " committrans

    Thanx wolfgang,
    I needed that info.
    As I had mentioned in the earlier posts, I want to delete the old Sales Order Item Details,
    Schedule Details,Basic Price data And Reinsert data in the same.
    I am giving u the algo that I have used.
    1.<b>Get the SalesOrder Details</b> for a particular Sales Order using BAPI_SALESORDER_GETLIST(para:customer & sales Org and then deleting unwanted SO data).
    2.<b>Delete</b> the Sales Order <b>Item Details,Schedule Details</b> using BAPI_SALESORDER_CHANGE.
    3.<b>Commit</b> Transaction(<b>If I dont use this commit Error comes in Step No.7 while Commiting</b>)
    using BAPI_TRANSACTION_COMMIT.
    4.Check <b>Return Table</b> of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    5.if Step No.4 is <b>Not okay</b> <b>then Rollback</b>(BAPI_TRANSACTION_TRANSACTIN) <b>and Exit</b> <b>else move to step 6</b>.
    6.<b>Add New</b> Sales Order <b>Item Details,Schedule Details, Basic Price</b> using BAPI_SALESORDER_CHANGE.
    7.<b>Commit Transaction</b> using BAPI_TRANSACTION_COMMIT.
    8.<b>Check Return</b> Log of both BAPI_SALESORDER_CHANGE and BAPI_TRANSACTION_COMMIT.
    9.if Step No.9 is okay then Exit else Rollback(BAPI_TRANSACTION_TRANSACTIN) and move to step 10.
    10.Add Old Sales Order Item Details,Schedule Details, Basic Price from Data available in Internal
    table(Filled in step.1 ) using BAPI_SALESORDER_CHANGE.
    11.Commit Transaction using BAPI_TRANSACTION_COMMIT.
         This <b>works fine in 1 server in which I get the message of Incomplete Data,etc...when I make a Sales Order from va01</b>.
    But in another server where I dont this message,I get <b>error in step  7 or 11 as per the flow</b>.
    The return structure of BAPI_TRANSACTION_COMMIT contains error with Message 'Updating was not possible'. Also the message 'Updation was terminated' cms frm the SAP server.  
         What could be the reason?
    Thanx in advance

  • Line details sort order when using Pick and Pack

    Hi,
    A customer of mine recently complained (very small complain) that when he used "Per date" as a sort when using Pick & Pack, that the line details where not grouped together by Sales Order Number.
    Example:
    2008/11/23   SO1001 - Line 1
    2008/11/23   SO1013 - Line 3
    2008/11/23   SO1001 - Line 2
    2008/11/23   SO1001 - Line 4
    2008/11/23   SO1021 - Line 1
    2008/11/23   SO1001 - Line 5
    etc...
    Is there a way to sort records on two columns instead of just one? or would there be another workaround this issue?
    Thanks
    Charles

    I think I found my answer, sorting data using the Data/Sort feature allows for sorting on multiple columns.

  • Is it possible for one user to use Aperture and another iPhoto?

    I have a new imac 21.5", 3.33ghz, 4gb and I was wondering if it is possible for me as admin user to handle camera downloads automatically with Aperture, and my wife as second user to use iPhoto as automatic camera destination? Any comments would be appreciated.

    If you want to use the same account there are a number of possibilities:
    1. Set both Aperture and iPhoto to Do Nothing when a camera is connected. Then each one can launch their preferred app themselves. It's just one extra click.
    2. Use [Cameras|http://www.flexibits.com> to configure what happens when different cameras are connected.
    Regards
    TD

  • Witch one do I use/ erase and syne or transfer purchases dont what to loose anything ?

    just got a new computer need to update my ipod with the music from i tunes. Have downloaded all to new computer. Now when i try to Sync it asks  1 Erase and Syase  or 2 Transfer Purchaes can someone help I dont what to loose any of my music.  Thank You

    If you still have your old computer you should transfer the library from it, otherwise see Recovering your iTunes library from your iPod or iOS device.
    tt2

  • How to instantiate class using GUID field from a table

    Hi,
    There is a class ' /MRSS/CL_SGD_COMPLEX_DEMAND ' and method /MRSS/IF_SGE_COMPLEX_DEMAND~ITEMS_GET.
    Actual requirement is field called GUID from the table instantiate the class and i can use its methods to get the reference to assign object.

    If i understand the requirement correctly , you need to perform items_get based on the guid. Then create the constructor with a parameter for your GUID , then store this guid in a class member variable. And then you can use the same in the ITEMS_GET( ).
    Regards
    Kavindra

Maybe you are looking for

  • English Font In Bi-Lingual Forms

    Hi All, We are creating Bi Lingual (Arabic and English) Smart forms with logon language as Arabic. For English Text we are using Styles with character format of TIMES font. But in output,  English text is being displayed in COURIER Font. We tried wit

  • Is it safe to update to the newest firmw

    Ok, so my Zen MicroPhoto got broken beyond recovery (the famous "Hardware Problem"-problem) and Creative Belgium is going to send me a new one/fix my old one.... When I receive my repaired/replaced mp3 player, is it safe for me to apply the latest fi

  • Used Macbook Pro - Remote Wipe Concerns

    Hi there Last week I bought a used Macbook Pro running Yosemite 10.10.1 I have been reading that it is entirely possible for the previous owner to track & remote wipe the Mac if they so desire?! I have reset the NVRAM a couple of times via the keyboa

  • Please hep me , struggiling to install adobe photoshop

    Good day! I bought adobe photoshop elements 10 and adobe premiere elements 10 at a istore for my macbook pro and know i cant install my disc on my macbook please help me ! thank you ....

  • EJB-Security client identification

    I want to be able to distinguish between different clients possibly running with the same client user IDs. The distinction has to be on the server side e.g. based on the client's IP address. Is it possible to get the client's IP address on the server