Characteristics in PA Document

Dears,
We have utilized the Customer Group4 (Field TVV4-KVGR4) and need to get it updated as characteristics in PA document.
The field mapping is done correctly in the COPA settings. But still the Customer group4 is not getting updated in the PA document.
Where as Customer Group2 (Field TVV2-KVGR2) is getting updated and this we did very long back.  All the config. in COPA for KVGR4 is similar to KVGR2 and we have KVGR2 getting updated, but not KVGR4. Any idea or where to check why the Customer Group4 is not getting updated in the PA document, or should we use any user exit for the same.
Thanks & Regards,
Ram

Hi ,
For this you need to use use exits.I am not sure which exit will work for this scenario,but for moving the fileds from one table to another we have some moving exits as shown in below.
USEREXIT_MOVE_FIELD_TO_VBAK
USEREXIT_MOVE_FIELD_TO_VBAP ...etc
Pls check with your abaper to find the correct exit for the same.
Regards,
Pasapula.

Similar Messages

  • How to update characteristics of DMS document

    Hello, I have a requirement to update characteristics right after document creation.
    I use BAPI_DOCUMENT_CREATE2 to create the document:
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
         EXPORTING
           documentdata    = ls_doc
         IMPORTING
           documenttype    = lv_document_type
           documentnumber  = lv_document_number
           documentpart    = lv_document_part
           documentversion = lv_document_version
           return          = ls_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
    wait = abap_true.
    And then when I try to change it:
    CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
         EXPORTING
           documenttype         = iv_document_type
           documentnumber       = cv_document_number
           documentpart         = iv_document_part
           documentversion      = iv_document_version
           documentdata         = ls_document_data
           documentdatax        = ls_document_data_x
         IMPORTING
           return               = ls_return
         TABLES
           classallocations     = lt_cl_alloc
           characteristicvalues = lt_char.
    The following error is raised: Object TYPE/NUMBER/PART/VERSION does not exist.
    I pass the type, number, part and version right from BAPI_DOCUMENT_CREATE into corresponding arguments for the second call, and into documentdata fields as well. ClassAllocations table contains a single row with class type and name for characteristics in CharacteristicValues table.
    Could you suggest me, what can be wrong here?

    I found a solution for my problem. In a short, everything is OK except one thing:
    Field STATUS=1 should be also filled in CLASSALLOCATIONS table in addition to CLASSTYPE and CLASSNAME.
    In total I had to make my call conform to the following points:
    Document type, number, version and part must be filled into DOCUMENTDATA structure and not only in direct parameters of the BAPI
    CHARACTERISTICSVALUES must include class name and class type, these can be found from tcode CL03
    CLASSALLOCATIONS must include the same CLASSNAME and CLASSTYPE as from previous point, plus STATUS field set to «1»

  • Problem with Change Document FM  - Not all fields are tracked in CDPOS

    Hello everybody,
    Using transaction SCDO and following necessary steps described in forum, I have created a change document ZFBR to track changes of a table ZFBR. The problem is, the generated FM ZFBR_WRITE_DOCUMENT does not track changes of some fields of the table (inserts are always ok, problem is with updates). After some debugging I realized that the FM DDIF_NAMETAB_GET was returning the table DFIES_TAB where the LOGFLAG was empty for some fields (which are not tracked) so that changes of these fields were not visible in table CDPOS. However, fields with LOGFLAG = 'X' are tracked succesfully (changes are visible in table CDPOS).
    I did not specify any fields to be get logged or not during the steps in SCDO (can we do such a specification anywhere?), does anyone know why the field LOGFLAG has the value '' (space)?
    Best regards;
    Ozcan.

    Hi again,
    The problem has been solved.
    The data elements used in a table are the reason for the problem I have described above. When displaying the details of a data element, under tab "Further Characteristics" , the "Change Document" checkbox has to be selected to enable change document tracking. I have copied the problematic data elements with Z prefix and made the necessary enabling. I have replaced the data elements with their Z equivalents.
    Best regards.
    Ozcan.

  • 2LIS_02_SCL: goods receipt and invoice document number

    Hi,
    the BI Content documentation for the [Purchasing Data (Schedule Line Level) (2LIS_02_SCL)|http://help.sap.com/saphelp_nw04/helpdata/en/8d/bc383fe58d5900e10000000a114084/frameset.htm] DataSource reads:
    The DataSource also provides information about the documents that are posted with regard to the purchase order, such as goods receipts and invoices.
    The point is: where are the documents' numbers ?
    When I test the extraction, I get the expected number of records, provided that those records with ROCANCEL=X (cancellation of Data Record) are taken into account.
    For example, for a Purchase Order (PO) Schedule Line that has 3 Goods Receipts (GR) and 1 Invoce (IR), I get:
    - 1 record with BWVORG=1 (SAP BW - Transaction Key) and ROCANCEL blank, for the PO document;
    - 6 records for the 3 GR documents (BWVORG=2);
    - 2 records for the 2 IR documents (BWVORG=3).
    Therefore the DataSource provides the needed level of granularity. Just the field I need is missing, i.e. BELNR!  Is there any trick to get it or the only way out is enhancing the DataSource?
    Thanks, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari]
    Edited by: Davide Cavallari on Jan 18, 2008 5:38 PM

    I think I would choose the option that takes advantage of 3 DataSources:
    - 2LIS_02_SGR, for GR number;
    - 2LIS_06_INV, for IV number;
    - 0FI_GL_4, for document amount, as well as some other informative characteristics, such as document type (useful when the document is an invoice), referred document (the field that contains the supplier's document number), document date, posting date
    The Logistic DataSources would basically provide the link between GR and IV, while the General Ledger DataSource would provide the financial information.
    In fact an analysis for controlling purchase expenditures at a detailed level is required. Not just a simple analysis of expenses for vendor, or even purchase document, but for any financial document posted to the General Ledger. This analysis has sort of a financial perspective. Probably it's not the kind of strategic analysis best suited to BI. It has a more tactical, operational nature. And maybe BI is not the best platform for developing this kind of application.
    Anyway, if you have better ideas or any suggestion on this topic, please feel free to comment!
    Cheers, [Davide|https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari|My wiki profile]
    Edited by: Davide Cavallari on Jan 19, 2008  8:16 PM

  • COPA document not generated though after billing and accounting generations

    I have an issue with one instant.
    For some reason COPA document is not generated even though billing and accounting document were created. Found no errors in simulation using KE4ST. The billing item details has all the PA segment characteristics.
    COPA documents were created for entries made befor and after this particular one.
    Also we have COPA documents for the product with the same customer and different customers.
    Our system is 'SAP ERP Central Component 5.0'

    Thanks Ajay for the quick response.
    Cost element category is correctly maintained.
    Condition types are mapped.
    COPA is in use for more than 4 years.
    Able to simulate COPA document for the Billing document without errors.
    We do have COPA documents created before and after this particular transaction.
    As you said raising OSS message with SAP.
    Thanks

  • BPS Web Interface don't show multiple documents for each cell

    Hi gurus,
    I have an issue... we are trying use text documents from BPS on the WEB interface. Everything works fine, I can input text documents on each cell on the web, and from Query as well.
    I saved several other documents from the query for the very same cell, and I can see these other documents from BPS itself or from the Query by clicking on the title... but on BPS WEB interface, it shows only the last text document saved.
    Is there anything wrong on the configuration, or is it possible for the WEB interface to show the titles so that the user can choose which document he wants to open?
    Thanks in advance,
    Chen

    Hi Luke,
    did you check whether the document attributes are generated for your Characteristics?
    AWB -> Documents -> Administration -> Generated Properties
    There is also a SAP Note 431126, which you might want to consult.
    Regards,
    Eric

  • Documents in RSA1 how to mass dowload or copy in background

    Hello, i ´would like to know if it´s possible to dowload the documents created throught RSA1-Documents in BW, in Infoprovider data for example, in background.
    What i need is to do it´s a mass download accordind to some characteristics of the documents. Is there any FM or Bapi to dowload the documents to the application server ?
    What we need is to copy the documents but changing one of it´s properties. Any idea ?
    Thanks in advance for your suggestions,
    Jcasas

    Hello, i ´would like to know if it´s possible to dowload the documents created throught RSA1-Documents in BW, in Infoprovider data for example, in background.
    What i need is to do it´s a mass download accordind to some characteristics of the documents. Is there any FM or Bapi to dowload the documents to the application server ?
    What we need is to copy the documents but changing one of it´s properties. Any idea ?
    Thanks in advance for your suggestions,
    Jcasas

  • How to use formula variable to calculate the days for a document.

    Hi expert.
    I have a question, I need to calculate how many days it cost for a document, therefore , it should be like this,
    cost days = clearing date - creation date..
    how can I implement this calculated key figure by formula variable..
    Here cost days should be a key figure, but the clearing date and creation date are the characteristics in the document.
    it seems that formula variable by replacement path can not be used, do I have to use the customer exit for this variable ??
    any other good ways to calculate the cost days (beside during the data loading or by virtual key figure).
    I just want to implement this in the query designer..
    Please give a detailed steps if you could,  thanks a lot.

    Hi,
    These steps below are for the query designer in BI 7.0:
    1. First create a Formula in the Columns.
    2. Edit the formula, in the "Available Operands" see for the "Formula Variable".
    3. Right Click on the "Formula Variable" folder and then create a new variable.
    4. Edi the Formula Variable in the edit screen provide the Description and Technical name; select the processing by as Replacement path.
    5. In the reference characteristic select your characteristic "Creation Date".
    6. Save the variable.
    7. Select the variable into the formula and name the formula as Creation Date.
    Repeat the Same steps for the "Clearing Date".
    Then create another formula for the Cost days in which you mention as Clearing date (Formula) - Creation Date (Formula).
    Hope your issue is solved...
    Regards,
    Ravi Kanth

  • Recording change in characteristics

    Hi All,
    I have characteristics in a document. Can we track changes of the characteristics?
    I am preparing a report in BW of the documents created through Easy DMS. Does anyone has data model showing tables and their relationships?
    thanks and regards,
    Vikas

    Hi Badri,
    Thanks for the information.
    I have activated change management in configuration for document type in tcode DC10 as well as for the class type 017.
    Still in the classification screen of the document, the following fields are not active in Environment menu:
    Change Number
    Change Overview
    Change Document
    Can you tell me how to activate this? I cannot see the change in the characteristics and its values.
    thanks,
    Vikas

  • Document management doubt

    Hi, all
    1.I have created a document by using  transaction CV01N as
    document:99
    document type:WRP
    document part:000
    document version :00
    in this above document wrote as text to 1.accuracy 2.quality 3.delivery
    2  Transaction code CT04 : created characteristics as follows
    a) accuracy
    b) quality
    c) delivery 
    while creating characteristics i selected document screen & filled relevant created document  data  which is in point 1
    3. Transaction code CL02 : CLASS NAME : INST
    i assigned all above charactertics to class name INST.
    4. Linking document to material master or vendor master
    By  using MM01-- additional data icon-- document data - here i am trying to assign my document which i have created at point 1, but its goes to classification screen & if i choose any one of characteristics  its not appearing in material master record.  please tell me how to get my document to material record
    the above same problem occuring me at xk01 also
    plz tell where i am going wrong ?
    thanking you in advance

    Hi sir ,
    thanks for your advice, i felt my doubt also relates to SAP-MM problem so posted. because  while doing MM01 we need to attach our doc.
    Regards
    Badaripro

  • Notification for Document

    Hello Champs,
    I m having a requirement regarding DMS. i want to create a document with a document life mean after a specified time document will archive itself or some things is there that should alert to creater, approver, or owner of document (via email) about document life i.e. getting expire.
    so gurus please suggest me about this logic if something is there related to notification in DMS.
    Thanks
    Girish Goyal

    Dear G. Goyal
    Please check if this helps you.
    Maintain a characteristics for a document called Expiry Date  With Format as Date format.
    This will specify the expiry data of the document you have created.
    Create a program and schedule it periodically say daily at 00.00 Hrs  to check the the date periodically. If expiry date has to intimated to user prior a week before the this program will send an email or workflow to users inbox .
    this is the easiest way.
    With Regards
    Mangesh Pande

  • DMS Workflow / Characteristics

    Hello Experts,
    I am creating a dms approval worfklow and I need to access information that is stored in the characteristics of a document object. Does anybody know how I can do this?
    I tried to add characteristics in the container however that did not solve my problem.
    Can anybody help?
    Thanks
    Ismail

    Thanks Pavan. That was really helpful.
    That's the flow i was looking.
    Well this workflow is actually triggered when the status is changed to released.
    For doing so I'm checking for the condition for Document Type.
    IF OBJECT-KEY-DocumentType = 'XXX'.
       CALL FUNCTION 'BAPI_DOCUMENT_GETSTATUS'
         EXPORTING
           DOCUMENTVERSION   = OBJECT-KEY-DOCUMENTVERSION
           DOCUMENTPART      = OBJECT-KEY-DOCUMENTPART
           DOCUMENTNUMBER    = OBJECT-KEY-DOCUMENTNUMBER
           DOCUMENTTYPE      = OBJECT-KEY-DOCUMENTTYPE
         IMPORTING
           RETURN            = RETURN
           STATUSDESCRIPTION = STATUSDESCRIPTION
           STATUSINTERN      = STATUSINTERN
           STATUSEXTERN      = STATUSEXTERN
         EXCEPTIONS
           OTHERS            = 01.
       CASE SY-SUBRC.
         WHEN 0.            " OK
           IF STATUSEXTERN = 'RE'.
             E_VALID = 'X'.
           ENDIF.
         WHEN OTHERS.       " to be implemented
       ENDCASE.
    ELSE.
       E_VALID = ' '.
    ENDIF.
    SWC_SET_ELEMENT CONTAINER 'E_VALID' E_VALID.
    END_METHOD.
    Instead of using the hardcoded check, is there any other way to do, please provide me the logic, if so.
    Thanks.

  • Document Splitting - Bank and Customer Invoice

    Hi Experts,
    I have document splitting method 0000000012 and under that Business transaction 1000 i have created a new transaction variant for the client specific requirment
    Further for this combination i have linked item category 04000 for bank accounts with all categories attached to it and 02000 for Customer accounts with revenue attached to it
    Now when i pass a customer invoice for profit center A and when i clear this using F-28 giving profit center B, the system is inheriting Profit Center A form customer invoice and for the bank line item it is split according to the base row which is Customer invoice hence both item reflects profit center A and profit center B which is keyed in totally ignored
    My client requires that the inheritance from customer invoice needs to be ignored and the profit center needs to be updated as per manual entry. hence the entry should like the following
    Bank Dr Profit center B
       To Customer Cr Profit Center B
    Profit Center Clearing A/c Dr Profit Center A
    To Profit Center Clearing A/c Cr Profit Center B
    I have not given automatically split tick in any of the linked categories
    Please advice

    Hi Expert,
    Go to the below Path: IMG -- Financial Accounting (New) -- General Ledger Accounting (New) -- Business Transactions -- Document Splitting Activate Document Splitting
    Here you need to UN-select the Inheritance Check box.
    Inheritance: Indicator is not set ('UN-Select Check box ')
    Lines can be left without account assignments, even if the document splitting characteristics in the document are unique. Exception: You have set the Standard Account Assignment indicator.
    Inheritance: Indicator is set ('Select Check box ')
    Indicator is set('X')
    If the rule-based document splitting produces lines without account assignments, these lines inherit the document splitting characteristics.
    Regards,
    GK
    SAP

  • Document Properties/Authorisations

    We are using BW 3.1, with the majority of reports presented through the web.  We have activated some characteristics to permit document properties - enabling users to enter comments at context specific places within reports  I would appreciate any responses to the following two questions:
    1.  Is it possible to authorisations over documents to ensure that only the author or administrator can edit/delete documents?
    2.  Is there a way that I can ensure that the author's name & date/time stamp is visible?
    Thanks,
    Ben.

    Question no longer relevant

  • Document splitting   material...

    Hello ALL,
    Can any one send me Document Splitting Documents to my mail id:  [email protected]
    Thanks in Advance and Appreciate your help.
    Regards,
    Sai.
    Edited by: fico sap on Mar 9, 2008 12:28 AM

    Below mentioned are the settings for configuring  FI - Document Split.
    To use document splitting, you need to make preparations and settings in Customizing.
    Process Flow
    Preparations: Before you can activate and use document splitting, you need to have created certain datasets for the existing documents. To do this, you need to migrate open items for document splitting. Add any missing document splitting characteristics in the documents to be split. This is obligatory if you have set these characteristics as required entry fields in document splitting
    Standard Customizing Settings: You make the general settings for document splitting here.
    Classify G/L Accounts for Document Splitting
    You need to classify the individual document items so that the system knows how to handle them. You do this by assigning them to an item category. The item category is determined by the account number. In this IMG activity, you need to assign the appropriate accounts.
    2. Classify Document Types for Document Splitting
    Every business transaction that is entered is analyzed during the document splitting process. In this process, the system determines which splitting rule is applied to the document. To enable the system to determine the splitting rule, you need to assign a business transaction variant to each document type.
    3. Define Zero-Balance Clearing Account
    Here you define a clearing account for account assignment objects for which you want to have a zero balance setting when the balance is not zero.
    4. Define Document Splitting Characteristics for General Ledger Accounting
    Here you specify to which document splitting characteristics document splitting applies, for example, profit center or segment. The characteristics that you specify should be maintained in at least one of your ledgers. You determine which characteristics are maintained in your ledger by assigning scenarios or customer fields to your ledgers.
    You also define how this characteristic is to be handled by specifying, for example, whether you want to apply a zero balance setting, whether the field is a required entry field, and the appropriate partner field.
    5. Define Document Splitting Characteristics for Controlling
    Here you specify which additional characteristics you want to apply in document splitting. The additional characteristics are not relevant for General Ledger Accounting. Instead, they are relevant for components in Controlling that use documents transferred from General Ledger Accounting.
    The selected characteristics are only transferred to the specified line items when the account to which the postings are to be made can also take the characteristics.
    6. Define Post-Capitalization of Cash Discount to Assets
    Here you define whether the cash discount that is applied in the payment of an asset-relevant invoice should be capitalized to the asset. When you select this setting, the cash discount amount is not posted to the cash discount account in the payment document, but instead directly to the asset.
    7. Edit Constants for Nonassigned Processes
    Here you define default account assignments (for example, a default segment) for specific line items in processes for which it is not possible to derive the correct account assignments at the time when the document is posted. This is the case if the required information is not yet available when the posting occurs.
    8. Activate Document Splitting
    In this IMG activity, you activate document splitting. The splitting method used is that delivered by SAP as standard, which contains the splitting rules for the different business transactions. If this splitting method does not meet your requirements, you can first define and then select your own method in Customizing for document splitting (see the next step).
    Settings for Extended Document Splitting
    Here you make settings so that you can define your own splitting method if SAP’s standard splitting methods are not sufficient.
    9. Define Splitting Method
    Here you define your own method for document splitting. A splitting method contains the rules governing how the individual item categories are dealt with.
    10. Define Splitting Rule
    Here you define the splitting rules for document splitting. You assign one or more business transaction variants, the account key for the zero balance setting, and the leading item categories for cross-company code transactions to a splitting method.
    11. Assign Splitting Method
    Here you assign the splitting method to be used for document splitting after activation. If you want to activate your own splitting method, replace the standard method with your own method.
    12. Define Business Transaction Variants
    Here you can define business transaction variants for the business transactions in document splitting.
    Hope this helps you, if this is what you are looking for please assign points.
    Saleem

Maybe you are looking for

  • Error while executing web service proxy

    hi all, i want to execute some enterprise service from enhancement package 2 (customer fact sheet). Everything works fine. But one enterprise service won't work. The service is activated (SICF). ECC_CUSTOMERIDQR If start the proxy the following error

  • Hyperlink character options in InDesign

    I am creating hyperlinks in InDesign and do not have any options available under the "character options" box.  It just lists [none] with no options in the drop down menu. My hyperlinks WORK but do not appear in either preview mode or .pdf output with

  • How can i add new menus to dremwaver ?

    hi everybody i making a website and i need to add spry accordion menu not the one that is in dremwaver by defult i need to use extrnal tools where can i get free tools like this ? thank you

  • Can't Sync selected photos

    When I connect my iPod to my Mac, and try to sync Photos, it only allows me to sync my whole iPhoto library, the buttons for selected folders are greyed out. I can't click on selected folders and drag to the iPod either. Help?

  • Can I use iPhoto transitions in iMovie

    I noticed that there are some transitions for a slideshow in iPhoto that are not used in iMovie. For example; cube, droplet, mosiac. Is there any way to get them into iMovie? Macbook Pro