Document title based on document category

hai all,
what is the field to display document title in invoice which should be displayed based on vbrk-vbtyp.
how to display description for freight terms based on vbrp

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.

Similar Messages

  • Displaying document title based on category

    hai all,
    i want display document title based on document category, what is the field to display doc title for invoice
    description of freight terms should be displayed based on vbrp-kvgr1, i am not able to find the field
    Edited by: kpsgoutam on Aug 27, 2009 2:56 PM
    Edited by: kpsgoutam on Aug 27, 2009 3:03 PM

    you can use either SPQuery to filter your list or Keyword query to search this specific library or
    instead of creating custom webpart use content by search webpart 
    edit the query and add the below query 
    (contentclass:STS_ListItem OR IsDocument:True) ListID:{5512071B-936A-4286-8C5A-AC2EB969306D}
    Your_category_managed_property:'category A'
    change the item display template to display path as the link
    Hope that helps|Amr Fouad|MCTS,MCPD sharePoint 2010

  • Update routine to populate value for field ZDOCCATG(Document category)

    Hi Experts,
       I need to populate  data for field ZDOCCATG(Document Category) based on the value of the below  two fields,
    1. 0deb_cre_lc(Debit / credit Amount)
    2. 0ac_doc_typ(Belegart)
    The logic is as follows:
    if 0deb_cre_lc > '0'.
         if 0ac_doc_typ == 'dz'.
          ZDOCCATG = Disputes.
         else
      ZDOCCATG = Invoices.
       end If.
    else
    if 0ac_doc_typ < '0'.
    ZDOCCATG = Credits.
    end if.
    I need to write the update routine to get the values assigned for Document category based on these two fields. When i open the routine for the field ZDOCCATG, i can see the below screen:
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine
      RESULT = .
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Please let me know the code to be inserted (based on the logic mentioned above) in the above screen . Thanks
    Regards,
    Kavitha Jagannath

    Hi Kavitha,
          Supposing the technical name of fields is /bic/0deb_cre_lc and /bic/0ac_doc_typ use the code below at the marked position.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    $$ end of global - insert your declaration only before this line -
    FORM compute_data_field
    TABLES MONITOR STRUCTURE RSMONITOR "user defined monitoring
    USING COMM_STRUCTURE LIKE /BIC/CS80FIAR_O03 - (Communication structure)
    RECORD_NO LIKE SY-TABIX
    RECORD_ALL LIKE SY-TABIX
    SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
    CHANGING RESULT LIKE /BIC/AZOARFSCM00-/BIC/ZDOCCATG
    RETURNCODE LIKE SY-SUBRC "Do not use!
    ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line -
    fill the internal table "MONITOR", to make monitor entries
    result value of the routine                 
    <----- Paste the code below as shown here --->
    if comm_structure-/bic/0deb_cre_lc > 0.
      if comm_structure-/bic/0ac_doc_typ == 'DZ'.
       result = 'DISPUTES'.
      else
       result = 'INVOICES'.
      endIf.
    elseif comm_structure-/bic/0deb_cre_lc < 0.
      result = 'CREDITS'.
    end if.
    <----
    >
    if abort is not equal zero, the update process will be canceled
    ABORT = 0.
    $$ end of routine - insert your code only before this line -
    ENDFORM.
    Regards:
    Jitendra
    Edited by: Jitendra Gupta on Oct 15, 2009 3:05 PM

  • 0DOC_CATEGR-Sales Document Category of Reference Doc. in Order Header

    Hi,
    I am extracting the standard datasource for Sales Order Header 2Lis_11_VAHDR to BW.I am getting error while loading data.I checked it in PSA there are around 30 records which were showing the error with the message
    "Record 985 :Contents M from field VGTYP_AK(mapped to 0DOC_CATEGR) cannot be converted in type DEC ->longtext RSAR 198" and
    "Error in an arithmetic operation in record 985     RSAR117".
    I am not getting this error while loading the Order Item Data.
    'M' is the Document Category of Reference Doc. in Order Header.For sales document type "RE".
    In R/3 the reference was taken on Inv.No instead of Order number and also there is a User Exit written on MV45AFZZ program to check the referred quantities and also zero quantiity lines in case of back split.
    As there is no customization done in BW and the only customization was in terms of an User Exit in R/3 please let me know what is the reason of this error.
    Thanks in advance.
    Venkat

    Hi Venkat,
    Assume the data mapping in transfer rule and update rule is correct
    Maybe you can check the info object definition of 0DOC_CATEGR in your system. Based on the error message you mentioned below, it looks like 'data type' of the object concerned is NUMC? In our system it is CHAR (standard BC)...
    Regards,
    Lilly

  • DMS BAPI_DOCUMENT_CREATE2 Class type Technical Document Category, object ty

    Hello Experts!
    The problem is that DMS import functionality stoped working after supp. pack implementation.
    The process is based on BAPI_DOCUMENT_CREATE2 functionality.
    The first problem was an error "The status set requires a previous status" which was causes dy note 1157678
    (http://wiki.sdn.sap.com/wiki/display/PLM/Error-Thestatussetrequiresapreviousstatus)
    After setting break point/de-implementing that note additional error appeared:
    "Class type Technical Document Category, object ty"
    Does anyone have idea what caused the problem, or which sap note did that? before SP19 implementation that error was not displayed.
    Current highest support package is SAPKH60403.
    Thanks in advance for help,
    Rgds,
    LB

    Hi,
    That error refers to updating characteristics for classification (addnl data tab in DIR).
    Does anyone know what could cause the problem after support pack implementation?
    Is it possible that bapi_document_create2 > api_document_maintain2 disables an option to update classification?

  • New document category (0DOC_CATEG) for SD's Cubes

    Hi Folks
    I have a question, how can i create a new document category? You see, i have a cube (copy fromo 0SD_C03), but only with data from 2LIS_13_VDITM infosource, because only need billing information; with this cube i need to separate Returns, standar SAP BW credit memo (0DOC_CATEG="O") includes credit memos and returns so i need to separete them. Is possible create a new document category??
    Thanks in advance....

    Hi,
    As the record does not distinguish between credit memos and returns how do you identify the return? when you say a new document category do you mean to create one in the source system (R/3), if so then you would need to talk to the SD consultant responsible for R/3 if it is possible to do it.
    Secondly if you are able to identify returns based on some other field/Infoobject in the record then you could add a Flag in the Infocube and populate that based on the logic in update routine.
    Hope it helps.
    Cheers
    Anurag
    .......and don't forget to assign points if it helps.....

  • Conversion from 4.6C to ECC 6.0 issue with Sales Document Category K

    Hello.
         My company is upgrading from a 4.6C system to an SAP ECC 6.0. We have batch management on for all materials. There was a bug in SAP 4.6C which allowed the creation of a Credit memo request, (SD Document Category H), and the user did not have to enter a valid batch as part of the creation process using VA01. The batch checking was skipped. This was not realized until the process failed in testing for ECC 6.0. These types of documents are create manually and via IDOC's.
         ECC 6.0 contains the fix for the bug and the check is now being invoked for batches OSS Note 740397 describes the bug and fix. Is there a way using configuration to have the batch check be turned off during credit memo request creation? In debugging the code this does not seems possible. It appears from the abap code this is not possible and based upon the Category H a batch is required. Just checking.
         I have change the SD Document Category to H*(Returns) and the Screen Sequence to be RE(Returns). The user and the IDOC can now enter existing batches and non existing batches. The problem now is the processing of the  Orders IDOC is somehow not storing the quantity. I have debugged the IDOC processing, the IDOC is using call transaction, and I see the quantity is to be populated in the properly in the BDC table used by the call transcation. Yet it is not on the return delivery once the IDOC processes.  Any idea why or which field from the IDOC should be populated? I am assuming that the processing of the Credit memo request and the Return is different from an IDOC perspective and will require different fields to be populated. Not sure just a thought.
         Any help would be greatly appreciated.
    Regards,
    Bob

    Hi Mani,
    As long as it is a warning u dont need to worry.Check if the search help is working
    Regards,
    Amit

  • Document Category Error while creating PO

    Hi All,
    When I am creating PO with reference to contract system gives error that "Document type MK is not assigned to document category "F"  I am not aware of assignment of document category to document type. Please can anyone tell me where to assign the same.

    Hi,
    Check if you have renamed any of the item categories in  Define External Representation of Item Categories..
    I doubt there is a standard Item category such as "F"
    You need to check the definition for Document Type under Contract and ensure that "F" is also one of the allowed item categories under document type MK.
    MM- Purchasing- Contract - Define document types
    Thanks & Regards
    Merwyn

  • Document doesn't have document category C in follow up document

    Hi,
    I have created a Return order in Services, Now on the Return order i have a requirement to create a follow up document in case of warranty,1st either we can issue a credit Note Or we can make a subsequent delivery free of charge on the same Return order, how ever when the follow up document is created it gives an error Document category is not C,but when the order is created individualy means without any preceding document subsequent deliver or credit memo both the orders are succesfully replicated.
    I tried to get the category which was maintained as 'H' for subsequent delivery to "C" even after that the error is still coming the same error is coming for both the follow up documents .
    Please suggest the same.
    Message no. CRM_ORDER_MISC 020
    Transmission log
    Document 5000044 doesn't have document category C but (Notification E V2 068)
    Sales document 0000080051 was not changed (Notification E V4 219)
    Regards
    Nikhil Chugh

    Hi,
    from crmfiltab
    I get the message only when creating the return as a follow-up. Both the sales order and return replicate without error if I create them separately.
    regards Camilla

  • MIRO - Vendor not changed after change Reference Document Category option

    Hi,
    When are doing MIRO, under PO referance tab --> Reference Document Category --> select Purchase order / Schedulling Agreement option and enter PO number there, then it's line item shows. Other thing is that Vendor of that PO (XYZ) should show in the screen.
    My problem is that when we are changing the Purchase order / Schedulling Agreement option to Delivery Note, the vendor remains same...means same as PO Vendor (XYZ).
    Note: - Same problem in the changing the Delivery Note option to Purchase order / Schedulling Agreement.
    please help...
    Regards...

    We are using ECC 6.0 and we have this functionality.
    I want to clear you that this is happening is some cases not in all.. Most of the cases, it automatically changed the Vendor data...
    plz. tell now...
    Edited by: @ABAP@ on Aug 27, 2009 4:18 PM

  • Document category name for Standard Invoice is in disable mode ples urger!!

    Hi All,
    when i am creating the invoice in invoice work the document category is in disable mode. I did all the required setups but it is not allow me to enter document category.
    Version is 11.5
    Regards,
    Raju.
    Edited by: 956206 on Sep 5, 2012 3:34 AM

    Hello.
    From the User Manual:
    Method:
    Select the method that your documents are entered, automatic or manual.
    -Automatic is when a concurrent process (e.g., an external program) enters transaction data into an Oracle Application, which generates documents.
    -Manual is when a document is manually entered using a form in an application.
    Octavio

  • Document Category not being generated Automatically for AR transaction type

    Hi,
    we have defined some transaction type in AR. But the corresponding document category is not being automatically generated
    Kindly help

    This doesn't look feasible, the only issue I ever encountered with this was the document category not being updated if the transaction type was updated. Maybe the customer has some custom triggers which are preventing the record from being inserted into FND tables. You can easily debug this by opening the form and testing in a TEST environment.

  • Where to find the document category in oracle purchasing for existing attachments?

    Where to find the document category in oracle purchasing for existing attachments and also how to create a new category?

    Hi Sanjay,
    We are looking to add the below 3 marked document categories to Purchasing.
    But here the application is for order management, how can we use them for purchasing?

  • How to get SD Document Category

    Hello Friends,
    I am not a functional guy and so am having problem in knowing how SD Document Category is related to a customer.
    I have details like customer, sales organization, distribution channel, division inco terms etc.,
    I have to create a quote from a program outside of SAP. I am able to send all the data needed to create a quote except for 'SD Document Category'.
    Is there a way to search for this using the info that I have as mentioned above.
    I tried tables like VBUK, VBAK, VBKA, BVKD etc., but these are in no way related to customer etc., which I can use as keys to search for the right SD document category.
    Any help will be greatly appreciated.
    Thanks
    Ram

    Hi ,
    I am not in front of SAP, still suggestion is to check following tables:
    VBAKUK VBAK + VBUK
    VBUK Header Status and Administrative Data
    VBAK Sales Document u2013 General Header Data
    VBKA Sales Activities
    VBKD Sales Document - Business Header/Item Data
    VBPA Sales Document - Partners Header Data
    VBUP Item Status
    VBPA Sales Document u2013 Partner Item Data
    VBAP Sales Document u2013 General Item Data
    FPLA sales Document u2013 Items Conditions data
    VBFA Document Flow
    VBEP Sales Document Schedule Line
    VBBE Sales Requirements: Individual Records
    VEDA Sales Contract Data
    VBELN Sales and Distribution Document Number
    If you know where is doc catagory field , go and press F1 on it and then go in technical settings .
    Here you can get table and fields name.
    If you get field name , just do where use list of it . you will get the table.
    Hope it help you.

  • Document category changes to credit from returns

    hi,
    we have changed the document type category from that of the returns to the credit memo request and modified the order related billing type.
    When we wanted to move changes to the production, we see that there are 2500 documents lying with some delivery created and some with open orders;
    can any one suggest the best way of handling this situation;

    Hi,
    Changing the document category for a document type when it is in use in production is never recommended. The reason being, when category of the document type changes, there are a lot of effects on the system especially on the VBFA table. The already lying documents may have a problem as you will have created delivries for the same and you many not be able to take it any futher as the document is now order related billing (with new config moving into config) and not delivery related billing.
    So, the best way to handle this kind of a situation are
    a. Bill all the delivery that are pending in production. In case the situation does not allow, then, try to reverse the delivery and delete it.
    b. Complete all the open sales orders in production. Else delete them.
    c. After a and b are complete, you can move the document type into Production.
    Alll these activities are to be completed on a non working day (preferably Sunday) so that no new documents get created. You can block all the user authoriztion for some time so that you can achieve the results...
    However, the word of caution before moving the new config: IF you move the new config, you cannot reverse the old documents any more....
    Hope this helps...
    Thanks
    Mukund S

  • Change Document category of preceding SD document in VBFA

    Hi all,
    is there a fm to change the Document category of preceding SD document in the table VBFA?
    And also in table VBAP?
    regards

    hi,
    please check this
    fetching preceding documents from VBFA by passing subsequent document
    try to use this FM WB2_VBFA_ARRAY_READ
    thanks

Maybe you are looking for

  • IPod won't hold charge anymore

    Okay so I posted before under a bugmenot account, I didn't realize I wasn't logged into this one. Here is the deal with my iPod. I purchased my iPod on 01/07/07. I was trying to use my iPod with my laptop that uses Microsoft Vista. I installed iTunes

  • B520 and Windows 8

    Hi.  So I upgraded to Windows 8 but I am missing drivers.  First the Compal Systems Management driver is missing, the TV Tuner card drivers are missing, the Audio Drivers are missing, the graphics driver I can download from Nvidia, and so forth.  Sin

  • OSX Lion doesn't send mail but save it in the draft

    I have upgraded OSX Leopard to Lion and I have this strange problem. I have 4 business mail account and all receive mail correctly one of them doesn' send the email. I can edit the message, and when i press send, the message disappear, nothing happen

  • Only 1/2 the files add to library

    New to itunes. Have an existing 3500 song mp3 folder of songs. When I add the folder to the iTunes library only ~1500 songs show up. No errors or other indications of a failure appear. Any suggestions as to what might keep a song/file from being adde

  • [Solved] latest filesystem upgrade failed

    During last system upgrade ( pacman -Syu ),when upgrading filesystem-2011.08-1, the system hang for a while,  then pacman exit with some segfault error I tried to fix it by typing ` pacman -Syu ` again, then got another error when upgrading linux-3.0