Document type codes

Hi, where can my addon read the document type codes from ? I mean the two letter abbreviations e.g. DN for delivery note, RE for return, PD for goods receipt, used in references to documents by an item. These codes are language dependent and I want to make my addon consistent with B1.
Thanks for answer.
Jan

You won't be reading the alpha-numeric values but rather the TransType (Transaction Type)
For Example in table OJDT (the journal table) you would look at field TransType
TransType
15     Delivery
16     Returns
13     A/R Invoice
14     A/R Credit Memo
132     Correction Invoice
20     Goods Receipt PO
21     Goods Returns
18     A/P Invoice
19     A/P Credit Memo
69     Landed Costs
163     Correction AP invoice
25     Deposit
46     Vendor Payment
57     Check for Payment
76     Postdated Deposit
-2     Opening Balance
-3     Closing Balance
30     Journal Entry
58     Stock List
59     Goods Receipt
60     Goods Issue
67     Stock Transfers
68     Work Instructions
162     Material revaluation
-1     All Transactions

Similar Messages

  • Document type KR is not picking to Clear GL account with T-code F-03

    Hi all,
    My client wants to clear GL account Cash-in-Transit which is open item managed. He has posted two items. One is with KR document type like Intercompnay adjustment account debit (40) and Cash-in-Transit account credit (50). Second item is with SA document type like Cash-in-Transit accont debit (40) and Intercompany adjustment account credit (50). He did not give vendor number and appropriate posting key (31) while postings. With document type KR, he posted with posting keys 40 and 50. Now while clearing the GL account through T-code F-03, system is picking only SA document type. The system is not picking document type KR. He wants to clear the items with each other. I have checked the document type settings. Check boxes Intercompany postings and trading partner are active in both above document types.
    How can the GL account be cleared ? Are any configuration settings missing ? Kindly advice as soon as possible.
    Thanks in advance.
    Regards,
    K.S.K

    Hi,
    First of all..why would system need a Exchange gain/Loss Account..If your local currency is INR and you posted a debit and a credit document both in INR..then there is no question of a foreign exchange gain/loss account..
    BUT, if you have posted the document in any currency other than INR, ie: your local currency...then the system would need a exchnage gain/loss account when you try to clear the debits and credits.. i am giving an example below to explain better..
    You posted a debit of 100 USD @ 40 = Rs. 4000.00
    You posted a Credit of 100 USD @ 42 = Rs. 4200.00
    Now, if you clear this debit and credit then there is no difference in 100 USD, as the debit and credit is netting off.. but if you see INR there is a difference of Rs. 200.00 which system posts to Exchange gain/loss account..which we maintain in OB09.
    Hope it is clear to you now..
    Regards,
    SAPFICO.

  • Fbl3n vendor code  issue for RE document type

    Hi
    I entered  in fbl3n t.code GR/IR account number then i execute it shows for document type WE (Goods receipt) assignment no,document no,doc type,doc  date,vendor code.but in RE(Invoice receipt) document type,vendor code only not display all other datas shown,is this possible to dispay vendor code in RE document type.plz suggest
    Regards
    Sam

    First of all you will have to copy the FM SAMPLE_INTERFACE_00001650 to a Z one .
    Then you will have to loop where the offseting account would be blank , then refer the same to BSEG or FAGALFLEXA or Vendor / customer open items .
    Then you will have to pass the values in the fields if already there in structre - RFPOS else append the structure and create new fields in structure .
    This is how you will have to proceed .
    Take the help of an abaper for Code and appending the structure .
    Cheers ,
    Dewang

  • Document type to be set blank in transaction code mr41,mrhr

    Hi,
    I want to set document type and currency field as blank whenever the user go for the transaction MR41 and MRHR. At present whenever user enter transaction MR and MRHR these two fields display some value which is there in memory id, i want to set these field as blank instead of getting the value from memory id. Please help me out if there is any solution.
    Regards
    karan

    Hi,
    Good morning and greetings,
    Go to the transaction Code OBU1 and make the default Document Type for the transaction code MR41 and MRHR as Blank and the system will not propose the Default Document Type for the same...If you dont want the user to use a document type from History disable History in the SAP GUI options...Hope this meets your requirement.
    Please reward points if found useful.
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Stock Transport Order for Intra Company Code Plants (UB Document Type)

    Hi All,
    I have a doubt with respect to Intra Company Code Stock Transport Order (Document Type: UB).
    When you do Post Goods Issue (PGI) with reference to Outbound Delivery, Accounting Document is generated.
    But, when you do Goods Receipt with reference to Outbound Delivery, Accounting Document is not generated.
    I am OK with the Receiving part.
    But, I am not clear about the Issue part.
    Please clarify this doubt.
    Looking for the kind respons from all.
    Thanks & Regards,
    Srinivasa M.S
    +91-7387702227

    Hi Srinivasa,
    In STO, the issuing plant stock is credited and receiving plant stock is debited at the PGI from supplying plant. Then at the receiving plant accounting entry is not generated as the receiving plant stock is already debited at PGI accounting entry in the supplying plant.
    Go through the below SAP documentation,
    http://help.sap.com/saphelp_oil472/helpdata/en/70/23ccfe419311d2ac100000e829fbfe/frameset.htm
    Hope this will solve your issue.

  • 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 Type restirction by company code

    Hi All
    We have a scenario where they are different companies with a group company and DMS is installed in all companies under single client
    While defining Document types, one group company should not be able to view the Document type of another..
    We can give authorisation based on Document types, but they dont even want to see the Doc, type name of the other company while using search option..
    How is the possible?
    Can we differentiate Doc types by company code ?? so that only Doc types specific for one particular company only will be reflected while using F4 , Search option??
    Please suggest
    Regards
    Aby

    Hi,
    There are many authorization objects like C_DRAW_TCD, C_DRAW_TCS, C_DRAW_STA & C_DRAW_DOK, which might be helpful in your case.
    Regards
    Surjit

  • Document Type at Company Code Level

    Hi All,
    I need a clarification with reference to the Number Range for PO Document Type say for NB.
    I am having two company codes which uses different number range against the Document Type NB. As we know the Number Range is client dependent, we must create two document types NB and ZNB (ex) to get digfferent Number Range to be effective.
    I would like to know if any SAP Standard Solutions available without using two document types, controlling the Number Range with reference to Company Code.
    Can any one know how to do this?
    Thanks for the Help,
    Prakash

    Hi
    SAP does not have any standard functionality , but you can use the User exit / Enhancement
    MM06E003
    Number range and document number
    function exit - EXIT_SAPMM06E_001
    in this you can write the logic for derivation of number range based on the Compnay code.
    Maintain the Combintaion in a Z table. & derive the number range group from the table.
    This is a well used user exit,
    Thanks & Regards
    Kishore

  • When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet. Example- MIME-Version: 1.0 X-Document-Type: Workbook Content-Type: multipart/related; boundary="====Boundary===="

    I have a Macbook Air. I have MS office installed and work in Excel often with no issues. But When I download an excel spread sheet from a Ford web site I seem to be getting code and not the work sheet.
    Example-
    MIME-Version: 1.0
    X-Document-Type: Workbook
    Content-Type: multipart/related; boundary="====Boundary===="
    --====Boundary====
    Content-Location: file:///C:/HOLD.XHT
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta name="Excel Workbook Frameset">
    <xml>
    <x:ExcelWorkbook>
      <x:ExcelWorksheets>
       <x:ExcelWorksheet>
        <x:Name>BTB</x:Name>
        <x:WorksheetSource HRef="./IBIT0001.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>GSM</x:Name>
        <x:WorksheetSource HRef="./IBIT0002.xht"/>
       </x:ExcelWorksheet>
       <x:ExcelWorksheet>
        <x:Name>RODetail</x:Name>
        <x:WorksheetSource HRef="./IBIT0003.xht"/>
       </x:ExcelWorksheet>
      </x:ExcelWorksheets>
    </x:ExcelWorkbook>
    </xml>
    </HEAD>
    </HTML>
    --====Boundary====
    Content-Location: file:///C:/IBIT0001.xht
    Content-Transfer-Encoding: 8bit
    Content-Type: text/html; charset="utf-8"
    <html xmlns:v="urn:schemas-microsoft-com:vml"
    xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns="http://www.w3.org/TR/REC-html40">
    <HEAD>
    <meta http-equiv=Content-Type content="text/html; charset=utf-8">
    <style>
    <!--table
            {mso-displayed-decimal-separator:"\.";
            mso-displayed-thousand-separator:"\,";}
    @page
            {margin:1.0in .75in 1.0in .75in;
            mso-header-margin:.5in;
            mso-footer-margin:.5in;
            mso-page-orientation:landscape;}
    tr
            {mso-height-source:auto;}
    col
            {mso-width-source:auto;}
    br
            {mso-data-placement:same-cell;}
    .style21
            {color:blue;
            font-size:10.0pt;
            font-weight:400;
            font-style:normal;
            text-decoration:underline;
            text-underline-style:single;
            font-family:Arial;

    Try search/ask in the forum devoted entirely to Excel issues:
    http://answers.microsoft.com/en-us/mac/forum/macexcel

  • Prevent cross-company code postings for certain document type

    Hi all!
    I am looking for a possibility to prevent users from posting a "cross-company code posting" just for a certain document type.
    I checked validation rules and BTEs but without success. Do you have an idea?
    Thanks for any support.
    Michael

    Thanks for your reply. I have already tried to use a validation rule, but without success.
    It did not work as the relevant field "New company code" (NEWBK) in not part of BKPF or BSEG, but (only) of structure RF05A. Thus, I cannot use the field in a validation rule.
    Or is there a way to make RF05A fields available for use in validation rules?
    Regards, Michael

  • Different Document types under one company code

    Hi All,
    I am working on a project where i have to implement SAP PS in 3 Company codes.
    I have a requirement that Different number ranges should be used in different codes for creating PRs.
    In OPTT,order category 20 is used with NB,here i can change 1 Document type.Is it possible in std SAP to create different Order cat for 20 and then we can link diff document types for diff order cat of type 20.
    Regards
    Muzamil

    Hi,
    The assignment of the PR document type in Account assignment is only one is possible you cant assign multiple document type here.
    The Automatic PR raised from the PS is only one assignment is possible,so you can inform your MM consultant to create the seperate document type say ex ZNB-- PR for the Project which is common for all the three company code & assign this with the PR assignment in account assignmet filed.
    Regards,
    Raj

  • FI Number Range Number by Document Type -- different by company code

    In transaction <b>OBA7</b>, I assign a <b>number range number</b> (T003-NUMKR) to each FI Document Type. 
    We have over 40 company codes on SAP.  One of those 40 company codes requires sequential numbering of FI documents for the whole company code across all document types.  The other company codes require different FI number ranges based upon document type.
    I need to identify a solution where I can assign a different <b>number range number</b> by document type for different company codes.
    For instance, company code IT01 should use a single <b>number range number</b> for all FI documents -- i.e. RV, SA, AB, etc. Then, all other company codes should use a different <b>number range number</b> for each document type.
    Any ideas here?  My problem company code is in Italy where our accountants tell us all FI Documents must be sequential, without gaps.

    Hi Colin,
               The point is that it is about journal<b>s</b>
               Sales Journal = Doc type RV
                Cash Sales Journal = Doc Type DR or have RV&DR use the same number range.
                 For clearing you will have to create new doc types eg.
                        AB = GL Clearing
                        KB = Creditor clearing
                        DB = Debitor clearing
    The existing companies will also have to use these since these defaults are set in customising, but you have clearly defined Journals that comply with the requirements
    It is probable that you will need additional doc types,to ensure compliance. In my case all creditor invoices used Doc type KR/KG (SAP Standard and they use the same number range), for the Italian company i then had:-
                     KR/KG = Domestic Purchase Journal
                    New Doc Type = EU Purchase Journal
         etc.
    Kind regards

  • Document types for late entry using bar code

    Hi,
    We want to enable bar codes for Delivery document types for late
    archiving.
    We got the same for slaes order type in below mentioned path
    SPRO --> Sales and Distribution --> Data transfer and Archiving -->
    Assign document type --> Document types for late entry using bar code
    or Transaction code VNOP.
    We want similar transaction for delivery document type i.e. LF also so
    that we can assign archive document type for the same.
    Thanks,
    Preethish

    Hi Alex,
    For Character devices, you have to use SAPConsole. 
    For GUI devices if you want to use online, it should be ITSMobile(Earlier this was WebSAPConsole).
    Thanks.
    with regards,
    Muthu Ganapathy.

  • Number Range for PO based on company code and document type

    Dear All,
    I've a requirement to assign a separate purchase order Number Range for a company code for the following document types.
    ZNB         Standard PO   
    ZRB         Return PO
    ZUB         Stock transport ord. 
    ZLPA       Scheduling agreement 
    ZLU         Transp. sched. agmt.
    (Number Ranges are different for each of the doc types mentioned above)
    Is it something like I've to create 5 different Number Range objects and then provide the condition in the corresponding user exit , so that the appropriate document could pick its corresponding Number range.
    Does anyone have any specific advice / experience on this , I am new to SAP and please advise me as how to go about this requirement. Thanks !!
    Srinivas G.

    Create the five different number ranges via configuration the configuration for PO.  Usually a user exit is not needed.  You've really posted in the wrong forum.
    There is a lot of work involved in creating a different PO types.  It is usually done in materials management.
    If everything is done:
    In spro go to materials management -> purchase order -> define number ranges.
    Once they are defined they should work automatically or be entered manually depending on how your number range is set up.
    Edited by: Michelle Crapo on Aug 3, 2009 3:07 PM

  • Document type in Code Coloring  preference

    Edit, preference in Dreamweaver MX 2004, under code coloring
    category, I can't see the various document type in Machine A but I
    can see ASP JavaScript, PHP, Cold Fusion etc in Machine B, do
    anybody know why????Configuration problem???
    How do I get it back????Pls help

    It sounds like you may have some missing or corrupted
    Configuration
    files in the CodeColoring and DocumentType sub-folders.
    Start by disabling any extensions that you have installed.
    After that,
    the easiest solution is probably to uninstall/reinstall.
    HTH,
    Randy
    > Edit, preference in Dreamweaver MX 2004, under code
    coloring category, I can't
    > see the various document type in Machine A but I can see
    ASP JavaScript, PHP,
    > Cold Fusion etc in Machine B, do anybody know
    why????Configuration problem???

Maybe you are looking for

  • Deleted Items recovery in Outlook question

    I recently implemented a policy to users deleted items boxes via Exchange Server 2007.  I applied this policy to just a few users to test it out and all appears to working well.  The policy is set to delete any items that hit the deleted items folder

  • How to rename a column name in a table? Thanks first!

    I tried to drop a column age from table student by writing the following in the sql plus environment as : SQL> alter table student drop column age ; but I found the following error ORA-00905: 缺少关键字 (Lack of Key word) I have oracle enterprise edition

  • Thunderbolt Display USB ports not working after 1.2 firmware update

    I installed the Thunderbolt Display Firmware Update 1.2 a few days back, and following that update, the USB ports on my display have stopped working completely. The display's Thunderbolt port and Ethernet jacks are working fine, as is the Thunderbolt

  • Calling function in before insert trigger

    HELLO, **TRIGGER IS NOT DISPLAYING THE DATA ACCURATELY** **PLZ HELP ITS URGENT...** THE CODE IS BELOW..... create or replace TRIGGER GENSTUDYID BEFORE INSERT ON ER_PATPROT REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW DECLARE      lPatStudyID varcha

  • Auto clear cookies greyed out

    Under tools, options, privacy, I changed the history to use custom settings, but the option to clear cookies when Firefox closes is greyed out and not usable.