Enhance the Master Data field in Datasource from standard source table

Hi Friends Please help me to resolve this, would really be very kind of all of you.
Requirement. I want to Enhance the field ZFACTREG from VIBDBE table in my datasource 0busentity_attr extract structure l_s_REIS_BUSENTITY_ATTR, I want to create the logic in CMOD exit_saplrsap_002 to call my function module for enhancement of master data. Please help me Step by Step
Thanks
Poonam Roy
Step #1
I put this code which gives me error in CMOD like this
ERROR : Das formale Argument 'OTHERS' muss am Schluss der Ausnahmeliste stehen.
ABAP Code#1 IN exit_saplrsap_002
DATA: l_d_fmname(30) TYPE c.
CONCATENATE 'Z_DS_' i_datasource(25) INTO l_d_fmname.
TRY.
CALL FUNCTION l_d_fmname
EXPORTING
I_DATASOURCE = I_DATASOURCE
I_UPDMODE = I_UPDMODE
TABLES
I_T_SELECT = I_T_SELECT
I_T_FIELDS = I_T_FIELDS
I_T_DATA = I_T_DATA
C_T_MESSAGES = C_T_MESSAGES
EXCEPTIONS
RSAP_CUSTOMER_EXIT_ERROR = 1
OTHERS = 2
IF FOUND.
IF SY-SUBRC <> 0.
RASIE RSAP_CUSTOMER_EXIT_ERROR.
END IF
CATCH CX_SY_DYN_CALL_ILLEGAL_FUNC.
ENDTRY.
Step#2
I simple created the Function module Z_DS_BUSINESS
and put the code in source code which gives me error . what should i put in other tabs like"Import", Export", Tables" i kept blank
ABAP CODE give me error : The Dictionary structure or table "FIELD-SYMBOLS" is either not active. i have to remove include in the FM. WHY SO??
FUNCTION Z_DS_BUSINENSS
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_DATASOURCE) TYPE RSAOT_OLTPSOURCE
*" VALUE(I_CHABASNM) TYPE SBIWA_S_INTERFACE-CHABASNM
*" VALUE(I_UPDMODE) TYPE SBIWA_S_INTERFACE-UPDMODE
*" TABLES
*" I_T_SELECT TYPE SBIWA_T_SELECT
*" I_T_FIELDS TYPE SBIWA_T_FIELDS
*" I_T_DATA
*" C_T_MESSAGES STRUCTURE BALMI OPTIONAL
*" EXCEPTIONS
*" RSAP_CUSTOMER_EXIT_ERROR
INCLUDE ZXRSAU02.
WRITE: / 'INSIDE THE Z_DS_MEASUREMENTS PROGRAM'.
TABLES: REIS_BUSENTITY_ATTR,
VIBDBE,
field-symbols:.<fs_REIS_BUSENTITY_ATTR> like REIS_BUSENTITY_ATTR.
DATA: BEGIN OF i_c_t_data OCCURS 0.
include structure REIS_BUSENTITY_ATTR.
DATA END OF i_c_t_data.
DATA: i_c_t_data_copy like i_c_t_data OCCURS 0 WITH HEADER LINE,
begin of i_vibdbe occurs 0,
INTRENO like vibdbe-INTRENO,
ZFACTREG like vibdbe-ZFACTREG,
end of i_vibdbe.
i_c_t_data_copy[] = i_c_t_data[] = c_t_data[].
sort i_c_t_data_copy by vibdbe.
Select INTRENO
into table i_VIBDBE from VIBDBE
for all entries in i_c_t_data_copy
where INTRENO = i_c_t_data_copy- INTRENO.
if sy-subrc = 0.
sort i_VIBDBE by INTRENO.
loop at i_c_t_data assigning <fs_REIS_BUSENTITY_ATTR>.
clear: i_VIBDBE.
read table i_VIBDBE with key INTRENO = <fs_REIS_BUSENTITY_ATTR>-INTRENO
BINARY SEARCH
transporting ZFACTREG .
if sy-subrc = 0.
<fs_REIS_BUSENTITY_ATTR>-ZZFACTORY = i_vibebe-ZFACTREG
endif.
null

I don' t see the dot between the two lines
OTHERS = 2
IF FOUND.
Regards

Similar Messages

  • Download of the master data of cost centres

    Hi Friends,
    How to download the master data of cost centres from
    SAP where these cost centres are not on the accrual generator.
    Could you please let me know the procedure.
    Regards,
    K

    Hi Krishna,
    You can take download of following two tabels.
    CSKS & CSKT
    Regards,
    Abhijit

  • SCM master data fields

    Hi SCM folks,
    Can anybody send me the master data fields used in supply chain management.
    I am very new to SCM.
    Or else send me the names of the tables containing master data. I am working on some modelling part of MDM where they are going to be used.
    Thanks and Regards
    Devinderpal yadav

    Hi Devinderpal,
    SCM uses a lot many fields which are relevant to different Runs e.g. SNP, Deployment, TLB, CTM, PPDS, TPVS etc.
    I am giving the names of some of the master data tables which are mostly used.
    Table Name     Description
    /SAPAPO/MARM     Units of Measure
    /SAPAPO/MATKEY     Product
    /SAPAPO/MATLOC     Location product
    /SAPAPO/MATLOTSZ     Lot Sizes & Days' Supplies for Material Master
    /SAPAPO/MATLSIM     Location Product with Planning Version
    /SAPAPO/MATMAP     Mapping Table for Products
    /SAPAPO/MATPRIO     Product Priority Time & Version-Dependent
    /SAPAPO/MATRELH     Product/Location Product Hierarchies
    /SAPAPO/MATRQ     Demand Profile for the Material Master
    /SAPAPO/MATTXT     Material Descriptions
    /SAPAPO/SNP01     SNP: Demand Profile
    /SAPAPO/SNP02     SNP: Supply profile
    /SAPAPO/SNP04     Profile of Priorities Classes for Customer Demand
    /SAPAPO/SNP11     SNP: Deployment profile
    /SAPAPO/TMCNV     Data for product number conversion
    /SAPAPO/TWHMATGR     Definition Table for Warehouse Material Group
    /SAPAPO/APPLOCS     Location Master: Relevant location types for application
    /SAPAPO/LOC     Locations
    /SAPAPO/LOCMAP     Mapping Table for Locations
    /SAPAPO/LOCPROF     Version-Dependent Location Profile for Penalty Determination
    /SAPAPO/LOCT     Locations Short Text
    /SAPAPO/LOCVER     Location: Version-Dependent Fields
    /SAPAPO/EDITQUAN     Capacity Profile: Resource Bucket Capacity
    /SAPAPO/EDITTIME     Capacity Profile: Resource Time Capacity
    /SAPAPO/RESCAP     Capacity Profile: Resource Time Capacity
    /SAPAPO/RESDIM     Dimensions and Capacity of a Resource
    /SAPAPO/RESDOWN     Resource Downtime
    /SAPAPO/RESSELP     User Settings - Resource
    /SAPAPO/RESVERS     Versions Resource Capacity
    /SAPAPO/RESVERST     Texts Version Resource Capacity
    /SAPAPO/RES_HEAD     Resource Header Data
    /SAPAPO/RES_INTR     Resource Rates
    /SAPAPO/RES_TXT     Resources Short Text
    /SAPAPO/ACTREL     Production Process Model: Activity Relationships
    /SAPAPO/COMP     Production Process Model: Components
    /SAPAPO/MODE     Production process model: mode
    /SAPAPO/PLAN     Production Process Model: Plans
    /SAPAPO/PLANACTT     Production Process Model: Planning Activities
    /SAPAPO/PLANOPR     Operations in Plan
    /SAPAPO/REQCAP     Production process model: resources
    /SAPAPO/TDPP     Time-Dependent Process Parameters
    /SAPAPO/PLAN_GEN     PP/DS to SNP/PPM Generation
    /SAPAPO/PLAN_MOD     Modes Combination of PP/DS for an SNP/PPM
    /SAPAPO/PPDS_GEN     PP/DS to SNP/PPM Generation
    /SAPAPO/PPDS_MOD     Modes Combination of PP/DS for an SNP/PPM
    /SAPAPO/TR     Transportation Lanes
    /SAPAPO/TRM     Means of Transport for Transportation Lanes
    /SAPAPO/TRMCARR     Transportation Service Provider at Transportation Lanes
    /SAPAPO/TRMLDIDU     Table for Asynchronous Calculation of Distance and Duration
    /SAPAPO/TRPMOD     Assignment of Sources of Supply for Model
    /SAPAPO/TRPROD     Sources of Supply
    /SAPAPO/TRPRODM     Means of Transport for Transportation Lanes, Prod.-Specific
    /SAPAPO/TRQTAH     Quota Arrangement Header
    /SAPAPO/TRQTAP     Quota Arrangement Item
    /SAPAPO/TRTYPE     Means of Transport
    /SAPAPO/TRTYPRES     Means of Transport - Transport Resource
    /SAPAPO/TR_MS_QH     Dummy Table for Mass Maintenance
    /SAPAPO/TR_MS_TL     Dummy Table for Mass Maintenance
    /SAPAPO/DEPSET     Deployment Settings
    /SAPAPO/DSNP_OPR     SNP: Deployment Optimizer Profile
    /SAPAPO/SCZPRF     SNP Profiles for Days' Supply, Safety Stock, and Target Stck
    /SAPAPO/SNP03     SNP: Transport Load Builder Profile
    /SAPAPO/SNP04_TD     Time-Based Cost Profilees in Material Master
    /SAPAPO/SNP05     SNP: Optimizer Profile
    /SAPAPO/SNP08     SNP: Key figures
    /SAPAPO/SNP08T     SNP: Key figure description
    /SAPAPO/SNP09     SNP: Assign Category Group to Key Figure
    /SAPAPO/SNP10     Global Category Settings for SNP/Deployment/TLB
    /SAPAPO/SNP12     SNP: Lot Size Profile for Transportation Lanes
    /SAPAPO/SNP13     SNP: External Order Type
    /SAPAPO/SNP14     SNP: Name of Cost Functions for SNP Optimizer
    /SAPAPO/SNP15     Supply Network Planning: Cost Function for SNP Optimizer
    /SAPAPO/SNPBOUD1     SNP optimizer: Limit profile: Limits
    /SAPAPO/SNPBOUND     SNP Optimizer: Bound Profile: Names
    /SAPAPO/SNPCOSPA     SNP: Profile of Cost Multipliers
    /SAPAPO/SNPCOST     SNP: Aggregated Costs of Optimizer Calls
    /SAPAPO/SNPOPKEY     SNP Optimizer: Log Table Conversion
    /SAPAPO/SNPOPLOG     SNP Optimizer: Input Table Log
    /SAPAPO/SNPOPMES     Supply Network Planning Optimizer: Error Messages
    /SAPAPO/SNPOPRES     SNP Optimizer: Optimizer Results Log
    /SAPAPO/SNPOPSE1     SNP Optimizer: Selected Fields
    /SAPAPO/SNPOPSE2     SNP Optimizer: Selected Products
    /SAPAPO/SNPOPT     Internal SNP Optimizer Settings
    /SAPAPO/SNPTLB     Settings for Interactive TLB Planning
    Do reward points if helpful,
    Regards,
    Manjit

  • Field is blank after enhancing 0Customer_attr master data in R3

    Hi,
    As per requirement to provide "Risk Category" ( filed - CTLPC) in Customer master data.
    I enhanced 0Customer_attr Master data and added one filed ZZCTLPC.
    I also written a user exit in Include ZXRSAU02 (Function Module - EXIT_SAPLRSAP_002) -
    CASE I_DATASOURCE.
      WHEN '0CUSTOMER_ATTR'.
      break-point.
        DATA: LV_BIW_KNA1_S TYPE BIW_KNA1_S,
              LV_KNKK TYPE KNKK.
        LOOP AT I_T_DATA INTO LV_BIW_KNA1_S.
          SELECT SINGLE * FROM KNKK INTO LV_KNKK
          WHERE KUNNR = LV_BIW_KNA1_S-KUNNR.
          IF SY-SUBRC = 0.
            LV_BIW_KNA1_S-ZZCTLPC = LV_KNKK-CTLPC.
          ENDIF.
          MODIFY I_T_DATA FROM LV_BIW_KNA1_S INDEX SY-TABIX.
        ENDLOOP.
    ENDCASE.
    I am able to see data in RSA3 for 0Customer_attr - ZZCTPLC filed in Dev system.
    When I transported the things to Quality, it shows me blank field.
    I have checked that extract structur eis active, Include is active but it shows blank.
    Even in debugg mode it does not stop at braek-point given in exit code, while same works fine in Dev system.
    Please suggest the solution.

    hi, thats why i am also puzzled.
    I have done transactional , masterdata source enhancement before.....but never faced such prob..
    if it is working correct in dev, it used to work correct in qa..
    any way si give u all details..
    project - zbiw i sactive.
    it has function modules..EXIT_SAPLRSAP_001, EXIT_SAPLRSAP_002, both are active..
    inside EXIT_SAPLRSAP_002 , include ZXRSAU02 is also active...
    any input from ur side will be a gr8 help..i m lost !!

  • Data Sources for the Master data of FI-CO,MM and SD from R3

    Hi Gurus ,
    Could you please tell me what are the main datasources of FI-CO,MM and SD needed from R/3 for the master data to be loaded in new implementation of BI .
    Could you please guide me step by step .
    thanks in advance ,
    Pratham

    Hi
    It varies from Client and project. But the Most common SD & MM are from LO **** pit.
    help.sap.com is the best source for this
    Hope it helps

  • How to upload the master data from legacy to SAP

    Hi Frends,
    how to upload the master data from legacy system to SAP System once the configuration is over.how to carry forward the open items of vendors and customers while uploading.who will upload functional consultantsor ABAPER.
    please clarify me
    Regards
    Sap Guru

    Hi ,
    use LSMW  or BDC for uploading Master & transaction data.
    This work is done by the Respective Functional team.
    Chandra

  • Is it possible to move the master data from one server to onther server?

        is it possible to move the master data from one server to onther server?

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • PR Deliv Date doesn't take from the Master data or Info Record

    Dear All,
    When i create a PR manualy by ME51N, the delivery date can always calculate from the planned delivery time in info record or Material master, but when the PR is generate from a Sales order, the delivery date always the date when the SO is created.
    Can anyone please advice me on this issue?
    Thank you very much,
    Regards,
    Chee Wee

    CW,
    You still have not mentioned the Planned delivery time in the two purchase requisitions (auto vs manual).  I will assume they are the same for now. Planned delivery time can be viewed in ME53N > select item; review item details, select 'quantities/dates' tab.  PDT is displayed, along with GRPT.  Let me know if they are dramatically different.
    It sounds like you are using SAP's "Individual Purchase Order" functionality.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5601d4545a11d1a7020000e829fd11/frameset.htm
    If you are not, then it is probably a similar but customized functionality ('create PO automatic' is not typical unless you have an EDI relationship that needs this functionality).  No matter, the solution is probably the same..
    In this scenario, during Sales order entry, the system will normally propose a date to the order entry person, based on planned delivery time.  If this person does not 'fix' the date at that time, then the system will create a purchase requisition with a delivery date that matches the requirements date of the Sales order, regardless of Planned delivery time.   If the order entry person instead selects the 'Fix date qty flag' during order entry, the system will accept the standard Purchase Requisition scheduling (starting from today and including Planned Delivery time), and create a confirmation date in the Sales order that is consistent with the planned delivery time.  The confirmation date then becomes the requirements date for the Sales order.
    You can review the fix-date-qty flag in the sales order.  VA03 > select item > then Goto > item > schedule lines. The Fixed Date and Qty is a checkbox in the upper left hand side.  I am not in front of a system this evening, so I can't advise you if you change the flag and re-ATP the order, if the Purchase requisition will automatically be rescheduled.  If it is not, you should be able to first delete the PR, and then set the FDQ flag in the SD order/item to get the schedule dates you require.
    It is possible to have the fixed date quantity flag to be defaulted to 'set' if it meets with your business requirements.  OVZJ > Select Sales Org/Dist channel/division.  Set or unset as the default setting.  You can always change this flag manually within the sales doc, regardless of the default setting, so there is little danger here.
    Rgds,
    DB49

  • Export the master data from the existing B1 DB and importing to a new B1 DB

    Hi
    Is there any way to export the master data like item, GL, Business partners from the existing B1 database to a newly created DB. (export from the exissitng DB to a new DB as such) so that all the data will be available in the new DB without transactions
    Thanks in advance

    Dear Sanath
    You may use CopyExpress Add on to do the same . Here you can copy masters from one Database to another with out transactions . This process is very easy also. Some of the customizations also u can do the same way.
    Thanks and Regards
    Rashid

  • Enhancement in the Master data Tab in the BP transaction

    Dear all,I need to create news fileds in the Master data tab in the BP transaction. This fields are not imput fields but the content of this fields are customer specifics number which will be generated when creating a BP.  This numebr will be generated in the BUT000 Table in the BP number field.
    My Question is : How can i create New Fields in the Master Data Tab, is it possible to use the EEWB for that or not ?
    thanks in advance for ur help.
    liliane

    Hi liliane,
        You can use eewb however it should be used very cautiously as once changes are made there are  tables and attributes that are created correspondingly. I mean activities like Bdoc creation for the fields added happen simultaneously and you may not be able to revert changes.
    Thanks,
    vivek

  • Can't we display the Extract strucutre of the Master data datasource?

    Hi,
    when i try to display the data source ( which is master data attribute data source ),
    it is not allowing me for the display ( it says : data source xxxx is using the FM yyyy)
    Is is that we cannot display the master data data sources?
    Any help is highly appreciated
    Thanks,
    Ravi

    Hi Ravi,
    ask to get authority on RSA2; you can only display your datasources information form there (you can't change anything).
    Alternatively, use RSO2 with your datasource and press enter on the warning message. RSO2 will show you the extract structure name and its function module.
    Generic datasources are those created via RSO2. Business content datasources aren't generic! That's why you can't edit them via RSO2 and you get a warning...
    Another way to display information displayed in RSA2 is to goto table ROOSOURCE via SE11...
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • How to reflect the Master data changes from ECC to MDM

    Hi Experts,
    We need to reflect the master data changes of company code and cost center groups  from ECC to MDM.
    what methods available and which would be best in performance.
    kindly let me know if you need further information for better undrstanding.
    Thanks in anticipation
    looking forward to hear from you all,
    with regards,
    Chandhan.S

    Hi,
    You need to use change pointer to do this. Go to transaction SALE,
    expand MODELLING AND IMPLEMENTING...
    expand MASTER DATA DIST...
    expand REPLICATION OF MODIFIED DATA
    You may need to maintain distribution model in SALE.
    Cheers.
    Reward if useful

  • Some of the Master Data Attributes DataSources not visible in RSA5

    Hi Experts,
    After installation of R/3 ECC 5, some of the master data attributes datasources are not visible in RSA5.
    Do i need to do any other settings to get them.
    Awaiting response....
    Thanks in advance.....
    Rafi

    Hi Prakash,
    Thanks for quick response. I have checked those tables. i found that i have same datasources as it is in RSA5.
    For example: i have 0SALE_DIST_TEXT in both RSA5 and ROOSOURCE, how i can have the attributes for the same.
    also i don't have attributes datasource for Customer Group1...5, Material Group1...5, sales office etc.,
    Anticipating your response,
    Thanks
    Rafi

  • Delete data from Q table of the master data

    Hi ,
    I had incorrect data loaded into the master data table of a particular object.
    Upon repairing info object, the incorrect data got deleted from all the tables of the object except from the Q table.
    After running repair multiple times also, these records in Q table are not getting deleted.
    HOw can i delete these records from the Q table of the object ?
    Thanks,
    Tapish

    Hi Tapish,
    Are you able to identify the records in RSD1 --> Maintain?  You should be able to delete them from there.
    Best Regards,
    Vincent

  • How To Transfer the master data from R/3 to APO System

    hi this is mohamed .i m new to APO..
    can any one guide me the configuration for transferring the master datas to APO system.i m using scm 4.0 version..
    Thanks in advance
    Regards
    Mohamed.

    Welcome to SDN.
    refer this link
    creating integration model
    Give ur mail id i will send the document which i have.
    With regards.
    Maya.

Maybe you are looking for

  • 2 iPhones, currently same Apple ID, ramifications, how update?

    both my spouse and I have the same Apple ID on our two iPhones. this has never been an issue and was done as at the time as nobody told us otherwise. however, I'm now interested in upgrading my iPhone 3G to the 4S and she will be doing same or at lea

  • The Apps panel of my Creative Cloud does not load. How can I get it to load?

    I recently downloaded Creative Cloud to try Dreamweaver, however, the Apps panel of my Creative Cloud does not load.  I've tried restarting the laptop, opening and closing the application, etc. How can I get it to load? I use a MacBook Pro OS X Versi

  • My imac will not boot

    I think I experienced this before and it sorted itself, Now it will not start. Any suggestions?

  • PO - contract as source of supply

    Hi, I am facing a problem while assigning a contract as source of supply to a PO item. The contract is released and is available as source of supply. Once I enter the contract id and the contract item id in the PO item, the details like price, tax co

  • ABAP and SAP B1

    I am a tying job in ABAP, as we know that B1is for small and medium organization, so i want to know that if an organization implement B1, will they recriut ABAPers or they need not ?