Download of SRM Contracts in Excel - Unit of Measurement Missing

We are using SRM 5.0 in Extended classic mode.
I downloaded the SRM contracts in Excel. One field that is missing is the Unit of Measurement at the Item Level (On the Basic Data Tab). Anybody having any clue how this can be taken care of ?
I tried both individual download and bulk download.

Hi
<b>Please go through following SAP OSS Notes which will help  -></b>
<u>Note 859049 SRM 5.0: Restrictions for uploading and downloading
Note 673479 - Excel download: Quantities not displayed correctly
Note 790860 - Frequently asked questions for Excel upload and download
Note 734946 - SRM: Restrictions for upload and download
Note 812884 How to change the fields used for Excel Up- and Download
Note 673479 Excel download: Quantities not displayed correctly
922328 Upload: Product category change is not checked
921258 Upload: Old name displayed after changes to the partner ID
921302 The scales of cond is not arranged in proper order in excel
876176 Mass upload: Terms of payment not accepted
813114 Missing parameter in BAdI BBP_PD_DOWNLOAD methods
810646 Excel upload & download: Incorrect partner type in download
809437 Problems uploading and downloading documents
741837 SRM Upload & download: Conversion of amount fields
734946 SRM: Restrictions for upload and download
Note 653283 Contract: Excel sheet does not open in separate window
Note 641621 Language of the product description in contract items</u>
Regards
- Atul

Similar Messages

  • Unit of measure missing for LagDuration in ES for Project Network Activity?

    Hello,
    I just tried the Enterprise Service "Read Project Activity" (ProjectProcessingManageProjectIn) from ESM ERP 604 in the ES workplace. The field LagDuration in the NetworkRelationship consists of only a number, but no unit of measure. I changed the unit from Hours to Seconds via the Web Portal and watched the results of the Service: the number did not change although one hour should result in different lag time than one second. IMHO the unit of measure is missing in the service definition. Or am I getting something wrong?
    Regards,
    Uwe.

    It is even worse: There are several duration fields in the "Manage Project In"  Service Interface (e.g. Activity BaseDuration). In the responses these fields always contain a naked number (no unit of measure). In the WSDL these fields are of type "Duration" which has a pattern restriction of "PnYnMnDTnHnMnS" - not an int type! In a request if you pass e.g. "PT20M" (which is a valid Duration according to the samples) you will get a nasty parse error. Can anybody explain? Has anybody worked around this issue?

  • Unit of Measure missing in Shopping Cart

    Hi all,
    Currently, we have implemented BADI BBP_CATALOG_TRANSFER to map Unit of Measure from z-table, based on shopper's backend system. The mapping is done successfully when it return to Shopping Cart (e.g. PAC (catalog UoM) -> PAK (backend system's UoM)).
    When I am at "Step 2: Shopping Cart", I've tried to view Item details (click on Magnifier icon in 'Action' column), and I noticed that mapped UoM 'PAK' is still there. However, when I click on 'Check' button, I found that the following error message returned:
    "Enter a unit of measure"
    I am wondering why UoM will be missing, and I notice that when the time I click on 'Check' button, it went through to BADI BBP_DOC_CHANGE_BADI of Method BBP_SC_CHANGE. I have checked import table IT_ITEM and found out that IT_ITEM-UNIT is missing.
    Although I have put an breakpoint in Method BBP_SC_CHANGE, I discover that IT_ITEM-UNIT is missing ONLY when I click on 'Check' button from Item detail page above.
    Is there any steps missing in config, or otherwise?
    Many thanks.
    Best regards,
    Patrick

    Hi Muthu,
    Thanks for following up.
    There is no 'Incomplete PO status', and what I can see in History is that (there are two line of messages):
      - First message, "Follow-on Document Created";
      - and second message, "Error in Process".
    I have checked tcode CUNI (under Unit of measurement button with No Dimension from drop-down menu), UoM 'PAK' is exist with the following info:
      - Internal Measurement Unit = 'PAK'
      - Commercial = 'PAC'
      - Technical = 'PAC'
      - ALE/EDI --> ISO Code = 'PK' with Primary code checked
    with the above, the Catalog Item's UoM is "PAC", when it comes to BAdI BBP_CATALOG_TRANSFER, table CATALOG_CONTENT has the UoM ISO code of 'PK', which mapped from Commercial 'PAC' based on CUNI config.
    If I removed my code (bespoke table mapping) in the above BAdI, Internal UoM "PAK' is being picked up. When it returns to Shopping Cart, PO is still managed to be created.
    Do you have any idea on this?
    Many thanks.
    Regards,
    Patrick

  • Unit of Measures missing in Crystal XI

    Crystal Reports XI fixpack 3.2.
    I'm designing a crystal report that contains a distance field with a measurement and unit of measure. In bex the value displays correctly,eg. 104,000 KM. In crystal I have three options for my key figure: Value, formattted value and Unit.
    The value field contains 104,000, the formatted value contains 104,000 KM and the Unit field should contain "KM" but it's empty.
    I don't get anything from unit field for any of my data rows (about 100 rows returned).
    Do I need to make some setting adjustment or something? Any and all suggestions are welcome.
    Thanx,
    er

    Upon further review I noticed that the Unit dimension is being correctly populated when the value is a monetary amount. For example $100 CAD, the CAD is populated in the Unit dimension for this key figure. The distance measurements (all KM) don't have anything.
    The UOM is present in both key figures in the bex query when run in Bex Analyzer.

  • Unit of measure in External requirement

    Hi experts
    When the requisitions are created in R/3 the unit of measure of the product is Base Unit of Measure and not Order unit, so the requisitions are transfered to SRM with the Base Unit of Measure but the material has in Purchassing an unit diferent unit of measure but the system not takes it in account, how can ensure the POs are created in SRM with the unit of measure of the material master Purchasing vision?
    Thanks
    Nilson

    Hi. I am not sure if there is a better way, but units of measure are stored in SRM in table COMM_PR_UNIT.
    You could use the BBP_DOC_CHANGE_BADI method BBP_PO_CHANGE to read the alterante unit and carry out the conversion.
    Regards,
    Dave.

  • SRM Contract Download - Multiple contracts in one shot

    For one contract we can click on Download button while viewing the contract (Use Firefox instead if IE6 or 7. Does not work in IE) to download contract to Excel.
    Is there any mechanism by which we can download a bunch of contracts in one shot to Excel ( I have > 150 contracts that need to be download). Going one by one is a time consuming affair.
    Thanks

    Hello Ajay,
    There is no standard feature to download multiple contracts in one shot.
    You will have to develop it by yourself.
    Take care about performance if you download 150 contracts at same time.....
    Rgds
    Christophe

  • SRM Contracts

    Is there any table(s) from which I can download the contracts?
    I use the Download Contract button to download to Excel but the Unit of Measurement (field between Product Type and Price in Item Data) is missing during downloads using the single contract download or bulk download. I checkup the notes but none of them pertain to this problem.
    Is there any workaround to accomplish this hence the question about can I directly access and table and download.
    We are on SRM 5.0.
    Thanks

    Hi
    <b>Please go through these pointers and links as well.</b>
    <u>Refer to Function module - BBP_PD_CTR_CREATE / BBP_PD_CTR_CHANGE
    Tcode BBP_PD is a wealth of knowledge. you need to select proper object type from the drop down and enter the relevant Object number and execute.On the next screen in the details double click on each separate node and it will take you to table and display the records, There are vaiorus object type like Shopping cart, PO Contract, Bid etc</u>.
    <b>Other related links -></b>
    <u>Re: SRM and MDM for material master in SRM contracts for multiple R/3
    Re: Purchase Contract creation in SRM
    Re: Upload Contracts
    What is the name of BAPI or Function module to change and cacel the SRM PO
    Initial Uploald of Contracts from ECC to SRM 5
    Uploading contracts into SRM from flat file...
    Re: SRM Contract Download - Multiple contracts in one shot
    Updating SRM contracts from backend R/3 to SRM.</u>
    Hope this will help.
    Regards
    - Atul

  • SAP SRM Contracts Vs SAP CLM Contract

    Hi SAP Gurus,
    Can you guys please tell me the difference between SAP SRM Contracts and SAP CLM Contracts.
    In which factors SAP CLM serves better than SAP SRM??
    Why SAP CLM came into existence when we have SRM Contracts? What are the draw back and what is not achieved with SRM Contracts?
    Thanks in Advance

    Hello Sanjay
    There are many differences, SAP CLM Contract run in Sourcing and SAP SRM Contracts run in SRM.
    Advantages CLM Contracts:
    - Establish a contract as a result of a project
    - build the draft agreement from a template
    -   - Create your own folder structure to organize your contract attachments
        - Transfer quickly attachments between the different folders
    -   - Download easily multiple attachments with a single click
    - Administrator can create new customer fields (extensions) and customer tables (extension collections) for all      master agreements or specific master agreements
         - New customer fields are immediately available in the UI and as a search parameters 
          - All is done via configuration, therefore no upgrade issues
         - Generation of contract document out of master agreement
         - Template Library with approved legal contract templates for quick contract generation
         -  Possibility to provide end user with flexibility to modify the provided content from the template during contract creation
          - Adjust contract by adding or removing of clauses and sections to the content provided by the selected contract template
          - Multiple content options (alternative clause content) available to provide end user with controlled flexibility
          - Automated transfer of master agreement meta data into generated contact document
          - Creation and transfer of line item table into contract document
    -     - Creation of a unique barcode on the contract header
          - Contract negotiation with clause changes in MS Word are tracked in the contract repository
          - Change of meta data like Agreement Effective Date in MS Word possible and transfer back to master agreement in repository
          - etc
    The are the possibility to integrate CLM contract to SRM Contracts
    Regards

  • Two load errors for a standard SRM Contract ODS

    We've just installed standard business content for SRM Contract ODS.  The standard InfoSource we installed is 0BBP_TD_CONTR_1.   Two loading errors occur:
    1st error:
    No return value <> 0 allowed in update routines in transfer mode     
    Diagnosis
    The return code was set to <> 0 in routine 'r0063_0SR_TARGVDC ', but the corresponding data field is updated with MOVE. You therefore can not prevent the update of a single data field for certain key values.
    System Response
    The load process is terminated.
    Procedure
    When you update with MOVE, you do not have to update all the data records. In this case you should use a start routine in the update rules in which you delete the data records that you do not want to update from    table DATA_PACKAGE. Set the return code for all routines affecting a data field that is updated with MOVE to 0 (also the corresponding key field routines).
    Procedure for System Administration
    2nd error:
    Error converting currency to standard currency (see long text!)     RSBCTBBP     
    Diagnosis
    Record number 1 : Error during currency conversion to standard currency.
    The currency JPY of field 0OUTAGTARGT could not be determined.
    Procedure
        Possible causes are listed below:
        - Could not find currency tables RSCURTRT or TCURR
        - Could not determine conversion date
        - Could not find an exchange rate for currency JPY in table TCURR
        Check the erroneous data record, currency unit, and date.If all data is
        available, check whether the standard currency was created correctly.
    You can change it in transaction <rscur> by changing the settings for InfoObject 0SR_DEFCUR.
    Furthermore, the global settings must be transferred from the source system in order to get the currency keys of the currencies (maintained for currency JPY in table TCURR). Use transaction <rsa1> to transfer the global settings. Select 'Source Systems' and choose the entry 'Transfer Global Settings' for the respective source system.
    Note: we've transfer the global settings at currency from our SRM source system already, but we still get the same error msgs.
    Any idea/solution?
    Thanks

    Hello All,
    As I have already mentioned the condition types in SRM are identically matched to ERP condition type hence the data is flowing correctly and even the idoc has the z-condition type Z123.The IDOC in backend ERP has status 53.
    On trial and error method we did unchecked the manual indicator check in the pricing schema for the relevant condition type and because of that now the Z-condiiton type can be seen in the backend ERP contract.
    If the indicator was checked, this means that this condition can be maintained only manually (directly in the transaction
    ME32K in ECC) and nothing can be transfer from other source.
    Note: If the same condition type is being used in more than one pricing procedure then ensure that the check bok is unchecked for agianst the relevant condition type.
    Thanks,
    Yatin

  • One field is not downloading properly from ALV to EXCEL

    Hi,
    while downloading ALV out put to EXCEL sheet one field(CSTCTR) is not displaying properly it's truncating left and right side digits,
    I have used function REUE_ALV_GRID_DISPLAY
    FORM SUMMARY_REPORT .
      PERFORM BUILD_FIELDCATLOG.
      IF I_FINAL[] IS INITIAL.
        MESSAGE I000 WITH 'NO DATA EXIST'.
        EXIT.
      ENDIF.
      ST_SETTINGS-EDT_CLL_CB = 'X'.
      V_REPID = SY-REPID.
      SORT I_FINAL BY WERKS GEBNR PERNR.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM       = V_REPID
                I_GRID_SETTINGS          = ST_SETTINGS
               I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'
               I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
                IT_SORT                 = IT_SORT[]
                IT_FIELDCAT              = IT_FLDCAT[]
                IT_EVENTS                = IT_EVENTS[]
           TABLES
                T_OUTTAB                 = I_FINAL[]
           EXCEPTIONS
                PROGRAM_ERROR            = 1
                OTHERS                   = 2.
    ENDFORM.           " alv_display  summary_report
    *&      Form  build_fieldcatlog
          text
    FORM BUILD_FIELDCATLOG.
    WA_FLDCAT-FIELDNAME = 'WERKS'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'PA'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '1'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GEBNR'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'LOC'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '2'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PERNR'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SAP #'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '3'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ADPFN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'ADP #'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '4'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PERID'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SSN'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '5'.
      WA_FLDCAT-KEY     = 'X'.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'KOSTL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'CSTCTR'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '6'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'NACHN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'LAST NAME'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '7'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VORNA'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'FORST NAME'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '8'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'HIREDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'HAL DATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '9'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VACDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'VAC DATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '10'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GBDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BIRTHDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '11'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'SENDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SRDATE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '12'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'SERADJDAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'SVCADJDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '13'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'TERMDATE'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TERMDT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '14'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'MGTXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TERM REASON'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '15'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'GESCH'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = '***'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '16'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'RACKY'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'RACE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '17'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'VTEXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'VET STAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '18'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EXPAT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'EXPAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '19'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'DISAB'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'DISAB'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '20'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PTEXT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'STAT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '21'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'STELL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOB'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '22'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'STLTX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOB TITLE'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '23'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PLANS'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'POSITION'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '24'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'PLSTX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'POSITION T'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '25'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'AAPCT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'JOBGP'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '26'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EEOCT'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'EEO'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '27'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZBAND'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BAND'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '28'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'EEOEX'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'FLSA'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '29'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
    *WHEN DIVG
      WA_FLDCAT-FIELDNAME = 'BETRG'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'BW/HR'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '30'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ANSAL'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'ANNSAL'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '31'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'WOSTD'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'HRS'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '32'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZBONPLAN'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'PLAN'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '33'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
      WA_FLDCAT-FIELDNAME = 'ZTARGET'.
      WA_FLDCAT-OUTPUTLEN   = '10'.
      WA_FLDCAT-SELTEXT_M = 'TGT'.
      WA_FLDCAT-TABNAME = 'I_FINAL'.
      WA_FLDCAT-COL_POS = '34'.
      WA_FLDCAT-KEY     = ' '.
      APPEND WA_FLDCAT TO IT_FLDCAT.
      CLEAR   WA_FLDCAT.
    ENDFORM.                    " BUILD_FIELD CATLOG

    Also make sure if the reference field name and reference table name in the field cat .
    There will be some fields where in when dropped to excel will not hold the field properties and may not download properly,In such cases pass the reference fileds to the field cat .
    In the field cat u r using,  pass this and check .
    WA_FLDCAT-FIELDNAME = ' '. "
    WA_FLDCAT-OUTPUTLEN = 'XX'.
    WA_FLDCAT-SELTEXT_M = 'XXXXXXXXXXXXXXXXXXx'.
    WA_FLDCAT-TABNAME = 'I_FINAL'.
    wa_fldcat- -
    >reference field name,   
    wa_fldcat----
    >reference table name
    WA_FLDCAT-COL_POS = '25'.
    WA_FLDCAT-KEY = ' '.
    APPEND WA_FLDCAT TO IT_FLDCAT.
    CLEAR WA_FLDCAT.
    Br,
    Vijay.

  • Error while download the data to an Excel sheet for ECC report from EP

    Hi experts,
    I had created a report program which will download the data to an Excel sheet using SAP OLE object
    For this report i had created a tcode too. The report which i developed is perfectly working fine in SAPGUI. But if i download the data to an Excel sheet for the same report throught SAP EP.I am getting the  error that "Error in excel downlaod"
    I analyed by putting dubigg point and it throws exception while calling Function module.
    The excpetion is " OLE object id not found".
    Can any body gives a light on this why i'm not able download the excel in ep?
    Thanks,
    JB

    Hello,
    (by the way I came here to ask my question and is my first time visit but...)
    The problem is obvious: How do you expect OLE handler can "touch" the local PC Excel through a web browser? I believe that is not possible. That means (at least for me) that I have to create the whole documents before I return them to the user. That is why I use XML Office documents generation or you can try to hack some Export to excel features of ERP reports.
    Regards Otto

  • U2018Ea unit of measure has not been created in the language ES u2018in srm

    Dear Friends,
    I have checked in ECC & SRM in table T006A (UOM languages). UOM "EA" is defined in ES (Spanish).
    Also in comm_hierarchy also i  chked for product category language maintenance and found maintained in EN,ES languages.
    u2018Ea unit of measure has not been created in the language ES u2018
    I have tried with sapanish (international sort,dominic,traditional sort)& rest of spanish spoken country languages but i am getting the same error.( IE- tools-general-languages & refreshed the page). u2018Ea unit of measure has not been created in the language ES u2018
    Regards,
    William

    Hi Willam,
    When are you getting this error ? i.e. while creation of shopping cart or process purchase order..
    I believe this issue is due to creation of UOM..which means EA UOM should be created with EA language.
    For further details please have a look on
    http://wiki.sdn.sap.com/wiki/display/SI/UnitofMeasurerelatedsettingsinSAP
    where they have specified that "Maintain UOM in different languages by logging to the system with different logon language"
    Kindly confirm.
    Thanks
    Rajesh K

  • Updating SRM contracts from R/3 to SRM....

    Hi all,
    I am working in SRM, my requirement is to update the SRM contracts from R/3 to SRM and if any changes happen in R/3 contracts (previously updated contracts to SRM) then it should replicate those changes in SRM contracts also.
    I found the program BBP_CONTRACT_INITIAL_UPLOAD (This program can be used to upload contracts from ERP to SRM. A separate contract in SRM would be created for each successfully transferred ERP contract.)
    My question is, so if any changes happen in R/3 contracts it should update SRM contracts also.
    Please let me know the solution how to solve this?
    Highly appreciated any kind of help..
    Thanks
    Rajesh.

    Hi Rajesh,
    I think that your scenario is very risky as there is no master system for contract : one time it is srm and after it can be r/3 !
    Besides this comment, you can search the forum and find some threads for contract replication in both ways (but no activated in the same time...)
    Kind regards,
    Yann

  • Download internal table data to Excel in background

    Hi all ,
      Can anyone tell that how i can download internal table data
    into Excel sheet  in Backgroud Mode .
    I used both fun mod  ws and gui download but these are not working in background mod .
    Please help  issue is urgent .
    Answer is rewarded  by point .
    With Regards ,
    Nilesh Jain

    hi,
    you have to use  function module 'SAP_CONVERT_TO_XLS_FORMAT'.
    DATA:
    ITAB1 TYPE TRUXS_T_TEXT_DATA.
    CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
    EXPORTING
      I_FIELD_SEPERATOR          = ';'
      I_LINE_HEADER              =
       i_filename                 = filename
      I_APPL_KEEP                = ' '
    tables
       i_tab_sap_data             = itab
    CHANGING
      I_TAB_CONVERTED_DATA       = itab1
    EXCEPTIONS
      CONVERSION_FAILED          = 1
      OTHERS                     = 2
    *IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    try this one.
    reward points if useful,
    thanks & regards,
    rajee.

  • Background processing- download multiple itabs into one excel with tabs

    Hello,
    I want to run a report as a background job and download the outputs in excel file into different tabs.
    Problem is OLE does not run in background mode.
    Are there any other alternatives for that?
    I searched the forum and did not get any useful answer for background procesing. All the topics use for foreground processing.
    (Old query for reference:- )
    [background processing] multiple work sheets in single attachment file
    Thanks.

    Hi,
    Even i had the same issue before, what i did is, i written a program which will run in the background and stores the data in application server file, and also it sends the email to user saying that 'the data is soted in application server, to veiw please run the ZXXXX transaction code to view,
    The second transaction code is having the OLE code which will download the data into an excel sheets with more than 1 tab.
    Thanks
    Sudheer

Maybe you are looking for