FB50:  Profitability Segment - how to automatically populate fields

Good Morning SAP Gurus-
My client's requirement is to automatically populate the following when posting manual entries via FB50 under profitability segment:
Customer
Retail Segment 1
Distribution Channel
Product Line
Brand
Order type
How is this possible in ECC 6.0?
Thank you!

Hi,
First of all, you will have to create the various fields mentioned by you as Characteristic values in COPA using KEA5. Then include them in the operating concern using KEA0 . Depending upon how you want to populate those fields in the profitability segment, create derivation rules in KEDR. Now when you come to a point where you have to enter profitability segment fields,  using FB50, click on "Derivation" button in the pop up window. All your fields will be filled automatically. But if you are expecting to fill in the fields that should reference a sales document, it has to flow automatically when a billing document is created which in turn flows into FI and CO. Hope that helps.
Thanks,
Sony

Similar Messages

  • How to Automatically Populate fields from Style no.--All data in XML- 2nd Request

    To start with i am a noob in Livecycle, and zero knowledge in coding...<br />I basically want to create 1 dropdown list (syle #) which shall automatically refer to xml and populate different fields (qtyperinner, buyer etc.)<br /><br />Here's my XML-<br /><br /><?xml version="1.0" encoding="utf-8" standalone="yes"?><br /><br /><document><br /><row><br />150833<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>6</QtyPerInner><br /><VolofMaster>0.039</VolofMaster><br /><Buyer>Fred Meyer</Buyer><br /></row><br /><row><br />87102<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>4</QtyPerInner><br /><VolofMaster>0.034</VolofMaster><br /><Buyer>Fred Meyer</Buyer><br /></row><br /><row><br />821011<br /><QtyPerMaster>50</QtyPerMaster><br /><QtyPerInner>50</QtyPerInner><br /><VolofMaster>0.053</VolofMaster><br /><Buyer>Insource</Buyer><br /></row><br /><row><br />110609<br /><QtyPerMaster>12</QtyPerMaster><br /><QtyPerInner>2</QtyPerInner><br /><VolofMaster>0.022</VolofMaster><br /><Buyer>Indigo</Buyer><br /></row><br /><row><br />110608<br /><QtyPerMaster>24</QtyPerMaster><br /><QtyPerInner>6</QtyPerInner><br /><VolofMaster>0.024</VolofMaster><br /><Buyer>Indigo</Buyer><br /></row><br /><br /><row><br />150785<br /><QtyPerMaster>12</QtyPerMaster><br /><QtyPerInner>2</QtyPerInner><br /><VolofMaster>0.055</VolofMaster><br /><Buyer>Pier 1</Buyer><br /></row><br /></document><br />_______________________________________________________<br /><br />Have already managed to create dropdown with style number...and it works!!<br />(and have connected the XML with form properties as well as data binding)<br />please advice how to link/bind style # field with the rest of the text boxes to generate data underneath that particular style number from the XML.<br />it could very well be possible that my XML is written wrong (without heirachy or something)...if so also advice how that needs to be with an example...kindly make sure to advice in great detail as i would'nt understand otherwise.<br /><br />Question 2:- Based on the "style #" selection i want an image to be populated from C: (it should search the whole drive to find filename/style number) Please advice.<br /><br />Lastly i have already looked at the Purchase Order sample PDF which came with LiveCycle..and it doesnt seem to be of much help.<br />Thanks in Advance-<br />AK Dolven

    Hi Judy,
    I think you need to programatically set the layout and copies options for your XML publisher concurrent program using FND_REQUEST.ADD_LAYOUT before calling FND_REQUEST.SUBMIT_REQUEST.
    Thanks
    Shailendra

  • Automatically populate fields in jsp documents based on other fields

    hello guys. I have a jsp document
    that has the following
    <af:inputText value="#{bindings.SourceDocumentId.inputValue}"
    label="#{bindings.SourceDocumentId.label}"
    required="#{bindings.SourceDocumentId.mandatory}"
    columns="#{bindings.SourceDocumentId.displayWidth}"
    binding="#{backing_transactions_editTransactions.docId}"
    id="docId">
    <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.SourceDocumentId.format}"/>
    </af:inputText>
    <af:inputText value="#{bindings.DocumentName.inputValue}"
    label="#{bindings.DocumentName.label}"
    required="#{bindings.DocumentName.mandatory}"
    columns="#{bindings.DocumentName.displayWidth}"
    binding="#{backing_transactions_editTransactions.docName}"
    id="docName">
    <af:validator binding="#{bindings.DocumentName.validator}"/>
    </af:inputText>
    And I have created the generated the backing beans automatically.
    public class EditTransactions {
    private CoreInputText docId;
    private CoreInputText docName;
    public CoreInputText getDocId() {
    return docId;
    public void setDocName(CoreInputText inputText7) {
    this.docName = inputText7;
    public CoreInputText getDocName() {
    return docName;
    I have a method in appmodule that has this
    public String getDocName(Number docId)
    {String docName;
    return docName
    on the document Id field I have to input a certain docId after I input the docId I have to populate automatically the docName based on the doc Id being given.
    question
    1. how can I set the document name automatically w/out submitting the page ?
    2. how can I use my backing bean to set the docName using the method in my AppModule.?
    Can anyone help me regarding this one.
    Thank in advance
    alvin.

A: automatically populate fields in jsp documents based on other fields

here is what you need to do:
1. Change the definitions for your fields as following
<af:inputText value="#{bindings.SourceDocumentId.inputValue}"
                        label="#{bindings.SourceDocumentId.label}"
                        required="#{bindings.SourceDocumentId.mandatory}"
                        columns="#{bindings.SourceDocumentId.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docId}"
                        id="docId" valueChangeListener="#{backing_transactions_editTransactions.docIdChange}"
autoSubmit="true">
            <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
            <f:convertNumber groupingUsed="false"
                             pattern="#{bindings.SourceDocumentId.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.DocumentName.inputValue}"
                        label="#{bindings.DocumentName.label}"
                        required="#{bindings.DocumentName.mandatory}"
                        columns="#{bindings.DocumentName.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docName}"
                        id="docName"
partialTriggers="docId">
            <af:validator binding="#{bindings.DocumentName.validator}"/>
          </af:inputText>2. add the followig method to your backing bean:
  public void docIdChange(ValueChangeEvent valueChangeEvent) {
    getDocName().setValue((String)getDocId().getValue() + "suffix");
  }Run your form and enter the value into docId field, then press tab to go to the next field - docName will be populated

here is what you need to do:
1. Change the definitions for your fields as following
<af:inputText value="#{bindings.SourceDocumentId.inputValue}"
                        label="#{bindings.SourceDocumentId.label}"
                        required="#{bindings.SourceDocumentId.mandatory}"
                        columns="#{bindings.SourceDocumentId.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docId}"
                        id="docId" valueChangeListener="#{backing_transactions_editTransactions.docIdChange}"
autoSubmit="true">
            <af:validator binding="#{bindings.SourceDocumentId.validator}"/>
            <f:convertNumber groupingUsed="false"
                             pattern="#{bindings.SourceDocumentId.format}"/>
          </af:inputText>
          <af:inputText value="#{bindings.DocumentName.inputValue}"
                        label="#{bindings.DocumentName.label}"
                        required="#{bindings.DocumentName.mandatory}"
                        columns="#{bindings.DocumentName.displayWidth}"
                        binding="#{backing_transactions_editTransactions.docName}"
                        id="docName"
partialTriggers="docId">
            <af:validator binding="#{bindings.DocumentName.validator}"/>
          </af:inputText>2. add the followig method to your backing bean:
  public void docIdChange(ValueChangeEvent valueChangeEvent) {
    getDocName().setValue((String)getDocId().getValue() + "suffix");
  }Run your form and enter the value into docId field, then press tab to go to the next field - docName will be populated

  • How to pre-populate fields for new entry in table maintenance

    Hey everyone,
    I have a table maintenance set up that I would like to pre-populate two date fields when the user creates a new entry or copies an existing entry.
    I can do this by adding a PBO module for the maintenance screen but then if the screens are regenerated my changes are lost so this is not ideal.
    I've also found that I can use the events (05 and 21 I believe) to set the dates but using these events I can not fill in the values in the screen so this is also not ideal.
    Is there an event that can be used to pre-populate fields in a table maintenance screen? If not, what is your suggested method for accomplishing this?
    Thanks in advance! I appreciate any help!

    Hi,
    Please use the below links...
    [Table maintenance Field Validations;
    [http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609]
    Thanks,
    Manish

  • Offline Scenario - How to Automatically Manipulate Fields

    Hello all,
    Good day! I would just like to ask in Adobe Interactive Forms using ABAP if its possible to modify fields automatically?
    So example scenario is let's say this a table with a modifiable field sorted by Operation and there is a field where you can place a value A, B,and C.
    Ex structure in PDF
    Sub-Operation
    Catalog - Drop Down
    Priority (A, B, C).
    There is another table in the PDF form. Sorted by catalog and what it will is that it will populate the A, B, C fields based on the Catalog. Sorted by Catalog.
    Ex Structure
    Catalog
    A
    B
    C
    Also keep in mind that since you can input the Catalog in the first table, the 2nd table should be appended.
    Not sure if this is possible via ABAP in the offline scenario, though if this is required using Java Script your help will still be welcome (just let me know how to code it in the events).
    Thanks and Regards

    For a dynamic form like that, you will certainly have to code it in Formcalc or Javascript. you need to check the Adobe Help for examples.
    It provides lots of examples on how to code in Formcalc and Javascript. You may even want to join the Live Cycle Designers group over at google groups for specific coding questions.

  • How to automatically populate text boxes from dropdown and tick box options and then sum the results

    Firstly I need to say that I have no knowledge of how to use Javascript.
    I am using the 30 day trial of Adobe Acrobat XP Pro to see if it can be used for a Membership Application Form for the 1st year of membership. This 1st year  has a pro-rata membership fee per month left in the year of application along with a pro-rata postage fee for non-UK members. All of the input will be via basic text boxes with the exception of the application date and overseas postage for which I have created 3 dropdown boxes, one for Day, one for Month and one forYear and for the 2 tick boxes which are there for the applicant to say if they want 2 other options which have a cost attached to them.  I want to populate 2 text boxes from the Month lookup. One of these is for the pro-rata membership fee and the other for the pro-rata overseas postage. The other 2 optional items will be text boxes populated from the tick boxes. Having populated these 4 text boxes I then want to have them automatically summed to give the total to be sent by the applicant.
    I have searched many forums and tried many of the suggested ways of doing it and none of the 4 text boxes are populated.
    Are you able to help me with this?
    Many thanks

    The script solution provided is a "custom calculation JavaScript" not a "simplified field notation".
    The comment at the top of the code:
    // Custom calculate script for text field
    should help clarify the placement location for the code.
    Simplified field notation has a number of specific restrictions. One is that the provided data must be numeric data only.

  • How do I populate fields in a pro 9 lifecycle form from my quickbooks customer files?

    I've created a PDF form using acrobat pro 9, Lifecycle designer, using a quickbooks customer letter template to create the form.   I am trying to populate the "fields" (extract data from quickbooks) in the form, however the option to do so is "grayed out" function not available to me.  

    You should probably ask your question in the LiveCycle forum. You may have to write some JavaScript and that comes under another forum also. I have no clue.

  • How to auto-populate fields in added instances

    Hello guys,
    Please take a look at my form here:
    http://www.4shared.com/document/97ZsPH6r/fpatrcvtemplate_REVA.html
    Here is what I'm trying to achieve:
    The main goal of this project is to create a template for one
    building that is capable of expanding to an unlimited amount of buildings.
    Please look at page 8 and 9 (introduction) This section should be set up for
    one building with the capability of adding additional buildings with the
    "add item" button. This is where the building names and addresses are
    entered by the end user.
    When the user clicks the "add item" button the form should add another row
    to the "Recapitulation of Values" found on page 10 and bind the
    corresponding building name to the new row. It is on this page that the end
    user will enter all the monetary values for the building. Which should in
    turn be linked the new "photos and values" section (see paragraph below)
    Also, when the user clicks the "add item" button the form should add a new
    "Photos and Values" section found here beginning on page 22. The photos and
    values section should automatically bind the building name and address which
    were entered on the "introduction" as well as all of the monetary values
    that were entered on the "Recapitulation of Values".
    The goal is to eliminate the end user from any double entry.
    I need help please. Thanks.

    Hi,
    I can't look at the form now, but it sounds like it will involve a bit of scripting.
    I have an example here where the add/delete buttons work on two separate tables: http://assure.ly/eTOXaH. This might help you in the meantime.
    Good luck,
    Niall

  • Required a customer field(located in the profitability segment box) as mand

    our client is requested  that the customer field (located in the Profitability Segment box) be a mandatory field for GL accounts which are getting posted directly from FI. This field is needed so that proper reporting can be generated for bad debt and product liability claims. Currently this field is not a mandatory when making journal entries, so there were some postings happened with out customer field. Due to this we are unable to extract exact values in CO-PA reports . Please can some one help me on this and explain the process and settings for this??
    Thanks in advance.
    Regards,
    Venkat

    Hi Eli,
    I have posted note to SAP and i got the below reply from them.
    Get this functionality you should change
    the coding of form DERIVE_CRITERIA_EXTENDED from include RKEVRK2L after
    uninstallation of note 115500(in case you have installed) like this:
    Im Dialogfall (Kontierungspopup) Verprobung ob für Feld
    Mußeingabe erforderlich (Merkmalsgruppe!)
    (nicht f. Faktura, da dort keine Fehlermeldung moeglich)
    if ( xt_criteria-field is initial
    BEGIN OF DELETION *****
    and xt_criteria-status eq '2'
    and not is_status_flags-dialog is initial ) .
    perform send_message using 'KE' 'E' '494'
    END OF DELETION *****
    BEGIN OF INSERTION *****
    and xt_criteria-status eq '2' ) .
    data: l_mtyp type c.
    if not IS_STATUS_FLAGS-DIALOG is initial.
    l_mtyp = 'E'.
    else.
    l_mtyp = 'W'.
    endif.
    perform send_message using 'KE' l_mtyp '494'
    END OF INSERTION *****
    xt_criteria-fieldname
    is_cobl-vorgn
    i_char_group
    endif.
    Afterwards you have to run function module RKE_GENERATE_INTERFACE_ACT
    for your operating concern to update the generated program RK2LXXXX.
    Thanks & Regards,
    Venkat

  • Profitability segment optional in recurring entries?

    Hi all!
    I've got a requirement from my customer, the want to use recurring entries (tr code fbd1) where they want the possibility to post to a profitalibilty segment to update COPA. I have checked tr code 07e3 but I cannot find this field possible in any account assignment model. Can anyone please help?
    Thanks in advance!

    Hi,
    If you want to use account assignment model to bring in, the profitability segment while creating the recurring posting template (FBD1), that's is not possible., because of whta you previously indicated, profitability  segment is not in the field selection list. What you may  to do instead,  is to make sure the account(s) you want to post to COPA do have a field status group with profitability segment on (Either as an optional or mandatory field), so while creating the line item in the recurring posting template  the icon "profitability segement" (Right pointing arrow) would be ready for you to access  and the needed fields.
    Hope this helps.
    GG

  • How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors

    Hi SAP Gurus,
    Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
    Regards
    Mohan

    Hi Ramakrishnappa,
    If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
    Regards,
    Mukthar

  • How to make profitability segment pushbutton visible  in FB50 transaction

    Hi All ,
    I want to make  profitability segment pushbutton visible  in FB50 transaction. I tried to change a  transaction variant which is assigned for this transaction code. It was a user created Z transaction variant and i unchecked the invisible checkbox in SHD0 transaction  and saved it.But still in FB50 i am unable to see it. Can anyone tell me why it is still invisible though i unchecked the invisible checkbox . Do i need to reassign the transaction variant again to FB50. I didnt do it because it is already assigned and i had just modified.

    Hi,
    In SPRO there is no Field selection for QA. If you want to maintain QA based MPN( get the material number relevant to MPN). Press F4 and select the search criteria search by MPN, you will get the material relevant to that MPN.
    Malleswari

  • How to update sales order number (KAUFN) characteristic in the profitability segment of the PA document created at the time of service entry sheet confirmation, as a result of shipment cost document

    Hi,
    We have a scenario wherein we create shipment cost documents against delivery. As a result of shipments fully transferred, a PO for freight vendor is automatically created and a service entry sheet confirmation happens. As a result of service entry sheet confirmation, we have Financial accounting, Controlling and profitability analysis documents created. We have a requirement wherein we need to have the characteristic “sales order number (KAUFN)” populated in the profitability analysis document created as a result of service entry sheet confirmation.
    Could someone please advice how could this be attained in COPA. Thanks for your help in advance.
    Regards,
    Sandeep

    Hi Ajay,
    Thank you for the quick update.
    The document is updated to COPA through OKB9 settings. The profitability segment is updated with fields like customer, product, company code, plant, sales area data, profit center, etc; however the sales order number is missing.
    Could you please elaborate further how could FI substitution be implemented to call for the FM COPA_PROFITABILITY_SEGMENT through user exit? Are you recommending the substitution through GGB1? What could be the possible validation to call for the user exit to be implemented?
    Regards,
    Sandeep Kulkarni

  • How to populate field catalogue fields in ALV using  dynamic internal table

    Hi All,
    Please let me know how to populate field catalogue fields in ALV using  dynamic internal table.
    I have created <dyn_table> using code below.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
                     EXPORTING
                       it_fieldcatalog = g_t_ifc
                        it_fieldcatalog = g_t_fieldcat
                     IMPORTING
                        ep_table        = dy_table.
      ASSIGN dy_table->* TO <dyn_table>.
    Create dynamic work area and assign to FS
      CREATE DATA dy_line LIKE LINE OF <dyn_table>.
      ASSIGN dy_line->* TO <dyn_wa>.
    Now this  <dyn_table>  has fields like idoc no.,creation date ,
    segment field 1, segment field 2 etc..Now idoc no.,creation date  are static fields from table EDIDC. And segment field 1, segment field 2 etc are dynamic fields from table EDSAPPL.
    In my  ALV report I am getting the final layout properly but I am unable to move values to corresponding fields in the final layout shown.Please let me know how to populate these fields from different tables.
    I tried this way but its not working.
    SORT g_t_edid4 BY docnum.
      LOOP AT g_t_edidc INTO g_r_edidc.
        READ TABLE g_t_edid4 into g_r_edid4
                         WITH KEY docnum = g_r_edidc-docnum
                                        BINARY SEARCH.
        IF sy-subrc = 0.
          <dyn_wa> =  g_r_edid4-sdata.
         MOVE-CORRESPONDING g_r_edid4 to <dyn_wa>.
       CLEAR g_r_edid4.
        ENDIF.
    MOVE-CORRESPONDING g_r_edidc to <dyn_wa>.
    APPEND <dyn_wa> TO <dyn_table>.

    You have to assign each field to field symbol and then assign the value to that field symbol and asssign that field symbol to workarea field symbol.
    LOOP AT g_t_edidc INTO g_r_edidc.
    READ TABLE g_t_edid4 into g_r_edid4
    WITH KEY docnum = g_r_edidc-docnum
    BINARY SEARCH.
    IF sy-subrc = 0.
    ASSIGN COMPONENT 'SDATA' OF STRUCTURE <DYN_WA> TO <DYN_FLD>.
    <DYN_FLD> = g_r_edid4-sdata.
    " <dyn_wa> = g_r_edid4-sdata.
    " Assign each fields like this.
    " MOVE-CORRESPONDING g_r_edid4 to <dyn_wa>.
    CLEAR g_r_edid4.
    ENDIF.
    " MOVE-CORRESPONDING g_r_edidc to <dyn_wa>.
    APPEND <dyn_wa> TO <dyn_table>.
    Regards,
    Naimesh Patel

  • Profitability Segment - Automatic Determination

    Experts,
    We are doing some clearing of G/L Accounts, AP and AR using F-03, F-32 etc and was wondering how to automatically determine Profitability Segment #, so that when these clearing documents get posted, segment # do get populated in them.
    All inputs/answers/suggestions would be duly appreciated and rewarded with points.
    Thanks,
    Nandita

    Hi,
    No you cannot. You can only set the check box for PA on in OKB9.
    Try using substitution, but that will turn out to be pretty complex as compared with derivation.
    Cheers.

  • Maybe you are looking for

    • MDX Error in WebI while running Bex Query

      Dear Experts, In my System BO XI R3.1 Enterprise and Integration kit For SAP has installed. While creating query with Efashion and MS Acess files query is running fine. But in case of BI queries(InfoCube or BEx Query) it is giving "Select Dimension 1

    • HELP: New Search feature in 3.0 is TOO good

      Upon using the SEARCH feature I have discovered my emails are still available for the past 7 months!!! I thought I erased them off the Ipod....so my question is how do I remove them from being searched? The Calendar and Contacts list is great..... bu

    • How to retrieve the content type used in a document library (C# - Client Model).

      Hello, I need to know if it's possible to retrieve the content type used in a document library, so I can know the columns active and used in this document library. I am using the Client Model in C#. Thanks

    • Missing purchased music

      hi, i purchased music directly unto my ipad last week, i checked over the weekend and its all gone. i ve been billed for it cos when i go to my itunes account the bill is displayed there. can anyone tell me what has happened? i never transfered it to

    • Can you edit a video without putting a theme on it?

      I was wondering if you can edit videos in iMovie without putting/using a theme on it.