CRM_ORDER A 017 - An authorization check could not be executed

Hello Experts,
I am using FM CRM_ORDER_MAINTAIN in order to create an Activity, and all works well, when I set up some test data within SAP.
However when I attempt to execute this from WEB UI, I get the error message CRM_ORDER A 017 - An authorization check could not be executed.
A Colleague of mine changed his Authorisation to SAP_ALL and SAP_NEW, and he still got the same error. Which kind of makes me think its not a simple auth issue, also I use the same user to create on-line and also via testing on SAP.
But the WEB UI keeps giving me this error.
I would be grateful if anyone who has come across this could pass on their knowledge of how to overcome it.
Cheers
Gary

Apologies, I found the answer myself, straight after I posted this message, isn;t that always the way.
Turns out I wasn't being passed the process_type as expected and thus it raised the no_authority error. Which is what caused the initial confusion. But got there in the end

Similar Messages

  • RDS Gateway 2012, RemoteApp Displays "A Revocation check could not be performed for the Certificate" via RDWEB

    I have searched through the forums and there are a number of posts that are similar but all the checks they list seem to not apply to this one.
    My current setup is as follows
    All Servers are 2012 R2
    1 x DC server
    1 x RDS Gateway server with RDS Web installed
    1 x Session Host Server
    Certificate supplied by godaddy with 5 names. (included is the name of the RDS Gateway/Web server in the certificate, the internal name of the session host server is not included as the internal names are differnet to the external)
    My tests are as follows
    Navigating to the RDSWEB page from a machine inside the same network (windows 7 sp1) but not on the same domain is fine no errors and logging in and launching any published application is fine with no errors.
    However logging in on another machine that is external from the network (windows 7 sp1) is ok up to the point of launching any of the published apps I get the error about ""A Revocation check could not be performed for the Certificate". this
    prompts twice but does allow you to continue and login and use the app till the next time. If I view the certificate from the warning message all appears to be ok with all certs in the chain.
    I have imported the root and intermediate certs to each of the gateway/rdsweb server and session host server into the computer cert store just to be on the safe side. This has not helped, I have also run the following command from both windows 7 machines
    with no errors on either
    certutil -f –urlfetch -verify c:\export.cer
    I cant seem to see where this is failing and I am beginning to think there is something wrong with godaddy cert itself somehow.
    If I skip rdsweb and just use MSTSC with the gateway server settings then I can login to any machine on the network with no errors so this is only related to launching published apps on the 2012 R2 RDWEB or session host servers.
    Any help appreciated

    Hi,
    1. Please make sure the client PCs have mstsc.exe (6.3.9600) installed.
    2. If you are seeing a name mismatch error, you can set the published name via this cmdlet:
    Change published FQDN for Server 2012 or 2012 R2 RDS Deployment
    http://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80
    To be clear, the above cmdlet changes the name that shows up next to Remote computer on the prompt you see when launching a RemoteApp.  You should have a DNS A record on your internal network pointing to the private ip address of your RDCB server. 
    Additionally, in RD Gateway Manager, Properties of your RD RAP, Network Resource tab, you should select Allow users to connect to any network resource or if you choose to use RD Gateway Managed group you will need to add all of the appropriate names to the
    group.
    For example, when launching a RemoteApp you would see something like Remote computer: rdcb.domain.com and Gateway server: gateway.domain.com .  Both of these names need to be on your GoDaddy certificate.
    Please verify the above and reply back so that we may assist you further if needed.  It is possible you have an issue with the revocation check but I would like you to make sure that the above is in place first.
    Thanks.
    -TP
    Thanks for the response.
    To be clear I am only seeing a name mismatch and revocation error if I assign a self signed cert to the session host as advised earlier in the thread by "Dharmesh Solanki", if I remove this and assign the 3rd party certificate I then
    just get the revocation error , I have already ran the powershell to change the FQDN's but this has not resolved the issue although the RDP connection details now match the external url for RDWEB when looking at one of the remoteapp files. The workspace
    ID still shows an internal name though inside this same file. 
    RD Gateway is already set to connect any resource, when connecting using remote app both names (RDCB/RDGateway) show as being correct and are contained within the same UCC certificate. I also already have a DNS entry for the Connection broker pointing to
    the internal ip.
    Do you know if the I need the internal name of the session host servers contained within the same UCC certificate seeing as they are different fqdn's than what I am using for external access ? I resigned the UCC certificate and included the internal name
    of the session host server to see if this would help but for some reason I am still seeing the revocation error. I will check on a windows 8 client pc this evening to see if this gets any further as the majority of the testing has been done on windows 7 sp1
    client pc's
    Thanks

  • Backend checks could not be performed. Inform system admin

    Hello SAP Experts,
    We have encountered the error Backend checks could not be performed. Inform system admin in a lot of POs in SRM. We are using SRM 7 and SP12.
    Before the error occured, the WBS elements were not maintained in SRM but the POs were created since our SHC has automatic approval.
    Currently, the WBS elements are now in SRM but the POs are stucked with the error Backend checks could not be performed. Inform system admin.
    We have informed the Basis team if there are any issues in the RFC connections but there is no error.
    The only POs affected were the ones wherein the WBS element was not maintained before but is now maintained in SRM.
    Regards,
    Romeo

    Hi Chandra,
    Please check the Purchasing Organization and Purchasing Group in PO if they are not populated then this error is triggered. Please also check the user settings whether Purchasing organization information is maintained or not.
    Regards,
    Ravi G

  • Write command could not be executed

    Hello,
    I'm back again with a new error that I can't seem to figure
    out. Any help would be greatly appreciated.
    Error Occurred While Processing Request
    Error: WRITE command could not be executed
    write
    E:\Websites\thriftypockets\wwwroot\coupon\photos\generated\105436.gif
    The error occurred in
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\cpncreate.cfm:
    line 293
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\cpncreate.cfm:
    line 290
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\cpncreate.cfm:
    line 34
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\cpncreate.cfm:
    line 1
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\coupon_preview.cfm:
    line 26
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\coupon.cfm:
    line 767
    Called from
    E:\Websites\thriftypockets.com\wwwroot\coupon\admin\coupon.cfm:
    line 1
    291 : <cfx_image action="IML"
    292 : file="NEW"
    293 : x="590"
    294 : y="239"
    295 : commands="
    Thanks in advance

    There are guesses, but I would check:
    1. Does the target directory exist?
    2. Does the CF application server account does not have
    rights to access directory?

  • F8 doesn't work / query could not be executed

    I've had a form that worked perfectly until I started to put some of the fields on a new canvas in a new window (in the same form). Since then, I get the error "ORACLE ERROR: query could not be executed" when pressing F8 or starting "execute_query" by a button trigger.
    Can anyone help me where to search the error?

    hi
    please check out the following link and u will find all documentations.i hope it will also help u.
    http://www.oracle.com/technology/documentation/index.html
    Block Menu      F5
    Cancel            Escape
    Clear Block            Shift+F5
    Clear Form      Shift+F7
    Clear Item            Shift+F3
    Clear Record      Shift+F4
    Count Query Hits      Shift+F2
    Delete Backwards      Backspace
    Delete Record      Shift+F6
    Display Error      Shift+F1
    Down            DownArrow
    Duplicate Item      F3
    Duplicate Record      F4
    Edit            Control+e
    Enter Query      F7
    Execute Query      F8
    Exit            Control+q
    Help            F1
    Insert Record      F6
    List of Values      F9
    Next Block            ?
    Next Item            Tab
    Next Primary Key      Shift+F3
    Next Record      Shift+DownArrow
    Next Set of Records      Control+>
    Previous Block      ?
    Previous Item      Shift+Tab
    Previous Record      Shift+UpArrow
    Print            Shift+F8
    Return            Return
    Save            F10
    Show Keys            Control+F1
    Up            UpArrowsarah

  • AutoConfig could not successfully execute the following scripts bisdblrp.cm

    When i run the autoconfig, it end up with following error message:
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\oracle\fincomn\admin\install\FIN_ora-fin
    bisdblrp.cmd INSTE8_APPLY -1
    this error is comming after running the FNDCPASS utility to change apps and other schema password. i also changed the password for sys and system and remote_login_passwordfile parameter is set to exclusive.
    AutoConfig is exiting with status 1
    regards

    There are many reported Metalink notes about bisdblrp.sh (bisdblrp.cmd), here are some links:
    Note: 397773.1 - bisdblrp.sh failed with ORA-01031: insufficient privileges while running Autoconfig
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=397773.1
    Note: 431079.1 - Bisdblrp.sh Fails With ORA-06502 Error
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=431079.1
    Note: 417073.1 - Bisdblrp.Sh Fails During Clone Autoconfig
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=417073.1
    Note: 360679.1 - Adautocfg errors on bisdblrp.sh - buffer too small ora-06502
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=360679.1
    So, checking AutoConfig log file should be helpful in revealing more details about the error.

  • Model entry point 'test uuts' could not be executed error -18002

    Hi,
    I am running a testand(2.0.1f1) sequence of labview (7.0) steps and it is working perferctly in my computer , but when installing testand and labview in another computer and I try to run my sequence the next message appears. "model entry point 'test uuts' could not be executed error -18002"
    Is anyone that has an idea of what is happening here?
    Thanks =)
    Eren

    Hi Eren,
    You might try mass compiling the TestStand folders so that all VI's are at the same Version. TestStand 2.0.1f1 installs VI's that are at ver5.1.1
    When you run from the Entry Point eg "Test UUTs", before the sequence executions all VI's in all the sequence contained in the sequence file are loaded in to memory.
    Look at the error message again, it should be telling you which step in which sequence of the sequence file is not executable.
    Hope this helps
    Ray Farmer
    Regards
    Ray Farmer

  • AutoConfig could not successfully execute the following scripts afcpnode.cm

    When i run the autoconfig, it end up with following error message:
    [AutoConfig Error Report]
    The following report lists errors AutoConfig encountered during each
    phase of its execution. Errors are grouped by directory and phase.
    The report format is:
    <filename> <phase> <return code where appropriate>
    [SETUP PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: d:\oracle\prodcomn\admin\install\PROD_oraprod
    afcpnode.cmd INSTE8_SETUP 1
    [PROFILE PHASE]
    AutoConfig could not successfully execute the following scripts:
    Directory: d:\oracle\prodcomn\admin\install\PROD_oraprod
    afcpgsm.cmd INSTE8_PRF 1
    AutoConfig is exiting with status 2
    this error is comming after running the FNDCPASS utility to change apps and other schema password. i also changed the password for sys and system and remote_login_passwordfile parameter is set to exclusive. This error is comming on application node. On Database node there is no error.
    Thanls and Regards

    Is this problem is linked with apps user's password length because it is 17 char long and may be apps password variable is not that much longI could not find any reported bugs/notes about the password length, only a bug (5859062) about the domain name length.
    Note: 418403.1 - AUTOCONFIG FAILURE AFCPNODES.SQL DOMAIN NAME LONGER THAN 30 CHARACTERS
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=418403.1

  • AutoConfig could not successfully execute the following scripts adsvalsn.cm

    When i run the autoconfig, it end up with following error message:
    AutoConfig could not successfully execute the following scripts:
    Directory: E:\oracle\fincomn\admin\install\FIN_ora-fin
    adsvalsn.cmd INSTE8_APPLY -1
    AutoConfig is exiting with status 1
    And because of this error autoconfig takes more than an hour to complete. please help me
    regards

    - Do not run AutoConfig command from any terminal clients
    - Make sure the apps listener is down when you run AutoConfig
    In addition, you may review the following notes:
    Note: 218089.1 - Autoconfig FAQ
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=218089.1
    Note: 393788.1 - Autoconfig Gives Installation Failed And Then Hangs
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=393788.1
    Note: 260365.1 - Adconfig.cmd Hangs When Starting Apps Listener
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=260365.1

  • Authorization - 'we could not complete your iTunes store request. an unknown error occured (-42408)

    I was having problems connecting my iPhone 4s to my iTunes, so I was advised to restore my phone as I had everything backed up to my laptop.
    I have restored my phone 3 times now and cannot sync anything to it as i need 'authorization' but whenever I enter my apple ID and password to complete the authorization i get a pop-up saying
    'we could not complete yout iTunes store request. an unknown error occured (-42408) there was an error in the iTunes store. please try again later'
    like I said, I've restored my iphone 3 times now and get this every time and in doing so I have lost everything that was on my phone (that im not worried about) i just want to know how I can authorize my laptop so I can sync music to my iphone.
    I am up to date with the latest itunes and all softward on my phone.

    Doublechecking. In the course of your troubleshooting to date, have you worked through the following document?
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    (If not, perhaps first try the "Remove the SC Info folder" instructions from the document.)

  • BI analysis authorization- checking for not equal to values

    hello,
    the info provider (ZIC_COPA) is having auth. relevant char. are 0COMP_CODE, PLANT, 0SALESORG.
    When i am executing query which is built on ZIC_COPA info provider. It is checking all above charcteristics value. But in RSECADMIN i found that system is checking for not equal to values. For ex. please see below RSECADMIN trace. It is checking not equal to values for PLANT. does anybody know why it is checking NOT PLANT IN values??
    0COMP_CODE
    0PLANT
    0SALESORG
    SQL Format:
    COMP_CODE IN ('1000',,'3200')
    AND NOT PLANT IN ('1000','3200')
    AND SALES
    ORG IN ('1000',','3200',')
    AND TCAACTVT = '03' 
    Note: There is no hardocoding or exclusion values in the query.
    Regards
    Imran
    Edited by: Imran  Mulani on Jun 21, 2009 1:13 PM

    ok

  • SAPInst could not be executed on Solaris 9

    Hi,
    I have a problem running SAPInst tool on Solaris 9 and would like to get some suggestions from you.
    When run SAPInst -v either from the cdrom or from a local mount point, I am not getting any response back.  The cursor is blinking but nothing registered on the host after SAPInst executed.
    Any suggestions?
    We have checked the followings without success:
    1. Environment settings
    2. Shared Memories
    3. File Systems
    4. Patch level for the OS
    5. Tried running it with a different version of SAPInst without success
    6. working with the Unix team to figure this out and yet find a solution for it.
    7. when ran the command>find / . -name <file>
    Nothing came back.  The cursor keeps on blinking away….
    8. when tried to run ./sapinst, same thing happened. 
    9. while both of the above commands running. We could not see any registered on the host when ran another session and do command >prstat |more
    10. we tried to run it both from the CDROM mount point and from the local mount, no success there either.
    Any idea is greatly appreciate it.
    Thanks in advance for your help.
    Steve T.

    Hi Steve,
    Are you installing NW04SR1 on Solaris x86 64 or 32 bit? if so, consider checking the hardware compatibility Matrix.
    I have tried installing NW04SR1 on solaris x86 and sapinst fails.
    Damien.

  • SAP Conversion Agent: HL7 library project could not be executed

    Hi experts
    I'm using SAP Conversion Agent version 4.3.0 on a PI 7.0. I'm trying to use a HL7 library project. On the Conversion Agent Studio side everythings works fine: the library project is created and a test of the service with a local HL7 file was successful. After that I make the project on the Conversion Agent Studio available and copy the project from the local \SAP\ConversionAgent\ServiceDB directory to the PI Conversion Agent ServiceDB directory.
    So far so good... but when I try to execute the CA project via File Sender Adapter the following error is thrown:
    "Invalid service 'TEST'. Check service name and service database"
    Module Exception 'com.sap.aii.af.mp.module.ModuleException: <Status><severity>4</severity><description>Invalid service 'TEST'. Check service name and service database.- for more information see file:///usr/sap/DXI/ConversionAgent/CMReports/Tmp/2009-12-23/nonexistent_U-_-63-4b17e36f-5e83/Events.cme</description><log_file>file:///usr/sap/DXI/ConversionAgent/CMReports/Tmp/2009-12-23/nonexistent_U-_-63-4b17e36f-5e83/Events.cme</log_file><Event error_code="401024" severity="error_fatal">
    <description>Invalid service 'TEST'. Check service name and service database.- for more information see file:///usr/sap/DXI/ConversionAgent/CMReports/Tmp/2009-12-23/nonexistent_U-_-63-4b17e36f-5e83/Events.cme</description>
    <time>N/A</time>
    </Event>
    </Status> caused by: com.itemfield.contentmaster.CMException' found, cause: com.itemfield.contentmaster.CMException
    I also created another parser project, without HL7 libraries, this works also on Conversion Agent Studio and on PI side without any problems.
    Do you have any ideas?
    Thx,
    manuku

    Hi Conversion Agent experts,
    Do you have any ideas?
    Thx
    manuku

  • The Query could not be executed

    Hello!
    I have crated the Query via Query Designer and would like to execute/see the results.
    Unfortunately th following error appears:
    http:///irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=REP_20080728135624&VARIABLE_SCREEN=X&DUMMY=4
    Do I need a extra SAP Portal for this?
    I use SAP Solution Manager for BW/BI.
    Thank you very much!
    regards
    Thom

    hi,
    we are also facing the same problem, please let us know the solution for the same.. what all settings required to be don/
    thanks
    dipika

  • No authorization Check..in CRM_ORDER_MAINTAIN.

    hello Experts,
    I have a business Partner Wherein i need to add new partners to a business activity. So i used the FM : 'CRM_ORDER_MAINTAIN'.
    I have written the Followin Code, but during the execution of code i am getting an error ' 'An authorization check could not be executed '.
    METHOD if_ex_order_save~change_before_update.
      LOOP AT it_bp INTO wa_bp1.
        wa_bp2-REF_GUID = wa_orderadm_h-GUID.
        wa_bp2-ref_handle = '0000000001'.
        wa_bp2-ref_kind = 'A'.
        wa_bp2-ref_partner_handle = '0002'.
        wa_bp2-kind_of_entry = 'C'.
        wa_bp2-partner_no = wa_bp1-partner.
        wa_bp2-partner_fct = 'Z0000011'.
        wa_bp2-display_type = 'BP'.
        wa_bp2-no_type = 'BP'.
        wa_bp2-mainpartner = 'X'.
        APPEND wa_bp2 TO it_bp2.
        wa_field_line-fieldname = 'DISPLAY_TYPE'.
        wa_field_line-CHANGEABLE = 'X'."space.
        APPEND wa_field_line TO it_field_line.
        wa_field_line-fieldname = 'KIND_OF_ENTRY'.
        wa_field_line-CHANGEABLE = 'X'."space.
        APPEND wa_field_line TO it_field_line.
        wa_field_line-fieldname = 'NO_TYPE'.
        wa_field_line-CHANGEABLE = 'X'."space.
        APPEND wa_field_line TO it_field_line.
        wa_field_line-fieldname = 'PARTNER_FCT'.
        wa_field_line-CHANGEABLE = 'X'."space.
        APPEND wa_field_line TO it_field_line.
        wa_field_line-fieldname = 'PARTNER_NO'.
        wa_field_line-CHANGEABLE = 'X'."space.
        APPEND wa_field_line TO it_field_line.
        wa_input-logical_key = wa_bp2-ref_partner_handle.
        wa_input-ref_handle = '0000000001'.
        wa_input-ref_kind = 'A'.
        wa_input-objectname = 'PARTNER'.
        wa_input-field_names = it_field_line.
        APPEND wa_input TO it_input.
    READ TABLE lt_orderadm_h INTO wa_orderadm_h
    with key process_type = 'ZDOR'.
    wa_order-GUID = wa_orderadm_h-GUID.
    wa_order-MODE = 'A'.
    wa_order-process_type = 'ZDOR'.
    APPEND wa_order to it_order.
        CALL FUNCTION 'CRM_ORDER_MAINTAIN'
         EXPORTING
           it_partner                    = it_bp2
    * IMPORTING
    *   ET_EXCEPTION                  = it_ex
         CHANGING
       CT_ORDERADM_H                 = it_order
           ct_input_fields               = it_input
         EXCEPTIONS
           error_occurred                = 1
           document_locked               = 2
           no_change_allowed             = 3
           no_authority                  = 4
           OTHERS                        = 5
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        wa_save = wa_orderadm_h-guid.
        INSERT wa_save INTO it_save.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save         = it_save
    *   IV_UPDATE_TASK_LOCAL       = FALSE
    *   IV_SAVE_FRAME_LOG          = FALSE
    *   IV_NO_BDOC_SEND            = FALSE
    *   IT_ACTIVE_SWITCH           =
    * IMPORTING
    *   ET_SAVED_OBJECTS           =
    *   ET_EXCEPTION               =
    *   ET_OBJECTS_NOT_SAVED       =
    * CHANGING
    *   CV_LOG_HANDLE              =
    * EXCEPTIONS
    *   DOCUMENT_NOT_SAVED         = 1
    *   OTHERS                     = 2
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =
      ENDLOOP.
    ENDMETHOD.
    Please Help.
    Thank You.
    Edited by: akshayruia on Apr 11, 2011 5:45 AM

    hi, have edited the method as per the suggestion i am not getting the error any more, but i am also not able to add the partner in activity..the code is as follows :
    LOOP AT it_bp INTO wa_bp1."it_partner into wa_partner."
        ADD 1 TO counter.
        wa_bp2-ref_guid = wa_orderadm_h-guid.
        wa_bp2-ref_handle = '0000000000'."wa_partner-REF_HANDLE."
        wa_bp2-ref_kind = 'A'."wa_partner-REF_KIND."
        wa_bp2-ref_partner_handle = counter.                    "'0002'.
        wa_bp2-kind_of_entry = 'C'.
        wa_bp2-partner_no = wa_bp1-partner.
        wa_bp2-partner_fct = 'Z0000011'.
        wa_bp2-display_type = 'BP'.
        wa_bp2-no_type = 'BP'.
        wa_bp2-mainpartner = 'X'.
        INSERT wa_bp2 INTO TABLE it_bp2.
       MOVE-CORRESPONDING wa_bp2 to ls_logical_key.
        wa_field_line-fieldname = 'DISPLAY_TYPE'.
        wa_field_line-changeable = space. "'X'."
        INSERT wa_field_line INTO TABLE it_field_line.
        wa_field_line-fieldname = 'KIND_OF_ENTRY'.
        wa_field_line-changeable = space."'X'."
        INSERT wa_field_line INTO TABLE it_field_line.
        wa_field_line-fieldname = 'NO_TYPE'.
        wa_field_line-changeable = space."'X'."
        INSERT wa_field_line INTO TABLE it_field_line.
        wa_field_line-fieldname = 'PARTNER_FCT'.
        wa_field_line-changeable = space."'X'."
        INSERT wa_field_line INTO TABLE it_field_line.
        wa_field_line-fieldname = 'PARTNER_NO'.
        wa_field_line-changeable = space."'X'."
        INSERT wa_field_line INTO TABLE it_field_line.
    wa_input-ref_guid = wa_orderadm_h-guid."guid.
       wa_input-logical_key = ls_logical_key."wa_bp2-ref_partner_handle.
        wa_input-ref_handle = '0000000000'.
        wa_input-ref_kind = 'A'.
        wa_input-objectname = 'PARTNER'.
        wa_input-field_names = it_field_line.
        INSERT wa_input INTO TABLE it_input.
        READ TABLE lt_orderadm_h INTO wa_orderadm_h
        WITH KEY process_type = 'ZDOR'.
        wa_order-guid = wa_orderadm_h-guid.
        wa_order-mode = 'A'.
        wa_order-process_type = 'ZDOR'.
        INSERT wa_order INTO TABLE it_order.
      ENDLOOP.
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
           EXPORTING
             it_partner                    = it_bp2
    IMPORTING
      ET_EXCEPTION                  = it_ex
           CHANGING
             ct_orderadm_h                 = it_order
             ct_input_fields               = it_input
           EXCEPTIONS
             error_occurred                = 1
             document_locked               = 2
             no_change_allowed             = 3
             no_authority                  = 4
             OTHERS                        = 5
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    (code)

Maybe you are looking for

  • Mid-2010 27" iMac with i5 - process for determine why slow

    I have a mid-2010 27" iMac with an i5 processor and 12 GB of memory running latest Maverick OS.  I mainly use the computer for email, web browsing, light weight spreadsheets and importing/organizing/sharing photos.  I understand why my computer would

  • Using Time Capsule without it being a router

    I Have a Time Capsule connected to my Mac Mini (OS X 10.8.3) by ethernet cable, but not connected to my cable modem. I have an existing wireless network and wish to continue using that. I have the Time Capsule working okay for auto back-ups but every

  • OK, I'm throwing the towel in and I've given up on BB obtaining an iPhone for me

    I was the FIRST pre-order at my local BestBuy.  My order was placed at 10:15am on 9/14 and everyone told me that I 'should' get my phone during the first weekend of sales.  Since placing that pre-order I've:  -received multiple order emails with diff

  • Need help with instruments mapping

    I have Korg PA80 and i hooked up midi out from it to midi in to Logic8, I have some nice realtime accompaniment tunes i can play on that keyboard, what i want to do is to play on my PA80 accompaniment tracks but replace all sounds with my custom soun

  • How to do SUBTOTAL AND TOTAL in Main Window of SAPSCRIPT.

    Hello Friends, I am modifying standard SAPSCRIPT of packing slip. My client wants a subtotal and total in Main Window of Script for Eg. (They want Material Number wise Subtotal and finally Grandtotal at bottom in Main Window) Now i got stucked up her