Authorisation combined with document type, activity and status

I want to create a role for a user who is only allowed to create and change document type ZDI  in status IW .
Which object authorization can provided this check ?
The object authorization C_DRAW_TCD  control only the activity (create/modify) and the document type (ZDI).
The object authorization C_DRAW_STA control only  the document type (ZDI) and the status of the document (IW).
But I need the combination of the both authorization. Does a possibility exist in standard to do it without create a client new authorisation?
Thanks in advance for your help.
Amande

Thanks for your response.
But it doesn't works as I want.
The object authorisation C_DRAW_TCS  is checked before the save but not after save with the changed values.
for example :
the user has the following authorizations in the modification role:
  C_DRAW_TCS  activity 02 document type ZDI  document status IW 
  C_DRAW_TCD document type ZDI  activity 02
  C_DRAW_STA document type ZDI status IW
The user has also the autorisation C_DRAW_STA document type ZDI status FI  in the display role
With this configuration the user can modify the document ZDI in status IW and change the status into FI . I don't want that the user can change the status into FI. Does exist a possibility to avoid this?
Of course, after storing this change of the status , the user can't access to the document ZDI with status FI.
SAP doesn't check the authorization C_DRAW_TCS  activity 02 document type ZDI  document status FI  after status change.
Thanks in advance
Amande

Similar Messages

  • Getting error while processing EDIFACT-D96A-ORDERS.. Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND

    Hi Anuj & All,
        I'm trying to create an outbound scenario with EDIFACT-D96A-ORDERS. A simple SOA composite application polling data from DB and through B2B adapter 'send' option provides data to B2B system.
    Set up two partner profiles like this,
    Host:
    Name: HTP
    EDI Group ID: HTP
    EDI Interchange ID: Interchange Sen
    EDI Interchange ID Qualifier: 01
    Remote:
    Name: RTP
    EDI Group ID: RTP
    EDI Interchange ID: Interchange Rec
    EDI Interchange ID Qualifier: 01
    Other settings are as usual. Delivery channel of generic file created on RTH.
    Now, few documents settings on B2B console are like this,
    D96A-> Interchange tab
    Create UNA: Never
    ORDERS-> Transaction
    Functional Group Identifier Code: ORDERS
    Controlling Agency: UN
    - other properties are unchanged.
    On SOA side, the bpel invoke activity which calls B2B adapter has following properties:
    <invoke name="InvokeOrders"
      inputVariable="InvokeOrders_send_InputVariable"
      partnerLink="D96A.ORDERS" portType="ns2:send_ptt"
      operation="send" bpelx:invokeAsDetail="no">
    <bpelx:inputProperty name="b2b.toTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.toTradingPartnerId"
        expression="'RTP'"/>
    <bpelx:inputProperty name="b2b.messageType" expression="1"/>
    <bpelx:inputProperty name="b2b.messageId" variable="messageID"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerIdType"
        expression="'NAME'"/>
    <bpelx:inputProperty name="b2b.fromTradingPartnerId"
        expression="'HTP'"/>
    <bpelx:inputProperty name="b2b.documentTypeName"
        expression="'ORDERS'"/>
    <bpelx:inputProperty name="b2b.documentProtocolVersion"
        expression="'D96A'"/>
    <bpelx:inputProperty name="b2b.documentProtocolName"
        expression="'EDIFACT'"/>
    <bpelx:inputProperty name="b2b.documentDefinitionName"
        expression="'ORDERS_def'"/>
    <bpelx:inputProperty name="b2b.conversationId"
        variable="ConversationID"/>
    </invoke>
    The error I'm getting on B2B Console->Reports->Business Message, while running this is,
    Error Code B2B-50547
    Error Description Machine Info: (htp01310-vm01.htp.com) Description: Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Error Level ERROR_LEVEL_COLLABORATION
    Error Severity ERROR
    Error Text Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
    Note: On Manage Deployment Tab I've checked the agreement is in active state.
    -- Business Message (Result):--
    State: MSG_ERROR
    Document Type: ORDERS
    Agreement: <blank>
    Sender: HTP
    Receiver: <blank>
    -- Application Message (Result):--
    Sender Id Type: NAME
    Sender Value: TCS
    Receiver Id Type: NAME
    Receiver Value: ORCL
    Document Type: ORDERS
    Document Definition: ORDERS_def
    Document Protocol Name: EDIFACT
    Document Protocol Version: D96A
    Direction: OUTBOUND
    State: MSG_COMPLETE
    - Can anybody please shoot some pointer on how to resolve this? Please let me know if you need further configuration details which I've not mentioned here.
    Regards,
    - @bhijit

    Hi Mariusz,
        Thanks for your reply. Yes I think so, probably you're right. But finest trace level doesn't give much clues on "wrong mapped" data. Anyway, here is the detail log. Please don't forget to point out if you find something interesting.
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704092> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    #### <Error> <oracle.soa.b2b.engine> <htp01310-vm01.htp.com> <soa_server1> <Workmanager: , Version: 0, Scheduled=false, Started=false, Wait time: 0 ms
    > <<anonymous>> <BEA1-0D3F5ABAC0B2E50C6CCB> <449b4b64fa2729cc:59737e36:146f08831ee:-8000-0000000000127da6> <1404379704569> <BEA-000000> <Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -:  B2B-50547:  Agreement not found for trading partners: FromTP HTP, ToTP null with document type ORDERS-D96A-OUTBOUND.
      at oracle.tip.b2b.tpa.RepoDataAccessor.queryAgreementMO(RepoDataAccessor.java:887)
      at oracle.tip.b2b.tpa.RepoDataAccessor.getAgreementDetails(RepoDataAccessor.java:415)
      at oracle.tip.b2b.tpa.TPAProcessor.processTPA(TPAProcessor.java:465)
      at oracle.tip.b2b.tpa.TPAProcessor.processOutgoingTPA(TPAProcessor.java:224)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1555)
      at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:819)
      at oracle.tip.b2b.engine.Engine.outgoingContinueProcess(Engine.java:4100)
      at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3921)
      at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3309)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:637)
      at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
      at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:120)
      at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:184)
      at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    >
    Rgds,
    - Abhijit
    P.S. - Can you please check what is the value of "Functional Group Identifier Code" for D96A ORDERS.

  • Custom action with XML type input and output parameter.

    Hi,
    I want to develop custom action with xml type input and/or output parameter.
    Is there sample code for java side. How is the definition of input and/or output parameter and set/get methods?
    does it need special .jar file to develop custom action like this?
    Thanks.

    Cemil - yes, you can use XML data types.  Use the class
    com.sap.lhcommon.xml.XMLDataType
    for your parameter type.  Here is a snippet from a custom action we use to log XML (instead of just returning the #text node like the default logger does):
    public class XMLLogger extends ActionReflectionBase
        private String source;
        private String eventType;
        private String textMessage;
        private XMLDataType xmlMessage;
        public XMLLogger()
            log = new Logger("UserLog");
            source = DEFAULT_SOURCE;
            eventType = TYPE_INFO;
            textMessage = "";
            xmlMessage = new XMLDataType();
        public XMLDataType getXmlMessage()
            return xmlMessage;
        public void setXmlMessage(XMLDataType xmlMessage)
            this.xmlMessage = xmlMessage;
        public void Invoke(Transaction transaction, ILog ilog)
            StringBuffer sb = new StringBuffer();
            sb.append('[');
            sb.append(source);
            sb.append("] ");
            sb.append(textMessage);
            sb.append(XMLUtils.convertXmlToString(xmlMessage));
    XMLUtils is a helper class we wrote - it's just a bunch of standard Java XML boilerplate code.  The important part you need to know is XMLDataType.getDocument() will return an org.w3c.dom.Document.
    I hope that was enough information to help.
    -tim

  • PO - Document Type FO and Item Category B - Can they be transferred to SUS?

    Hi SDN
    We are using R/3 4.7 with SRM 5.0 - Classic Scenario and XI 4.0.  We are just about to launch an SUS project to put our PO's on SUS for our suppliers.  Our organization is dealing with PO's for both Goods and Services.  As we know that there are no problems about putting the GR-Type PO's (NB type) on SUS but I would like to know if it is possible to transfer PO's that would be from the Document Type FO and Item Category B (Blanket PO) to SUS and ensure that our suppliers can do the entire PO Acknowledgement, PO Change and post the Invoice via SUS.  If not, what are the options for our R/3 - SUS installation?
    Thanks!
    Eric L.
    Edited by: Eric Longpré on Apr 23, 2009 12:57 PM

    Hi,
    This has been discussed several times on this FORUM..Pls refer the foll threads for more details:
    PR document type in the back end system
    Change "Document Type in R/3 System" in SC
    Changing document type of PO backend
    Re: Change PO number/document type
    BR,
    Disha.
    Do reward points for useful answers.

  • SD invoice posted with document type RV ,

    Hi all,
    I try to do incoming payment for SD invoice posted with document type - RV. when i used to do incoming payment by transc code: f-28. An ABAP dun error occurs, stating termination " message type-X".
    Is it possible to do incoming payment for SD invoice from FI. Urgent help needed.
    Regards
    Raj

    Hi,
    Once an Invoice is created in SD, An Accounting document is generated with document type RV. RV Doc. Type shows that the customer is liable to pay the amount.
    While you post the document through f-28, the document type shuld be changed to customer payment.
    It may be one of the reason. So select the docment type customr payment  but not RV and try
    Regards

  • I've been working with documents in pages and recently downloaded word for mac. i open the pages documents and they appear to be corrupt. at least, a lot of the font is now in weird boxed pictures. what do i do?

    I've been working with documents in Pages and recently downloaded Word for Mac. Upon opening Pages documents with Pages, the documents appear corrupt. Much of the font has been replaced with boxed little pictures - yet they are identified as times new roman. What do I do?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • How to get the document type, name and revision from the search page cv04n

    Hello,
    After performing cv04n and getting a list of documents satisfying the search criteria, how can I then get the document type, name and revision of the selected document using ABAP?
    Thanks

    HI,
    IN table DRAW... u have Document type, Version and document number.
    In Table DRAT also u get Document Type, Version, Number and Description of Doucment.
    Regards
    SAB

  • Document Type " AJ"  and "KB"

    Hello,
    Can anyone let me know What does document type " AJ" and "KB" stands/means in SAP.
    I will provide points.Please get back ASAP.
    Thanks,
    Bala

    These are not Standard SAP document types that were delivered. Try look at the description and try to understand the need for creating these document type.
    Also look at the document type properties to understand the doucment in a better way.
    reward if useful.
    sarma

  • I updated to ios 5.1, after updating, now my screen is stuck with the apple logo and status bar and isn't doing anything....HELP

    I updated to ios 5.1, after updating, now my screen is stuck with the apple logo and status bar and isn't doing anything....HELP

    The typical fix if the progress bar totally freezes - meaning no movement at all for more than 20 minutes - and iTunes will no recognize the device - is to try to put the iPad into recovery mode. That is explained here.
    iPad: Unable to update or restore
    However, don't jump the gun. Keep an eye on the progress bar and if it is moving at all - even very slowly - let it go for a while. I'm updating my iPod touch first and the progress bar is moving but very slowly.

  • When updating to the latest OS X my wife's Mac Book Pro locked at a grey screen with an apple icon and status bar.  Is there any way to recover the data on the laptop and complete the OS install?

    When my wife's Mac Book Pro was being updated to the latest version of OS X the laptop locked up at a grey screen with the Apple icon and status bar.  Is there any way to recover the data and complete the install?  I have not tried anything yet because of the data issue.  I am not sure which OS X version as I did not install the software.

    Used Macs of every description are always available on Ebay and Craigslist and from a plethora of online used-Mac resellers. Apple sells refurbished late-model Macs at 10-20% discounts with a new-computer warranty and the opportunity to extend the warranty with AppleCare.
    http://store.apple.com/us/browse/home/specialdeals/mac

  • Retriggering Release strategy for PR with Document Type, Company Code and Price Range as Characaterstics

    Hi Friends,
    I have a issue to fix. The issue is releated to PR.
    There are some PR's in the system which has wrong release strategy picked up or wrong approvers picked up due to some congif change. now that the config changes are rectified correctly, we need to find a solution to correct the PR's which got affected due this.
    I have to retrigger the release strategy for all the affected PR's.
    The characterstics which we have consider for release strategy is Document Type, Company Code and Price Range.
    Can anyone suggest how can we retrigger the PR in bulk or individual to all the affected PR's, so that it picks up correct release strategy as per new config changes.
    Regards,
    Manjunath K

    Hi,
    Refer the discussion to triggers release again on release code addition/change in release strategy.
    release code is changed on PR release strategy - old PR can´t be approved
    Regards,
    Biju K

  • Document Splitting - Active and Passive

    Hi,
    What is the difference between active and passive split?? Please explain with an example.
    Regards
    Satya

    Active document splitting means document splitting basing on the Business Transaction/Transaction Variant assigned to the document type and the Item Category assigned to the GL account.  System determines and does the splitting of each line item in the document, basing on the configuration you have done.  You have control over active splitting.
    Passive splitting is something that you do not have control over.  System takes the document splitting characteristics from the original document that it is referencing, for example, a reversal document that always references to the original document that is being reversed.  The configuration that you do does not affect passive splitting.
    See the following example.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/49/11da8b97244a19e10000000a42189b/content.htm

  • Report of Document Types/ Activity

    Hello SAP Guru's
    Is there a way I can view all the document types currently opened or cleared for my customers?  I am looking for something to give me that plus the ability to drill down by document number to view activity.
    Thanks!
    POINTS AWARDED

    Thank you both but I am aware of this trick.
    I was hoping for something that listed the document types/ and/or posting keys by totals
    know what I mean?
    Points awarded

  • Different accounting document type "WE" and "RE"

    Hi,
    I am currently coding to extract data from internal table BKPF and is facing a problem with field BLART (document type).
    Understand that there are records for "WE" (Goods Reciept) and "RE" (Invoice Receipt) found in this table.
    May i know what are the differences between these 2 type of documents?
    Can both WE and RE co-exist for the same account document?
    Does RE means goods receipt already done?
    Thanks.
    regards,
    CL

    solved

  • Problem with document type on WF for parking document

    Hello
    Iu2019m actually working on  the SAP workflow dealing  with the FIPP object and  the event u201Ccreatedu201D (FI park document transaction (FV60)).
    The problem is that the WF is launched for all document types wich is not the need of the customer. Iu2019m looking for a solution to launch the WF for some specific document types.
    Iu2019ve already tried to use  the workflow variant, approval groups, paths and procedure with no success. (SPRO -> financial accouting-> accounts receivable and accounts payable -> business transaction -> incoming credit invoice memo -> make and check setting for document parking)
    Thank you for help.
    SL

    Here is the solution I have  eventually found :
    1-      Application of the OSS note 559276 which enables the customizing of the workflow variant (the transaction OBWD becomes here effective)
    2-     Assignment of the documents types, workflow variants and release approval groups with the transaction OBWD.
    Therefore, the document types that are not defined in the transaction OBWD will not require validation (no workflow will be launched).
    SL

Maybe you are looking for