Pricing Redetermination when custom field changes ON Additioanl data B Tab

Hi All Experts,
I have added new custom field(ZZ_STCEG, ZZ_ASTCEG and ZZ_MSTCEG) on Addititonal data Tab B. Before that i added those fields in KOMP(ZZ_STCEG) and VBAP(ZZ_STCEG, ZZ_ASTCEG and ZZ_MSTCEG).
I have a function module which gives output EX_STCEG.
Now i need to assign the ZZ_STCEG to ZZ_ASTCEG as it is determined by system. If i enter value in Manual field(ZZ_MSTCEG) this should be used for pricing and also assign it to ZZ_STCEG. (Note: But ZZ_ASTCEG should not be changed as it is automatically determined beforre.)
I have programmed in UserExit_Pricing_Prepare_TKOMP as below.
Call to function module(output ex_stceg)
vbap-zz_astceg = ex_Stceg.
if vbap-zz_mstceg is not initial.
vbap-zz_stceg = vbap-zz_mstceg.
tkomp-zz_stceg = vbap-zz_mstceg.
else.
vbap-zz_stceg = vbap-ex_stceg.
tkomp-zz_stceg = vbap-ex_stceg.
endif.
But it is not working as intended. I think because Vbap_zz_Mstceg doesnot have value during pricing because we fill it after the pricing in additional data tab B.
Please suggest me how to proceed with this situation.
Thanks & regards,
NarsiReddy.

In your screen 8309, you can do like below, when you hit enter in the field the princing will be recalculated:
FIELD VBAP-ZZ_STCEG MODULE zm_blablala ON REQUEST.
MODULE zm_blablabla.
* This standard perform will do the pricing redetermination
     PERFORM preisfindung_gesamt USING 'C'.
ENDMODULE.
Regards,
Felipe Simionatto

Similar Messages

  • Send designer workflow email when certain fields changed?

    Is there any way we can handle SharePoint designer workflow sending email. If certain fields only changes. 
    Like checking with previous value and and current values, if it is different and send email. Now I am able to sending email when list item changes, it doesn't matter which field changes. That way emails are flooding into inbox. 
    I want send emails when couple fields changes only. 
    Help is appreciated 
    ItsMeSri SP 2013 Foundation

    Yes very much possible to send email of specific fields change, however workflow will run on each edit but only proceed further when those specific field changes. Keep some hidden column which always will keep changed value for those column. When new value
    suppose to change, check with this hidden column values, if different then send mail and update else, stop workflow.
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • How to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO?

    Hi Experts
    i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
    i am doing below steps for this.
    1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"  
    add the below entry
    Bus. Object Set Type  : I am trying 7 and 29
    Structure Field Name  : ZZfield
    Bus. Object Type       : BUS2121/BUS2201
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    Can anyone has the idea of this?
    Thanks
    Rohit

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

  • Add customer field on operation user data. Tr IA05 - IA06

    Hello,
    I would add customer field on operation user data on transactions IA05 - IA06. All user fields aren't available because used.
    Is there an enhancement for this on screen "operation user data" ? or can we active a custom screen ?
    Thanks all.
    Best regards

    Hi,
       Welcome To SDN!!
    Check the following user exits .
    CPAU0001
    CPDO0001
    XCZD0004 .
    Regards
    Kiran Sure

  • Any one know how to use "custom" option present under the data access tab in XLS file format of Data Services

    Hi Experts,
            Any one know how to use or what is the purpose of "custom" option present under the data access tab in Excel workbook file format of Data Services
    Thanks in Advance,
    Rajesh.

    Rajesh, what is the Custom Protocol you are trying to use? It should be  something like PSFTP, etc.,
    Cheers
    Ganesh Sampath

  • Trigger CIF during custom field change on Purchase Req. and PO

    Hi,
    We added a custom date field in Purchase Req. and Purchase Order transactions (ME52N/ME22N) in ECC. When this custom field gets changed along with any other standard field, outbound CIF process happens. However, when we change this custom field only, then outbound CIF doesn't happen. I believe we need change pointers and may be custom code to trigger outbound CIF. I would appreciate any suggestions on how to achieve this functionality.
    Thanks.
    Naveen

    Hello Naveen,
    Use user exit EXIT_SAPLMEAP_001 here, the structure CIFPUORCUS must be enhanced with custom fields so that the document date can be included (IT_OUTPUT_CUS).transferred to CT_MM_DOC. You need to fill EBAN and EKPO for change transfer. Also you can have the background job for RIMODINI to transfer the changes.
    Best Regards,
    R.Brahmankar

  • Custom field changes in Project 2010

    Is there a last-modified-date indicator in one of the databases to indicate when a custom field was changed? For example, I want to know when a custom field called project-phase (not workflow) has changed from one value to the next within a PDP. 
    The purpose is to produce a report that indicates the progression of a project from one phase to the next (plan-analyze-design, etc.).

    this question is closed - but for what you asked for the basic query provided  gave you the custom field modified date which would be more precise then the project modified date - 
    The below query will get you the information you want
    YOU put in the project GUID  OR the GUID of the Custom Field and this will return the tasks and project name it will also show you the difference (at least it did in my DB) the project modified data versus the task/custom field modified date which is
    also what you asked for...
    USE ProjectSevrerDraft
    SELECT
    mscf.MD_PROP_NAME as "Custom Field",
    mstcv.MD_PROP_ID as "MD PROP ID - can remove",
    proj.PROJ_NAME as "Project Name",
    proj.MOD_DATE as "Project Modified Date",
    mst.TASK_NAME as "Task Name",
    mstcv.CREATED_DATE as "Task Created Date",
    mstcv.MOD_DATE as "Task Modified Date"
    FROM MSP_TASK_CUSTOM_FIELD)VALUES mstcv
    JOIN MSP_PROJECTS proj
    ON mstcv.PROJ_UID=proj.PROJ_UID
    JOIN MSP_TASKS mst
    ON mstcb.TASK_UID=mst.TASK_UID
    JOIN [ProjectServerPublished].[dbo].[MSP_CUSTOM_FIELDS] mscf
    ON mscf.MD_PROP_ID=mstcv.MD_PROP_ID
    -- You can select either below un-comment out the '--'
    -- And insert what you want - the project or Custom field
    -- GUID will help. The PROJ_UID is found under MSP_PROJECTS
    -- THE MD_PROP_ID is found under the published database in
    -- the MSP_CUSTOM_FIELDS table
    --WHERE mstcv.PROJ_UID =' GUID OF PROJECT'
    --WHERE mstcv.MD_PROP_ID = 'GUID OF CUSTOM FIELD'

  • Tracking Custom field changes

    Hi Experts,
    I need to find when was a value being inserted/updated/deleted for a custom field in a database table.
    E.g. if in KNA1 I have a custom field ZZTEST...
    I need to know when was this field last used i.e. when was the last time that a value was inserted/updated/deleted from this field.
    Is there any standard program/function module which will help us solve this issue?
    Thanks!

    U can track changes of the custom table using change documents.
    Let me explain you tracking process in deatil so that u can look further in that direction. I am taking example of KNA1 table. Only those fields of the table are tracked through change documents for which  change document is checked at data element level. U can find change document check box at data element level under further characteristics tab.Now for all fields of custom table ( z table) for which u want to track changes u need to check this box.
    All the change data for standarad table tracked through change documents is stored in tables CDHDR & CDPOS.
    CDHDR -> Change document header
    CDPOS--> Change document items
    All data is stored w.r.t OBJECTCLAS. OBJECTCLAS groups various tables of similiar business process for tracking changes.
    Whenver u make any changes in fields marked with change document ................. a change number for the table w.r.t to  OBJECTCLAS is generated in CDHDR table.Using this change number and OBJECTCLAS  we can extract all change details from CDPOS table.
    i.e  VERKBELEG is OBJECTCLAS for all SD related tables(vbak ,vbap,vbuk etc...).
    U need to do following actvities to track changes:---
    1>  Got to custom table and at data element level check the box change document.
    2> Go to SCDO and create the custom OBJECTCLAS for ur table.
    hope u understood basic concept behind it and will look in this direction to solve ur problem.

  • Material bapi custom field change to be logged in change document

    Hello all,
    I have just added a custom field to MARA table (materials), and updated it successfully via BAPI_MATERIAL_SAVEDATA.
    I would like now to log changes via change documents but problem : after having changed value from "A" to "B" for example, I don't see the changes (to do this, I call function CHANGEDOCUMENT_READ with parameter OBJECTCLASS = "MATERIAL" and get results from returned EDITPOS parameter).
    What is surprising me is that I can see changes of other standard and custom fields (this was done by other people in my company 2 years before but I don't have any trace what they did).
    Do you have any idea what customizing need to be changed or what else need to be done, to log changes of new custom fields into change documents?
    Thanks a lot.
    sandra

    In this transaction, there is nothing related to fields; there are only objects (like MATERIAL) and tables (like MARA).
    I can't see anything which makes the difference between our 2 custom fields MARA-ZZCOLLANA (which is logged in change documents) and MARA-ZZSSCOLL (which is not logged in change documents).
    For info, my SAP version is R/3 46C.

  • How to force updatedisplaylist in a skin when custom property changes

    Hi Folks,
    I have created a custom component based on a Spark Button.  In that custom component I have added a single, public, bindable property - let's call it Fred.
    I also have a custom skin, based on the Spark Button skin.  It's basically just like the delivered skin, just a bit different graphics stuff.  I have applied the custom skin to the custom button component.  So far, so good.  However...
    When a user action causes the Fred property to change on a custom button instance, I need my custom skin to re-draw something.  It appears that I need the skin's updateDisplayList function to fire.  Unfortunately, it appears that the only time that it fires is when "real" properties are changed, like 'left' or 'width'.  How can I get the custom skin to updateDisplayList when this fake, custom property changes?
    p.s. - the custom skin can 'read' the custom Fred property just fine.  And, if I set the Fred property and then 'mouse over' the custom button instance, the updateDisplayList fires...too late of course, but it does fire.
    I have read the docs, but there is not much written about updateDisplayList, or when it fires, or how to make it fire.
    Thanks,
    -David

    Good question...in my skin's 'creationComplete' event I call a function in the skin.  That function 'evaluates' the host component's Fred propertey, and based on what it finds, it draws some stuff:
    protected function doSpecialDrawing():void
         var hostFred:String = hostComponent.Fred;
         if (hostFred == "certain_value")
              //set some property in one of the path objects in my skin to a certain value
         else if (hostFred == "other_value")
              //set some property in one of the path objects in my skin to some other value
    When I created the skin, I did not anticipate the need to dynamically respond to setting the Fred property/value.
    I've placed a call to the 'doSpecialDrawing' function inside the skin's updateDisplayList, but unfortunately, the updateDisplayList does not seem to get called in real-time when I set the Fred property in a custom button instance.
    I'm all ears here... still a beginner/novice with Flex...
    Thanks,
    -David

  • CRM 5.0 pricing...custom fields

    Hello folks,
    I'm currently working on pricing configure in CRM 5.0
    I have 3 new custom fields on the Service Order (item level) for which I need to set pricing along with fields - Sales Org and Product.
    As the 3 "new" fields were not present in the Field Catalog, I added them on the catalog.
    I created new condition tables/ new access seq./ new conditions types / new pricing procedure. Also the pricing determination is set.
    Questions:
    0) Have I missed any steps?
    1) How do I maintain the condition records for the "Z" condition type? Is MasterData-->Prices and Conditions --> /SAP CND/GCM - MC the right place to set the condition records?
    2) What communication structure needs to be updated for these 3 new custom field on the item level? CRMT_CUSTOMER_I_INT? Is this automatic or manual? 
    3) Can anyone provide me some pricing cookbook?
    my email id is [email protected]
    Please help !!
    I'll generously reward the points.
    Regards,
    Amey

    Hi jai
    i've benn using this object to download pricing configuration in QAS and PROD environment even if, as matter of fact, it's not the best practice.
    I suggest to create a Z adapter object with filters on relevant tables and then to run it also in QAS and PROD env.
    The client, of course, should be open to customizing and workbench modification otherwise you're not able at all to download all the objects.
    Regards
    Carmine

  • Custom Field in Asset Master Data

    Dear Experts,
    I want to ask about a problem I'm having when adding a new field in Asset Master Data ( AS01 & AS02 ).
    I'm adding new field on the Time-dependent Tab. I already create the exit & the new custom field, and with the help of the functional registered the new field.
    I'm using a new installed SAP GUI 7.3 .
    The problem is that the new field doesn't appear when I access the tcode unless I click on the new field location.
    The problem seem doesn't appear in SAP GUI 7.1 & 7.2.
    Is there any setting that need to be done or this is the problem with the SAP GUI 7.3
    Thank you.

    Hi Karim
    You can go through the steps below to customize the field u2018Planned. retirement onu2019
    1, AS02 -> Menu: Environment -> screen layout -> Master data -> select layout and double click on Logic field group -> Select Logic field group 2 u2018Posting informationu2019 and double click on field group rules -> Change field group 13 to u2018Suppressed entry fieldu2019.
    Alternatively
    2, Use AO21 to customize the field as above.
    Note: field u2018Planned. retirement onu2019 in asset master is connected to the function u2018Simulate up to planned retirement dateu2019 in asset reports. After field u2018Planned. retirement onu2019 of asset master data is deactivated, the function u2018Simulate up to planned retirement dateu2019 in asset report will be disabled.
    Hope itu2019s helpful
    George

  • Saving custom fields to MSEG added in additional TAB in MIGO transaction

    Hi Experts,
    I am facing an issue with an enhancement in MIGO transaction for which i need help. I have gone through several threads with similar issues but none of them have solved my issue. I have worked around with all BADIs of MIGO and user exits available but to no avail so I am posting a new thread.
    The requirement is pretty straight forward of adding a custom TAB in item details section of MIGO transaction. I have done that using BADI: MB_MIGO_BADI, method PBO_DETAIL. I created a screen with my custom fields and passed them in this method. The TAB appears as expected with all the fields. The custom fields are in MSEG table which has been enhanced and it needs to be updated with the user values on the screen.
    The issue creeps in when there are multiple materials in the purchasing document and user works around with them. Say he clicks on the second material and in the custom TAB changes its details in custom fields. Now he clicks on the fourth material and changes its details. Continues this for all the materials in random order. How do i identify in my custom screen [developed separately and called in PBO_DETAIL of the BADI] which details belong to which material or line number. The only way to do it is by using the purchasing order number and line item number. These are not available in my custom screen and needs to be exported from somewhere and imported there. I have not been able to identify the point where export can be done.
    Can anyone help me out with this problem? Either the point where export can be done or any other way of identifying the link between the line number / material number and the custom field details entered by the user.
    Thanks,
    Ritvik

    Hi Ritvik,
    you will not need it.
    The item methods will process exactly the item what the addional item data are related to. In PBO_DETAIL and PAI_DETAIL, use parameter I_LINE_ID for the item reference.
    Note: Not only read SCN etc,  also the parameters desciption of the methods used.
    Regards,
    Clemens

  • Custom field in Account Master Data Tcode BCA_CN_ACCT_03 - Display Account

    Hi all,
    I want to add a custom field in Basic Data tab of display account screen : Tcode BCA_CN_ACCT_03. 
    Please give step-by-step solution.
    Points assured!
    Jogdand M B
    Edited by: Jogdand M B on May 19, 2008 5:36 PM

    Solved by myself
    I write here the response because I didn't found it anywhere:
    When you are adding a custom field to MAKT table you have to add it to appending structres SKTEXT and DMAKT too because the standard uses them to read/write the data to MAKT. It's easy to do but hard to find out

  • Sales Order Workflow to trigger when there is change in PO date

    Hi All
         I have a requirement, I have to  trigger a work flow when ever there is a change in a po date of Sales Order(VA02). I have created a workflow and added entry into events tab of header, and in SWEC I have added an entry as follows
    Change doc. object        VERKBELEG
    Object Category            BOR Object type
    Object Type                  BUS2032
    Event                            CHANGED
    in field restriction I have added the follow entry for puchase order date
    Table            VBKD
    Field Name   BSTKD
    Old Value     *
    New Value    *
    But when ever I change the sales order the workflow is triggering when ever there is a change in any field instead of PO Date Field.
    Whats wrong in my Workflow can anybody please  help me.
    Thanks in Advance

    Hi Ranjith,
    Find a user-exit/BADi that triggers when the Sales order is saved. Now in this user-exit or BADi check the values for PO date (old value & new value). If both are same set a flag to Y and or else set it to X.
    Now if the flag is X, use the Function module SAP_WAPI_CREATE_EVENT or SWE_EVENT_CREATE to trigger the workflow.
    Regards,
    Raj

Maybe you are looking for

  • Chart Error - scroller positions should be positive and integer

    <p> Hello Expert I have created a flash chart with two filters on the chart region. i) ‘Select list with submit' ----- (:P23_TRC) ii) ‘Radio button with submit' -----(:P23_IMPACTC) The chart should display as per the filters selection. However, I get

  • SAMSUNG MINI DV CAMCORDER NOT SEEN BY GIGABIT G4

    I have two Macs (a 350Mhz Yikes! PCI Graphics with 512mb & a Dual 450MHz Gigabit Ethernet with 1.5GB). Both machines are running OS 10.2.8, and have iMovie 3 installed. I tried to connect my Samsung Mini DV (SC-D6550) to the DP G4 via Firewire...but

  • What the hell is this? Calendar Month View

    I'm including a screenshot to help me with this. On the dates that i have stuff scheduled on, there is some weird text occupying the squares. Tried google translate, no luck.  What is that? http://img543.imageshack.us/img543/5118/captureula​.png

  • Xperia Z2 screen flickers white color white screen is on after receiving notification

    I would like to bring to your notice that i bought new xperia z2 on 14 june 2015, the next day onwards i faced display problem ( screen flickers), i recorded that as evidence and submitted for DOA request after many follow ups i got approval. Yesterd

  • Does turning off backup erase existing backups?

    I was surprised to find all my iphone and ipad backups on iCloud had disappeared! It seems as if disabling (switching off) auto backups in the device settings ERASES all existing backups WITHOUT warning! Since the autoback runs whenever the device is