Document Posting restriction using posting key,document type combination

Hi
We have a authorization restriction issue using posting key&document type&Accoutn type  combination.
Requirement is
User A should be able to post to vendors only for particular posting key&document type.He should be able to post to with any other posting keys and document types to vendors.
We have tried with document type authorization object/vendor authorization objects from user profile but it does,t work.
can any one suggest some way please/
r
regards

Hi
I think you should be able to achieve the same through Validation rule:
Prerequisite
Document Type - XXXX
Check
User name = 123 and Posting Key = XX
You can set a an error messsage which would be bleeped when the check fails
Regards
Sanil Bhandari

Similar Messages

  • When opening a word document, I get this:The table of contents is empty because none of the paragraph styles selected in the Document Inspector are used in the document. Is there a way to solve this?

    The table of contents is empty because none of the paragraph styles selected in the Document Inspector are used in the document.
    The above is what I get when I open a word document. Is there a way to solve this?

    Hmmm. Apply the styles?
    Peter

  • SP to restrict use of specific activity type to specific user

    Hi experts
    I am trying to use SP to reserve some Activity types for use of specific user but am unsuccessful.
    I would be grateful for advice where I am in error?
    --Restrict use of Visit type activity
    IF (@object_type='137' OR @object_type='33') AND @transaction_type IN ('A','U')
    BEGIN
    If Exists (Select T0.ClgCode from OCLG T0 Where T0.DocEntry = @list_of_cols_val_tab_del and (T0.CntctType = 'test' AND T0.AssignedBy != 6)
    BEGIN
    Select @error = -1,
    @error_message = 'Reserved activity type - Please use another type'
    End
    End
    I also try using the following for CntctType:
    'test'
    '11'
    11
    and I also try using the following for AssignedBy;
    6
    'BOB BIRT'
    '6'
    Thanks for any assistance
    Karen
    Message was edited by: Andrew Birt
    I found mistake myself ... eventually.

    This is an example of using AFCSAccount->listRoom() :
        $am = new AFCSAccount($accountURL);
        $am->login($username, $password);
        echo "==== room list for {$accountName} ====\n";
        foreach ($am->listRooms() as $r) {
          echo "{$r->name}:{$r->desc}:{$r->created->format(DATE_RFC822)}\n";
    You would need to look at all rooms where $r->desc == "template name". Currently we don't provide a filter for this but I understand how this would be useful.
    The alternative is that since you are maintaining a database and use it for room creation, you should store the template information there for quick retrieval. Again, the way we store room informations is designed for fast access to specific rooms, but not for querying possibly long list of rooms.

  • How to use primary key in sql combined from 2 columns

    table1
    primary key = orderid+custname
    orderid custname address
    8889 Adrian london
    8867 Clara manchester
    2229 Peter warwick
    table2
    primary key = orderid+custname
    orderid custname qty price
    8889 Adrian 10 2500
    8865 Adrian 20 9483
    8867 Clara 30 3993
    5869 Clara 15 1828
    2290 Peter 10 2102
    2298 Peter 13 3839
    then how do i query ?
    SQL> select t1.orderid, t1.custname, t1.address, t2.qty, t2.price from
    table1 t1, table2 where ? = ?
    what's the "?" should be ????
    it doesn't work if i enter the primary constraint key for each table.
    thanks.

    thanks, it works ;)
    btw, do you know how about the date field ?
    what if one of the field in table1 is 12/12/2005 14:30
    and table2 is 15/12/2005
    table1
    orderid orderdate
    1234 12/12/2005 14:30
    2234 15/12/2005 13:45
    table2
    orderid orderdate
    1234 12/12/2005
    2234 15/12/2005
    so the query
    select t1.orderid as t1 t1.orderdate , t2.orderid as t2, t2.orderdate from
    table1 t1, table2 t2 where t1.orderid = t2.orderid
    and to_char(to_date(t1.orderdate, 'dd/mm/yyyy hh24:mi'), 'dd/mm/yyyy') = t2.orderdate
    thanks.

  • Any Standard FM  for material stocks on posting date  using  Tcode  MB5B

    Hi,
    I  need   Standard  FM  to get  material stocks on posting date  using   Tcode   :   MB5B
    Stock type  i am using  is  : Storage Location/Batch Stock
    the  Input   i am  providing  is    Material, Plant , Storage Location, selection  date From , selecDate To.
    Then   i need  to get  data  that it  provides   header  and  document  item level.
    Can u please tel me  how do i get  that  material stock data  on posting date and in which tables
    it will be populated in the database.
    ITs required  can u take view and post info
    Thanks & Regards
    sivakumar kasa
    Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
    Edited by: siva kumar kasa on Dec 22, 2010 7:15 AM

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • AP- Why exchange rate type between Post invoice and Post payment is differe

    AP- Why exchange rate type between Post invoice and Post payment is different ?
    Hello,
    I have question
    when post AP invoice , document type KR
    document date = 11.12.2009
    posting date = 31.12.2009
    entry date = 05.01.2010
    this document using exchange rate type B (standard translation at bank selling rate) on 31.12.2009 (use posting date )
    but when post payment for above document,document type ZP
    document date = 25.06.2010
    posting date = 25.06.2010
    entry date = 24.06.2010
    this document using exchange rate type M (standard translation at average rate) on 23.06.2010
    please answer
    why do post invoice and post payment use different exchange rate type?
    and why at payment donot use posting date for get exchange rate ?

    Nanas,
    Sorry if im not  being clear...
    My point is: the difference rates customization for payments is done at FBZP.
    At Paying Company Codes, you have 4 flags for exchange rates differentes.
    At Control Data look:
    *Do not Post any Exchange Rate Differences:
    If the indicator is not set, the difference between the exchange rate at the time of posting and the exchange rate at the time of payment is determined for items which are posted in foreign currency. The payment program uses the translation rate in the currency table in the system for this purpose.
    *No Exchange Rate Differences for Partial Payments:
    Has the effect that the payment program for partial payments (requests for payment using transaction F-59) does not post exchange rate differences.
    *Processing of Bill of Exchange Payments:
    *Separate Payment for each Payment Reference
    Regards
    Bruno

  • Why do we use process keys

    Dear all,
    Can any one tell me y we use process keys....in inventory........can anyone please tell me the importance of process keys... y do we use them in the update rules.
    what is the significance of process keys
    Regards
    venu

    Dear,
    For this we need to understand how Business Contents/extractors are designed.
    Well, based on applications there are different methods followed by SAP to differentiate different Business Events in Logistics Applications.
    Say for example, for Logistics applications Process Keys are used to differentiate between different Business Events.
    In Financials, we use 'Value Type' to differentiate whether the data is a planned data or a Actual data or budgeted or a commitment or forecast etc.
    Since, logistics applications are Business Events oriented, documents are differentiated using Process Keys.
    Thanks

  • How to restrict the posting document from the parked user

    Hi All,
    Please help me in the below requirement
    The requirement is, need to restrict the posting of document by the same user, who has parked the document.
    For this I did the code changes in BTE: 00001140 by copying the function module:
    u2018SAMPLE_INTERFACE_00001140u2019 into new function module asu2019 Y_IB_FI_PROCESS_00001140u2019
    In this I have restricted as
    IF ( sy-tcode = FV60 or
    sy-tcode = FV50 or
        sy-tcode = FBV0 ).
    IF i_parked = u2018xu2019. " document has already been parked
          READ TABLE t_bkpf INDEX 1.
          IF t_bkpf-usnam EQ sy-uname. " park user = current user ?
            t_exctab-okcod = 'BU'.    " do not allow to post
            APPEND t_exctab.
          ENDIF.
        ENDIF.
    This function module is getting trigger while parking and posting the documents
    While posting the document, the parameter i_parkedu2019 is not getting the values as u2018Xu2019,
    To get the values as u2018Xu2019 for the parameter: i_parked what can I do?
    Can you please help me, is there configuration side need check?
    Or do I need to write code some where else.
    Thanks in Advance
    Rambabu .A
    Cross-post

    Hi
    Well, in such a case, it might be justified... BUt again, I would ask how would you differentiate between What USER1 can park and what can he post?... Certainly, it would be by means of fields like Doc Type, etc...
    Else, if you leave it to the discretion of USER1 and give him both the authorizations, why would he like to park when he can post the doc? 
    Anyways, now coming to the BTE, each BTE uses a structure... For eg: BTE 1120 uses BSEG_SUBST... If the fields you desire are not available in the structure, then you can also enhance the structure... See if you can enhance the structures involved and achieve the result
    Regards
    Ajay M

  • Document Splitting problem while posting asset acquisition using F-90

    Hi,
    We are using ECC 6.0 with document splitting functionality and are facing problem while posting asset acquisition using F-90.
    The transaction entry details are as below:
    Document Type - KR
    Vendor Line Item PKey - 31
    Amount - 10000
    Asset Line Item with PKey - 70, Transaction Type - 100
    Amount - 10000
    The Document Splitting Rule - 0000000012 is used and the Field Status Group for the Vendor Reconciliation Account and Asset Reconciliation account have Cost Center, Profit Center and Segment as "Optional" field.
    The Balance Sheet Item - Asset Reconciliation Account has been created as
    Secondary Cost Element - 90.
    The Profit Center and Segment field have been made mandatory and zero balancing is also set in the settings for Document Splitting.
    While posting asset acquisition using F-90, we are getting the error message - "Balancing Field "Profit Center" in line item 001 not filled"
    The first line refers to the Vendor Line item.
    Please let me know how to overcome this error.
    Regards,
    Ramanand

    Please follow the below path and do config :-
    IMG>FA>Asset Accounting>Integration with the General Ledger>Additional Account Assignment Objects>Specify Account Assignment Types for Account Assignment Objects
    here you have to put KOSTL (Cost center) for both against APC and Dep run for each Dep area.
    Thanks
    Pyare

  • Best iPad apps for creating and sharing word and spreadsheet documents?  X-post from Using iPad

    I am about to take a work trip away for a few weeks and will need to create word and spreadsheet documents and share them with my colleagues back in the office. Does anyone have any tips on the best apps to do this? I'm concerned that the iWork apps might be problematic with the .pages and .numbers native formats, given that my colleagues work on ms office in a windows environment. Also, the google docs mobile experience seems to be pretty clunky, so I'm hoping someon out there has the perfect solution! Thanks in anticipation.
    (X-post from Using iPad, but thought I might get some useful responses here.)

    There is no perfect solution, especially for those who need to create more complex documents (tables, etc.) and spreadsheets.   If your files are simple Quickoffice will do the job; you can set up a shared dropbox for those at the home base to access and interact with it directly through the app.  For heavy duty lifting you may want to consider accessing your  work desktop remotely using Splashtop, Logmein, gotomypc app, etc...

  • Background posting in MIGO using 501 E movement type

    Hi  Experts,
             I do have a requirement in which I have to post excess quantity to same batch , storage location and under same grid value by movement  type 501 E after posting with 101 movement type is done.
    I do need that after creation of a PO .
       I have to do MIGO ,GR wrt PO by movement type 101.
    Let PO Quantity(goitem-bsmng) be 100.
    But when entered  quantity in delivery note(150 ) is more than over delivery PO  tolerance quantity(110) ,
    then 110 should be posted as under movement type 101
    and remaining 40 quantity should be posted to same storage location , batch and grid value under movement type 501 E and that too in background.
    Any  one if face the same situation , please help me out.
    Thanx ,
    Jeet
    Moderator message : Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jul 25, 2011 4:51 PM

    nilupriya wrote:
    Hi Experts,
    >
    > Can you please brief me about the Accounting doc while using the 311 movement type. if there is involve the split valutation in internal purpose or external purpose.
    >
    > Regards
    Hi Nilu,
    See that Mvt 311 is trf betwn st.loc to st.loc, where the goods are not leaving any valuation area, hence there's no value change, which means Accounting Documents are not created as they are not necessary.
    Hope its clear
    Shiva

  • Trasfer posting w.r.t material document

    Dear All,
    Can we do transfer posting w.r.t MIGO (GR-101) using t.code MIGO_TR or MB1B. i try do do TP but system is not allowing
    1) with T.code MIGO_TR system is giving msg:
    Selected material document does not correspond with action to be executed
    Message no. MIGO067
    Diagnosis
    You want to post a goods receipt, goods issue, or transfer posting with a material document as a reference. The document entered does not correspond with the prerequisites in order to be used as a reference using this functionality.
    System Response
    The prerequisite of this functionality is that there is a material document without a reference, in other words, the document posted at the time must have been an 'Other' goods receipt/goods issue or an 'Other' transfer posting, according to the selection.
    If, for example, you want to post a goods receipt, you cannot use a transfer posting document as a reference.
    Procedure
    Choose a document suitable for the selected activity.
    2) MB1B i selected w.r.t material doc:
    Process doc. 5000011861, trans./ev. type WE, with different transaction
    Message no. M7065
    Diagnosis
    The function is not defined for the transaction/event type of this document.
    Example: you want to enter a goods issue with reference to a material document but have entered a goods receipt document as reference.
    Procedure
    Enter a different document or process the document with the function that has been defined for it.
    Do you want to display the list of material documents for the material? If so, you can select by transaction/event type.
    Please advice me how to proceed,
    Regards,
    Gopala.S

    Can we do transfer posting w.r.t MIGO (GR-101) using t.code MIGO_TR or MB1B. i try do do TP but system is not allowing
    Not possible,try with T.P mvmt types like 301,309,311,351 etc.,

  • COPA document not generated when Post Goods Issue is reversed.

    Hello Friends,
    WE uses Stock Transport Order in two steps for transfering Stock from one plant to another.  We have defined a Condition type FRB1 to capture the Freight cost involved in the stock transfer.
    When the Post goods issue is done for the Stock Transport Order. following Accounting documents are generated.
    Accounting
    Profit Center
    COPA
    Spec. Purpose Ledger
    Controlling Document
    Material Ledger document.
    But When the Post goods issue is reversed through transaction code VL09 all the above documents are generated except for COPA document. Though in controlling document it shows the object type hit is REO i.e profitability Analysis
    For further information we have mapped cost element (600150) with Value field in PA transfer structure (Direct assignment from FI and MM. Movement type used for PGI are 641 & 642.
    Thank you

    Dear Colleagues
    I thank all those who put in thier time and efforts for possible solution for my problem. But I could resolve this issue with help from SAP.
    Basically in costing based COPA the system does not post the cost of goods sold to COPA during goods issue but it is done at the time of posting the invoice since the system wants to see the revenues and the COGS values together.
    Since the system posts the COGS into COPA at the time of invoice posting, you will appreciate that if this is also done during goods
    issue then you will have duplicate entries in your COPA (i.e. the COGS will be doubled).
    If in transaction VL01N/VL02N a costing-based line item would be posted, the costs would be double in CO-PA (the billing and goods issue). For this reason, no costing based line items will be created in the standard R/3 system for transaction VL01N/VL02N.
    If for some reason you still wish to post the COGS to COPA during goods issue you have to do the same thro a modification of the system.In your case you have applied note 214381 for the same. Please note here that movement type '641' is used as an example. For other movement types you will need to code accordingly.
    as per note 337488 point 2. the changes of note 214381 were not required in our case. Therefore we reverted these changes in LKEIIF01 and added the relevant coding for movement type 642 in function COPA_DOCUMENT_CHECK as per note 337488 point 2.
    Looking forward for your continued support
    Regards
    Umesh Gothankar

  • Parked document could not be posted 00 S 349 BSEG-BEWAR

    Hello Friends ,
    Users have parked Journal entries which has vendor , customer and GL line items .
    the documents were getting posted through workflow till sometime back .
    suddenly  , we have started to get the error message as    " Parked document could not be posted 00 S 349 BSEG-BEWAR "
    the BSEG-BEWAR field is missing in the SAPMF0A screen while trying to post.
    Could you please guide me what could be the reason .
    I did search before posting this question ,  but not able to find any relavent ones.
    I am aware of the function configuration using OB41, but not sure if the issue is related to the same.  
    Please assist.
    thanks
    Raghu V

    Hi,
      BEWAR field is Transaction type field. Check whether Transaction type is missing in your document.
    The issue is not related to OB41.
    Regards,
    B. Radhika

  • Billing document can not be posted

    Good night all,.
    We have a problema, we need to define a biling type wich can not be posted, it means, this billing type wont need to execute the option to release to posting document, because will not have any accounting document,. so it will not appear in VFX3 transaction if is not posted.
    Where i define this on the configuratio? inside the billing type customizing? some field define this?
    thanks a lot.
    Regars
    GMS LTDA

    Hi Marcos,
    I feel using Proforma Invoice is not a wise decision. In future, if you want that Billing document to posted to Accounting, it is not possible with Proforma Invoice. Instead you can use any Billing document type for your scenario and you can very well block the Account Posting of that Billing document by doing a Configuration Change in that Billing document type.
    Go to T. Code - VOFA:
    There select your Billing Document Type. In details screen, you can see General Control Section. There is a Checkbox "Posting Block". This Checkbox indicates whether the system blocks automatic transfer of the billing document to accounting.
    To block automatic transfer of the billing document to accounting, mark this checkbox.
    In future, if you want to release this blocked documents, you can manually transfer blocked billing documents to accounting by selecting: (VF02) Billing -> Change -> Release accounting.
    Even you can release many Billing documents using Transaction VFX3.
    Hope this will help you out.
    DRK.

Maybe you are looking for

  • SIT Value and Stock value at storage location level

    HI Can anyone tell me how to get the following: 1. The value of the Stock in Transit on monthly basis 2. The value of the stock at storage location level. The Stock value is correct at      plant level Thanks in advance. Soumen

  • Getting error 0x8100002f while taking backup of windows 7 on external drive.

     I have tried to back up windows 7 back up on external drive. After completing 90% back up i got error 0x8100002f. When i view the details of skipped files there are some files skipped from document, user data as these file are corrupted. I have trie

  • Script to Grant Role for All User Objects.

    Hi DBAs, I have created a select_only role. I need a script to populate that role with all user_objects belonging to one person and eventually grant that role to another person. Perhaps a dynamic sql. Please help. Thanks -Samar-

  • Org.apache.axis2.AxisFault: The service cannot be found for the endpoint

    Hi Team, I'm getting following error while runnig WebServices [ERROR] The service cannot be found for the endpoint reference (EPR) /TestServices/services org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /TestSe

  • Where are my documents?

    I just watched all of my documents in Pages disappear on my iPad, now I'm left with a blank new Pages start-up. Here is what might have happened: I got a new MacBook and downloaded Pages yesterday. Since both of these devices share iCloud, did it rep