Master Datasource Update for custom fields

I have a standard master data source for 0customer, I need some custom fields that are enhanced in the same SoURCE TABLE KNA1. please let me know if
1.  i can create the generic data source Z_DS_CUSTOMER for custom fields only from KNA1
2. Create transformation 1 to Map the data source Z_DS_CUSTOMER to Ocustomer to load the custom fields only and set no transformation for other standard fields
3. Create transformation 2 to Map the data source 0customer_attr to same Ocustomer to load the standard fields.set no transformation for other custom fields
4. Then Load via DTP Standard fields first via transformation 2
5. Then Load via DTP custom fields first via transformation 1
Will the above will work fine, and I can avoid any enhancement to master datasource 0customer_attr
please help me with solution.
Regards
Soniya
null

Hi all my dear friends,
I have seen the recommendation by my SAP collegue and Anil
1. infoobject as Target and
2. in between Standard DSO
1 transformations as you mentioned from 1 IS
3. Common Info source
2 transformations as you mentioned from 2DS
4. Datasources (2no's ) as source to splly to data to DSO
<b>Please tell me what is the need to do all the above why can't I feed directly the Infoobject with the below PLEASE tell me what will be the bad impact on design if I do the below</b>.since my client is asking<b> justification for build of each BI object</b>
1. infoobject as Target and
1 transformations as  mentioned from 1 IS
2. Common Info source
2 transformations as mentioned from 2DS
3. Datasources (2no's ) as source to splly to data to DSO
I am not going for enhancement since it is not populating the datasource in rsa3. if you can correct that it would be great.
I have the same code for all custom fields none of them is working no records are pulled in RSA3 For custom field ZZSTAT.
Please help me with this
Thanks
Soniya Kapoor
*data: l_BIW_KNA1_S like BIW_KNA1_S
*case i_datasource.
*WHEN ' 0CUSTOMER_ATTR'.
*loop at C_t_data into l_BIW_KNA1_S
*l_tabix = sy-tabix.
*clear  I_KNA1.
*select single * from KNA1 into i_KNA1 where kunnr = l_BIW_KNA1_S-kunnr.
*if sy-subrc = 0.
*l_BIW_KNA1-ZZSTAT = I_KNA1-ZINSTAT.
*modify C_t_data from l_BIW_KNA1 index l_tabix.
*endif.
*endloop.
*endcase.

Similar Messages

  • How to update a custom field of MARC table using BAPI_MATERIAL_SAVEREPLICA

    Hi,
    I want to update a custom field (Appended field) of MARC table using  BAPI_MATERIAL_SAVEREPLICA. Please help me in this issue. I cannot use BAPI_MATERIAL_SAVEDATA as this updated the MARC table record by record. I have to update bulk records at a time.
    Thanks
    Rahul.

    Hi,
    Use the Documentation given for struture in BAPI docuemntation...
    For loading data into custom fields of MARC use the structure - BAPI_TE_MARC.
    First, structures BAPI_TE_<NAME> (<NAME> = MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE, MARM, MAKT) and the appropriate check structures BAPI_TE_<NAME> (<NAME> = MARAX, for example) have to be extended by the customer to include the required fields. The structures that are delivered as standard only contain the relevant key fields. When new fields are added to this structure, you should ensure that a field has the same name as the field in the database table. Furthermore, the fields in the structures BAPI_TE_<NAME> can only be CHARACTER fields. Data element BAPIUPDATE is to be used for the fields in the check structure (exception to this: key fields.)
    Parameters EXTENSIONIN and EXTENSIONINX are used for transferring data to the method. Field STRUCTURE contains the name of the structure (for example, BAPI_TE_MARA or BAPI_TE_MARAX). This names is used to identify the work area (for example,  WA_BAPI_TE_MARA or WA_BAPI_TE_MARAX) to which the data is transferred. The remaining fields in parameters EXTENSIONIN or EXTENSIONINX contain data for the key fields (for example, the material number) and the data for customer-specific fields. The number of characters reserved in both parameters for the contents of the customer-specific fields must match the number of characters for the relevant field in the work area. If the number of required characters is less, the remaining characters are left blank. Only when all characters have been filled can the contact for an additional field be transferred. Bear in mind that only data for which an appropriate indicator has been set in the work area can be updated to the database.
    Regards,
    Bhargava

  • How to update a custom field in declarative workflow with VS 2013

    Hello,
    How to update a custom field in declarative workflow with VS 2013
    any help would be appreciated!!!!!
    Thanks regards, Vignesh.

    Dear all,
    I'm using 4.6C right now, i already implement BADI MEREQ001, but this only valid
    for creating PR via ME51N.
    I found an EXIT_SAPLEBND_001 and tried to implement it,
    but i got another difficulties since how i transfer CEBAN structure to EBAN structure.
    thanks very much.
    Regards,
    Billy

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Change Log for Custom fields

    Hi All,
    I need the change log for custom fields added in BP transaction codes.
    Basically, for tracking the changes of master data in CDHDR and CDPOS tables we will enable the checkbox of dataelement related to custom field.
    As for SAP fields in BP transaction code the change history is reflecting in CDHDR/CDPOS tables. i have enabled that for custom fields added to BP transaction code but i could not see the change history for such fields.
    Please let us know if iam missing any other thing?

    Hi Amit Singh,
    Apart from clicking the checkbox in dataelement...
    There are some settings need to be done by BASIS
    and some settings and entries should be made in SCOD t-code
    create entriy for change document here..
    also hv a look on below links...
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/fa015b493111d182b70000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/7a2a40ce93185de10000000a1550b0/content.htm
    Custom Table values in CDPOS and CDHDR
    scdo
    wat do these fields in scdo stand for?
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • Article Change Documents for Custom Fields

    Hi,
    We have lot of custom fields defined in the article master. When the custom fields are changed through the online transaction, the changes are recorded in the change document tables (CDHDR / CDPOS). If the changes are made through the "BAPI_MATERIAL_MAINTAINDATA_RT" the changes are not getting recorded in the change document tables and hence they cannot be viewed under "Environment -> Display Changes". Lately, this is causing big issues as users are using the custom attributes more seriously now..and we're having issues tracing back the changes...Users do not use online transactions to make the changes..The changes are submitted through the portal which are then submitted through the ARTMAS IDOC which in turn calls the BAPI....
    We want to activate the change document functionality through IDOCs/BAPI....Is it configurable or has to be coded somewhere in the BAPI where it generates the custom segments for the custom fields....
    Any help would be greatly appreciated
    Thanks,
    Sri

    Hi,
            You can use txn BD51 in which you can specify "BAPI_MATERIAL_MAINTAINDATA_RT" and use "o" as Input without checking the Dialog allowed option.
    I assume that you have already done the relevant settings for the change pointers for message type ARTMAS( BD50) and activate change poiinter for relevant document changes (in Txn BD52 by maintaining the relevant Object - MAT_FULL,Table name - MARA and ZZ fields)
    Hope this helps,
    Best Regards,
    Aram.

  • Update Equipment Custom fields

    Hi Experts,
    I have a custom fields ZZOUTDT(Start date) in table EQUI.
    I want to update this custom field for Equipment.
    Is there any Bapi where I can pass this field value to update in Equipment?
    Please suggets.
    Helpful answers will be rewarded.
    Thanks
    Anukool

    hi,
    generally any standard programa will not contain the custom fields.
    did u create tht field in any transaction.
    if not then u have to write a program to update tht table.
    or u identify the exits which trigger for that table and try to populate that fields using that exit.

  • Updating a custom field in ItemCheckingIn event of pages library of publishing portal.

    I have Pages Library of publishing web. In this pages library I have a content type that has a  few custom fields.
    When ever a page is created and checked in in this library I want to send out  an update email to users.  The function that sends the email returns an Id to track the mails sent.
    I want to store this id to the one of the custom  fields of the content type attached to this pages library. 
    If I use item checkingIn event then list item is available but when i update it gives  error probably due to the fact that in synchronous item the item is not yet created.
    If i use  CheckedIn  event then it executes after the file is checked in , in that case it  gives error asking me to check  out the file first and the update the custom field.
    Please  suggest the best way to update a  field in document library in synchronous event handlers or in asynchronous event handlers in the simplest of ways.
    I do not want to check out the file in asynchronous event programatically for just one field and then re check it in.

     
    Hi,
    According to your post, my understanding is that you want to update list item in ItemCheckedIn method in Event Receiver.
    The following code snippet for your reference:
    /// <summary>
    /// List Item Events
    /// </summary>
    public class EventReceiver1 : SPItemEventReceiver
    /// <summary>
    /// An item was checked in.
    /// </summary>
    public override void ItemCheckedIn(SPItemEventProperties properties)
    SPListItem item = properties.ListItem;
    item["Title"] = "Test1";
    item.Update();
    If the issue still exists, I suggest you debug your code or provide your code for further research.
    http://sharepoint-kings.blogspot.com/2013/02/debugging-event-receivers-in-sharepoint.html
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Reg : F4 help for custom fields in ALV report

    hi friends..
    in my internal table i have fields including 1 custom field..
    DATA : BEGIN OF i_final OCCURS 0,
      pernr LIKE p0000-pernr,
      begda LIKE p0000-begda,
      plans LIKE ZPOSITION-plans,  (custom)
      werks LIKE pspar-werks,
      end of i_final.
    i want to display this i_final table in alv. for that i genetrate one fieldcatalog
    PERFORM fcat USING:
                      'I_FINAL' 'PERNR' 'P0000' 'PERNR' '15' 'X' '',
                      'I_FINAL' 'BEGDA' 'P0000' 'BEGDA' '10' 'X' '',
                      'I_FINAL' 'PLANS' 'ZPOSITION' 'PLANS' '8' 'X' '',
                      'I_FINAL' 'WERKS' 'PSPAR' 'WERKS' '14' 'X' ''.
    in custom table zposition, i maintain serch help for custom field "PLANS".
    then i used reuse_alv_grid_display.. for all the std fields along wit custom fields
    i got f4 all std fields but for my custom i am not getting the f4 help
    how can i get the F$ help for this custom fields Zposition-plans..
    plz give some idea

    Hi
    In that Ztable against the field
    PLANS give the check table name as  <b>T528B</b>
    then it will automatically give the search help
    or you can create your own search help(elementary) and add to that field
    Reward if useful
    regards
    Anji

  • Search Help for Custom field in Sourcing Cockpit

    Hi SRM Experts,
    I added custom field "rush order" in the Structures as per requirement. I added code in MODIFY_SCREEN function module. Search help is working for "rush order" in Process Purchase Orders (to search PO) and Check Status (Searching Shopping Cart). But it is not working in sourcing cockpit. Please guide or suggest me is there any additional settings or programming is required to have search help for custom fields in Sourcing Cockpit.
    Thanks a lot in advance.
    Thanks,
    Koyya

    Hi SRM Experts,
    Please let me know any suggestion on this issue.
    Thanks a lot in advance.
    Thanks,
    Koyya

  • Icon for customer field (field group)

    Hello!
    We have a need to follow-up one indicator through a customer field thanks to icon (like severities).
    Do you know if it's possible to manage that with the field groups for customer field (I couldn't achieve that yet), or if we have to develop a dedicated webdynpro application for that?
    Thanks!
    Matthias

    Hi
    You need to use programs provided by SAP  to handle dynamic behaviour.
    The idea is to store your BDC data into a file. (If you are already reading
    from a file, you still may have to write to a file suitable for the
    program).
    The SAP standad program can be called using a SUBMIT.
    Here are two programs that you can try :
    For creation of Customers : RFBIDE00
    For creation of Vendors : RFBIKR00.
    Regards
    Neha

  • Strategy for Custom Fields

    Hi Everyone,
    I've a question related to handling of custom fields during upgrade.
    Scenario:
    9.0 delivered record has a custom field added to it.
    After initial pass, following happened.
    1. 9.0 delivered record was replaced by 9.2 delivered record structure
    2. Custom Field was deleted
    3. Data for the custom field was dropped too..
    Q1 What should be the best strategy to get the data and field back... Here is what I understand.
    Keep 9.2 record
    Add custom field to it.
    Import data for custom field from another 9.0 environment.
    Suggestions welcome.

    during initial move don't drop the custom added fields which are needed.
    This way you will not lose the data

  • Changed document for custom fields

    Hi All,
    For business transactions we can see <b>changed documents</b> under <b>Extras</b> menu.
    I have custom tabs & custom fields in business transaction. We need to see the custom field changes by value & user in the above menu. Is it possible? how?
    thanks,
    Bhushan

    Hi Murlidhar,
    My question is related to SAP CRM. The notes you suggested are not for CRM.
    Others, do you have any idea how to add/show records in "Extras-> Change Documents" of business transactions like Sales order, activities for custom fields not using EEWB.
    thanks,
    Bhushan

  • Negative values for Custom field in SAP coding block !

    Hi All,
    Hope all of you are doing fine.
    I need your valuable suggestion/possible workaround for the following requirement.
    u2022 The project requires me to add a custom new field to SAP coding block, which can take negative numeric values.
    u2022 The standard u201Caddition of custom fieldu201D configuration allows me to have the data type of the newly added custom field as either NUMC or CHAR. NUMC data type does not allow negative values. Standard configuration does not allow me to choose other data types (for custom field addition) like QUAN which can allow negative values (by checking the Sign at domain level in data type).
    u2022 Moreover, once I have added the custom field, itu2019s not possible to change the data type of the newly added field (say from NUMC to QUAN).
    I wanted to know if anyone of you have any project experience/knowledge about possible workaround, where we can add a custom field in SAP coding block, which can accept negative numeric values (through standard configuration or otherwise).

    No experience on that, but I strongly advise you to not trying to do something else than what was designed by SAP. So, you can create a character type field, with for example a field exit (though this technology is obsolete, it's very useful in that case) to validate its content (and reformat it if needed).
    Note that from a functional perspective, I think an amount is strange in the coding block, so maybe ask the functional people to know why they need it...

  • LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA -Adding Custom Fields

    Hi Gurus,
    I'm developing LSMW for Material Master Upload using BAPI method.
    Object:BUS1001006
    BAPI:BAPI_MATERIAL_SAVEDATA
    MESSAGE TYPE: MATMAS_BAPI
    BASIC TYPE : MATMAS_BAPI03.
    There is a requirement to use/map a custom field. Upon research custom field can be added to the parameter EXTENSIONIN and EXTENSIONINX, but I have no Idea on how to do it with LSMW. Please advise what approach is needed.
    Thanks and Regards,
    Jay

    Hi Gurus,
    I got the following code below.
    The custom field won't get updated.... Please advise on what should I do... I've checked different forums and still can't come up with the solution... Please advise..
    REPORT ztest_extend_matmas1.
    STRUCTURE
    TABLES:
    bapimathead, "Headerdata
    bapi_mara, "Clientdata
    bapi_marax, "Clientdatax
    bapi_marc, "Plantdata
    bapi_marcx, "Plantdatax
    bapi_makt, "Material description
    bapiparex, "Extensionstruktur
    bapiparexx,
    bapiret2. "Return messages
    DATA:
    bapi_te_mara LIKE bapi_te_mara,
    bapi_te_marax LIKE bapi_te_marax,
    v_file TYPE string.
    INTERNAL TABLE
    *to store the output data
    DATA:BEGIN OF it_material_number OCCURS 0.
            INCLUDE STRUCTURE bapimatinr.
    DATA:END OF it_material_number.
    *for materialtext
    DATA:BEGIN OF it_materialdesc OCCURS 0.
            INCLUDE STRUCTURE bapi_makt .
    DATA:END OF it_materialdesc.
    *für z-feld
    DATA:BEGIN OF it_bapiparex OCCURS 0.
            INCLUDE STRUCTURE bapiparex.
    DATA:END OF it_bapiparex.
    *für z-feldx
    DATA:BEGIN OF it_bapiparexx OCCURS 0.
            INCLUDE STRUCTURE bapiparexx.
    DATA:END OF it_bapiparexx.
    *to return messages
    DATA:BEGIN OF it_return2 OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA:END OF it_return2.
    DATA:BEGIN OF it_return OCCURS 0.
            INCLUDE STRUCTURE bapiret1.
    DATA:END OF it_return.
    DATA
    lt_messages      TYPE bapiret2_t.
    PROCESSING
    *bapimathead-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    bapimathead-ind_sector = 'P'.
    bapimathead-matl_type = 'AEM'.
    bapimathead-basic_view = 'X'.
    bapimathead-purchase_view = 'X'.
    bapimathead-inp_fld_check = 'I'.
    *bapimathead-BASIC_VIEW = 'X'.
    *bapimathead-SALES_VIEW = 'X'.
    *bapimathead-PURCHASE_VIEW = 'X'.
    *bapimathead-MRP_VIEW = 'X'.
    *bapimathead-FORECAST_VIEW = 'X'.
    *bapimathead-WORK_SCHED_VIEW = 'X'.
    *bapimathead-PRT_VIEW = 'X'.
    *bapimathead-STORAGE_VIEW = 'X'.
    *bapimathead-WAREHOUSE_VIEW = 'X'.
    bapi_mara-matl_group = '0001'.
    bapi_mara-old_mat_no = '100-251'.
    bapi_mara-base_uom = 'ST'.
    bapi_marax-matl_group = 'X'.
    bapi_marax-old_mat_no = 'X'.
    bapi_marax-base_uom = 'X'.
    bapi_marc-plant = '1000'.
    bapi_marcx-plant = '1000'.
    it_materialdesc-langu = 'EN'.
    it_materialdesc-matl_desc = 'DESC'.
    APPEND it_materialdesc.
    *bapi_te_mara-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_mara-zzforst = '4148'.
    bapi_te_mara-material = '100-2520'.
    bapi_te_mara-zzmar_field1 = '4148'.
    *bapi_te_marax-material = it_material_number-material.
    bapimathead-material = '100-2520'.
    *bapi_te_marax-zzforst = 'X'.
    bapi_te_marax-material  = '100-2520'.
    bapi_te_marax-zzmar_field1 = 'X'.
    it_bapiparex-structure = 'BAPI_TE_MARA'.
    it_bapiparex-valuepart1 = bapi_te_mara.
    APPEND it_bapiparex.
    it_bapiparexx-structure = 'BAPI_TE_MARAX'.
    it_bapiparexx-valuepart1 = bapi_te_marax.
    APPEND it_bapiparexx.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        headdata            = bapimathead
        clientdata          = bapi_mara
        clientdatax         = bapi_marax
        plantdata           = bapi_marc
        plantdatax          = bapi_marcx
      IMPORTING
        return              = it_return2
      TABLES
        materialdescription = it_materialdesc
        extensionin         = it_bapiparex
        extensioninx        = it_bapiparexx
        returnmessages      = lt_messages.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    THanks and Regards,
    Jay
    Edited by: jhayyy on May 17, 2011 6:54 AM

Maybe you are looking for

  • Trying to copy Tiger's iCal data to a clean install of Leopard...

    I have just clean-installed Leopard onto my MacBook, after having done a complete backup of my entire hard drive. I have not used Apple's own Backup software, but rather a 3rd-party backup application, which effectively has just cloned my Tiger drive

  • Color management for flash player with hardware acceleration

    I have tested the color management for flash player 10.2 with and without hardware acceleration (GPU) on different PCs with different video cards. Videos that are played via flash without hardware acceleration on PC have proper color as designed in A

  • My skype doesn't work anymore - I think.

    G'day Skype, When I log into skype it comes up with the following message 'Skype home is unavailable at the moment - check back later to see your news and messages'.  This has been the situation for weeks.  I've uninstalled and reinstalled skype twic

  • Transferring iPhone apps to a different iTunes library

    Hello! I accidentally purchased two apps from within an iTunes Library that isn't the one I use to sync my iPhone 3G. I moved the .ipa files from the Mobile Applications folder of the incorrect Library to that folder in the proper iTunes Library, but

  • Allow saving ad hoc query in production system

    Hi Gurus, I am trying to allow saving and modification of queries withing Global Area (Cross-client) by if i try to save created query, an error occurs with following text: SAP System has status 'not modifiable' There is  a performance assistance mem