F-02 BDC DERIVATION RULE PROBLEM

Hi,
      I am not getting derivation option button for profit segment while I am recording with SHDB ,but I could get in normal posting in tcode : F-02  ,could you suggest how to handle it .
    The screens while I am posting are getting different for different G/L accounts with different screen fields,pls.. suggest how to handle it too.
Thanks & Regards,
Maheswar.A.U.

Hi,
Each G/L account has a field status group. The screens in F-02 are dependant on the field staus group for that account.
Go to transaction FS00 and find the accounts that you will be using and the field status group and the fields that you must enter. This will tell you the screens that you will be getting in the F-02 transaction.
The field status group for a particular account is available in table SKB1 and the field is FSTAG.
Now populate the BDCDATA structure with the screen details that will popup for that particular account and the field status group.
Ex: If SKB1-FSTG eq G003.
       ...... (fill the bdcdata for the screens that would popup for this account group.)
      endif.
Regards,
Ravi

Similar Messages

  • Derivation Rule Problem - Sales Order -CHALLENGE TO ALL SD CONSULTANTS

    Hi Friends
    I am stuck on i very critical issue, i am not able to solve it, I am SD consultant, i wrote this issue on FI forum also, but i did not get complete solution, they write me back it is SD issue.
    When i create a new sales order and click enter, a small screen open and message displayed on it "Error occurred in Derivation Rule, See long text"
    And when try to save sales order in display incompletion log. When i press on edit to complete it message display " Item 10 ... Missing data- Profitability Segment No.
    When i press on complete data - Account Assignment screen open (Business Area 9900)
    Would you please send me solution with complete path to fix this problem
    If you can give your email address, i will send you screen shot of the problem.
    I have tried KEDR transaction issue also but nothing happened.
    This is BIG challenge to all SD consultants now. Send me step by step solution
    If you send my your email id, i will send actual error saved in word format.
    Thanks
    Rajesh
    Email: [email protected]

    Good luck!
    to get a solution you need to provide the members of this forum with details regarding your PA set-up.
    PA is normally very customer driven, so not standard.
    Without information regarding your structure there you will not get any solution.
    GL
    Hein

  • Derivation Rule Problem - Sales Order

    Hi Friends
    I am SD consultant, i wrote this issue on SD forum also, but it is related to FICO.
    Please send me solution with complete path.
    When i create a new sals order and click enter, a small screen open and message displayed on it "Error occured in Derivation Rule, Seee long text"
    And when try to save sales order in display incompletion log. When i press on edit to complete it message diaplay " Item 10 ... Missing data- Profitability Segment No.
    When i press on complete data - Account Assignment screen open (Business Area 9900)
    Would you please send me solution to fix this problem
    If you can give your email address, i will send you screen shot of the problem.
    Thanks
    Rajesh
    Email: [email protected]

    Hi Waman
    I ckeck the transaction code /nKEDR there which entry i should select and in type of prfatibity Which one i should select Costing based or Accounting based.
    I tried on selecting IDEA and Accounting based and eleased but still i getting same error.
    My problem is still pending, please send next step to solve this issue
    Thanks
    Raj
    Email: [email protected]

  • Derivation Rule Problem After A Client Copy

    Hello,
    Has anyone ever encountered a problem with derivation rules after a client copy is performed? After a client copy, we have "some" FM and GM derivation rules (not all of them) that have to be manually copied from the source to the target client (line by line by line by line). I'm thinking that there has to be a way to prevent this since some rules are fine after the clent copy. Your input would be greatly appreciated.
    Will

    I believe that we have resoved our issue. For the derivation rule values that would never copy, we re-created these again starting in DEV and transported the derivation rules throughout the entire landscape (QAS and PRD). Evidently some derivation rules (and the related values stored in the tables) were created directly in Production. During a client copy the values in the tables for the derivation rules that were created directly in our Production environment would not copy to our QAS environment. Those rules were stored in a table named FMFMOAPRD1000122. Note that PRD is in the table name. After re-creating the rule and transporting it through the landscape, the table was named FMFMOADEV1000152 (for example).

  • Derivation rules: problems w/ time-dependence

    Community!
    I have an issue with the derivation rules after an organizational restructuring which occured <u>during</u> the fiscal year.
    Let's say we have the following derivation rules:
    Derivation Rule 1 (before organizational change from 01.01.2006):
    a -> b -> c
    Derivation Rule 2 (after organizational change - from 01.07.2006):
    a -> c
    Now (in regards to a restatement for the year 2006) I want to switch off the derivation rule 1 for the second half of the year. Therefore I can only limit the valid-to date of the entries, but not of the derivation rule 1 itself!
    When I try to book something after the 01.07.2006, an error exception is coming up, telling that derivation rule 1 is missing the correct entry. But I actually don't want this rule to be valid after 01.07.2006!!!!! I only want Rule 2 to be valid for this time-period!
    Is there a possibility to limit the complete derivation rule so that SAP will not jump inside and look for a valid entry? Or, do you have any other ideas on how to solve this problem?
    Thanks for your help in advance,
    Bjoern

    Hi,
    Good evening and greetings,
    Please go through the following link
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/57/749fe2d51811d189f30000e829fbbd/frameset.htm
    Also go through the following SAP OSS Note
    Note 458951 - Derivation rules with validity date
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Transport Problem - for KEDR Derivation rule

    We are trying to create derivation rule through transaction KEDR without any values. After creating derivation rule, it is creating workbench transport request eventhough K9RE* table is client dependent.
    We have different transport routes/groups for customizing and workbench. SAP Layer is assinged to workbench transport group with one another Z* layer.
    When we are trying to create request it is creating workbench transport request eventhough it is client dependent. It is using KEG0 package which is assinged to SAP layer.
    Workbench transport are not going to all clients and we have to move request manually to other clients.
    What should we do for changing this behaviour?
    Thanks,
    Miral.

    With detailed explanation:
    I thing previous post with was not detailed enough. Please see below.
    We have created two different transport group for differentiating
    customizing and workbench transport request.
    ZECD layer is assigned to /CUST/ group where as ZWBK and SAP layer is
    assinged to /WRKB/ group.
    We are moving all client independent transports (assigned to /WRKB/
    group) to only 1 client in other systems.
    While creating derivation rule through transaction KEDR, it is not
    allowing us to assing /CUST/ group eventhough config is client dependent.
    It is using package KEG0 which is assinged to SAP layer and SAP layer isassinged to /WRKB/ group in our configuration.
    The Derivation rule config is client dependent eventhough it is creatingworkbench request. We would like to know why it is creating workbench
    request instead of customizing request.
    Thanks,
    Miral.

  • Profit centre derivation rule to derive profit centre based in Business plc

    Hi,
    We required "profit centre derivation rule to derive profit centre based in Business place + 9000 in such case were vendor & customers are involved and current profit center derivation logic doesnu2019t work."
    For this we have mapped a substitution pertaining to all co. codes based on all the relevant posting keys for Vendor and Customer where in system will replace the profit center based on business place given in line item as Business Place + 9000. For happening this we have written a User Exit and attached the same with this substitution through t.code OBBH. Entire hting we mapped in our testing client.
    But now the problem is whatever posting keys we have defined in our substitution are being used in normal payment and clearing also.
    Eg : In payment document vendor is debited vide posting key No 25. where the profit centre is derived based on the invoice that gets selected.
    In Normal Payment and clearing transactions, the profit centre is derived based on the profit center in offsetting line items (as per New GL Logic) currently.
    Now our business requires that where ever the system is unable to derive a profit centre for vendor and customer (And giving the error " Balancing field profit center in line item 001 not filled") transactions, then at that time profit center for that line item should replace with logic Business Place + 9000 (here business place is the business place contained by that line item in which error is coming for profit center.).
    How to map the same in the system through substitution / exit or any other method? Awaiting for your inputs pls. Thanks in advance.
    Tapan

    Still not answered.
    Requesting to give some clue for the same.
    Thanks & Regards,
    Tapan

  • FM DERIVER Custom field in Derivation Rule

    Hi Experts,
    I want to have a custom field while defining Derivation Rule in TCODE FMDERIVE, the field I require is Storage Location LGORT. Inorder to achieve this I have used Customer Include in structure FMDERIVE and inserted field LGORT.
    Now the problem is that when I am defining my custom Derivation Rule using custom field Storage Location, the rule is not determined.
    Could u please help me in this.
    Thanks n Regards
    Rohit

    Hi
    Go to
    Spro -PSFM-FMG-Master Data-Allocation to account assignment from other components -select derivation steps
    here u selct 3 option
    cost center to commitment-item/fund ctr/fund function
    then define account assignment derivation
    here u define Derivation rule whcihever u define
    here u find tables and field whichever u find
    if nay query, revert back
    Regards
    Roobal

  • Derivation Rule Tables

    My users have created some transparent tables using the derivation rules in the Grants Management module.  I need to read these tables in a Z program.  The issue is, when the rule is run in each client the table name is generated by the system and varies from client to client.  Does anyone know of a way to get these table names dynamically either from a function module or another table? 
    Thank you,
    Becky

    Hi,
    Is there any solution to the above problem. I am also facing the same problem, as to how to get the derivation rules tables.
    Thanks in advance,
    Lalitha

  • COPA Derivation rule not running in background

    Hi all
    We are encountering a strange problem during derviation in document posting & creation of assets.
    We have added a characteristic value Material group to the profitability segment and have added a derivation rule in KEDR based on order.
    The rule is if the value of order number is filled then the material group is assigned a value.
    Order number          Assigned         Material Group
    Z0000000001              =                        001210
    The problem is that we have to manually go into the PA segment and click the derivation button OR just press enter to get the derivation working.
    If we do not access the PA segment area then the derivation is not carried out in the background.
    I have tried searching for notes and for some relevancy on the forums.
    I have also taken screen-shots and uploaded them, please view in order.
    Derivation Rule
    http://i116.photobucket.com/albums/o23/zkage/Deriv1.jpg
    Document Posting(Deriv rule not picked even order is placed)
    http://i116.photobucket.com/albums/o23/zkage/deriv2.jpg
    The PA segment before pressing enter or the button derivation
    http://i116.photobucket.com/albums/o23/zkage/deriv4.jpg
    The PA segment after pressing the button
    http://i116.photobucket.com/albums/o23/zkage/deriv3.jpg
    We require that the derivation runs in the background after we enter the line item details. The system is not picking the derivation if we directly post the document without checking the PA segment.
    If there is some BADI or user exit we could use to manually replace the COPA characteristics explicitly at document posting, please let me know
    Thank You

    Hi,
    You have to use the rule,
    Moves it let you copy a constant or the content of the source field to target field.
    With regards
    krishna

  • Derivation Rule for Partner Function

    Dear Experts
    I have some questions about COPA derivation rule.
    I attempted to input a number for remark by using the partner function u201Ccontactu201D field in biling table (KNVP-PANRN).
    Itu2019s always occurred error while SD entered PGI after I configuring the derivation rules.
    My derivation rules as following:
    Source Fields
    KNVP     KUNNR     >>CO-PA     KNDNR
    KNVP     VKORG     >>CO-PA     VKORG
    KNVP     VTWEG     >>CO-PA     VTWEG
    KNVP     SPART     >>CO-PA     SPART
    KNVP     PARVW     >>GLOBAL USERTEMP3 (use MOVE for constant=CP in last step)                                    
    KNVP     PARZA     >>GLOBAL USERTEMP4 (use MOVE for constant=000 in last step)
    Target Fields
    KNVP    PARNR  >>CO-PA WW001
    Seems probably have some problems.
    Could Experts give me a hint?

    Problem solved.
    I just set my constant numbers wrong.

  • Derivation rule for service agreement

    Dear Gurus,
    I have derivation rules between GL-commitment item and Cost center - Fund center. now when i create PR & standard PO for type "cost center" the system is working properly by derives fund center and commitment item automatically but when i create service agreement the system doesn't derive fund center and commitment item. If anyone have any suggestions, please let me know.

    Are there any conditions to the derivation rule?
    In my QA system, I was able to create a derivation rule GL=Committment item. It worked the first time I created a scheduling agreement using ME31L.
    Then I went into the "conditon" tab of the derivation rule and entered business transaction=RMBA and RMBE (purchase requisition and purchase order respectively) and the derivation rule did not work when i created another scheduling agreement.
    Other than some conditions exist or the target field attribute is needed to be set to overwrite. I am at a loss to what the problem could be.

  • KE21N with reference - copy old copa records without applying new derivation rule

    Dear all,
    does anyone have a clue how to make this:
    We would like to copy some old COPA line items but face the problem that doing KE21N with a reference document the old derivation is overwritten in the moment the document is saved.
    Is there any possibility to copy the old document and also the old derivations?
    Thank you a lot
    Kind regards
    Birgit Seeger

    Hi Birgit
    The only way I can think of is to enter the char values as you want directly in ke21n. You may Need to temporarily change your derivation rules to not derive the char values if the same is already filled
    Just click on the magnifying lens icon beside the Target field inside your derivation rule and you change setting
    Br. Ajay M

  • CO Order type in derivation rule

    Hi,
    I want to derive fund centers based on Plant Maintenance Order Type. But field 'Order Type' is not available in FM derivation rules. Can I add some user fields such as Order Type.
    Regards
    Manish

    Hi Eli,
    I tried the solution suggested by yourself. My problem is that i am not getting the target field 'Order Type' to assign the same to function module.
    I can see Order type field in function module table fields but as i have to assign it to target fields as 'Order Type;, system does not give me option of 'Order Type' in drop down menu.
    Regards

  • Derivation rules  table name KEDE

    Hi,
    I have to fetch the values from Derivation rules maintained in KEDE & 8KER. But the derivation tables names are created by system and the names are system dependent and client dependent.                       
    Eg :  K9RS013900010 where S01 is my development system and 390 is the client. If the derivation rule is created in Quality and Production systems, the Table names will differ accordingly.
    Is there any solution to the above problem.  Is there any FM or some way to get the derivation table name.
    Thanks in advance,
    Vishnu Priya

    The derivation rules tables exist in table TKEDRS ( field Method = 'DRULE' )

Maybe you are looking for

  • How do I delete a calendar event in my iphone?

    How do I delete a calendar event in my iphone? It allows me to "edit" the event but not to totally delete it. Or at least I can't seem to find a "delete" option anywhere!

  • Looking for a drawing app like Appleworks drawing to use with Yosemite

    Can someone tell me the name of a drawing application, similar to Appleworks Drawing, that can be used on OS 10.10 Yosemite?  I'd like to upgrade to Yosemite but it doesn't support Appleworks.

  • Not able to synchronize files

    I have a pc and work with Windows 7. I have upgraded to Dreamweaver CC 2014. I work on two different sites. I tried to synchronize files in one of them and It doesn't work. The other other works. I have used this troubleshoot page from Adobe Troubles

  • Materialized View - 9i and 10g

    Hello, I have some questions: 1. What are the differences in Materialized View between Oracle 9i and 10g? 2. It is said that in 9i, Materialized View does not support self join, is it true? Does 10g has this restriction? 3. It is said that in 10g, th

  • Where is the video folder

    Can anyone tell me where on my hard drive the video's I have loaded onto my iweb page are kept. I am sure I have found them before but just can't find them this time. They all work find it's just that I need to find them. Regards, Wiggy.