Pre defined value in bp creation/change

we have two fields like field1 and field2 in BP creation/Change screen..our requirment is like if we fill Field 1 with A then by default Field2 should fill with SupplierA ..if I fill the Field1 with B then system should fill the field2 with Suppler B .
EX:
Field1     A
Field2    Supplier A
Field1    B
Field2   Supplier B
Please let me know if the question is not clear
Edited by: ravi kumar on May 5, 2008 8:22 AM

Hi Ravi,
-> Are these two 'Custom fields'?
-> Did you add then using EEWB?
If YES then EEWB will create PBO and PAI modules. You can find them using SE80 Tcode. You can write the code in PAI module for Field1 so that that will populate value to Field2.
If NO then please let us know if these are SAP standard field. In some case you can use BADIs and achieve your requirement.
Hope this helps.
Karuna.

Similar Messages

  • Custom UME attribute with pre-defined values

    All,
    Is it possible to define a custom UME attribute which will have pre-defined values so that it appears as dropdown select when the admin creates a user?
    Your help is appreciated.
    Thanks

    Hi Aakash,
    I am not a software developer so I cannot really give you details. I can point you to our documentation: [SAP NetWeaver Developer's Guide|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8b/0b674240449c60e10000000a1550b0/frameset.htm]
    This guide should point you in the right direction. The UME has a public API with which you access the attributes in question programmatically. What you do from there depends what you as a programmer want to do.
    -Michael

  • Defined values in a cicle of Loop

    Hello friends, I need your help to solve my problem, well. let´s start.
    I have some user defined values, and I need to read each value, and before a task, (compare to other value [voltage] and so do other task [this task is not relevant] );
    But I don´t know how I can do that, I´m so confused and lost to find the right solution.
    Well.. I think I need/could do the routine in a repetition structure.
    *we have the A-B-C-D-E pre-defined values
    *I built an array, and then I got the index to know if I´m on the last iteration,(if the last iteration has passed away I stop the VI.) 
    *when I run the task and complete it, I need to read the next value of the array, until the E value, e.g.(A, B, ..., E)
    * See the red box bellow.

    Well the other parts ARE relevant because they show a loop.  How do you want that loop to interact with the red box that you want to put in a loop?  Right now you have a single value coming out of the half missing loop that runs to the code you have in the red box.  What does the value represent?  Do you want this new loop to run after the lower loop is complete?
    Since you have a loop already, you know how to implement one.  Take your best guess at what you want to try to do.  Figure out if it works or what it is doing wrong compared to what you want.  Then post the VI so we can make suggestions based on what you say it isn't doing right.
    Message Edited by Ravens Fan on 02-17-2010 05:56 PM

  • Trying to change a pre-defined report. Date format is wrong, 20140217 should be 17.02.2014.

    The pre-defined report in sccm "Computers with specific software registered in Add Remove Programs" has a query like this:
    Select DISTINCT sys.Netbios_Name0, fcm.SiteCode,  sys.User_Domain0, sys.User_Name0, sys.Operating_System_Name_and0, arp.DisplayName0,
    arp.InstallDate0  
    FROM fn_rbac_R_System(@UserSIDs)  sys 
    JOIN v_Add_Remove_Programs arp ON sys.ResourceID = arp.ResourceID  
    JOIN v_FullCollectionMembership fcm on sys.ResourceID=fcm.ResourceID 
    WHERE DisplayName0 like @filterwildcard and fcm.CollectionID=@CollID
    I have highlighted the part that I added to the report.
    I have inserted an extra column in Report Builder, and added the value inside the column and the install date can be viewed in the report. However the date format is shown like this: 20140217 - I want it to be 17.02.2014.
    So I try to change this via right-clicking on the cell in Report Builder, Text Box Properties, Number. Here I choose Date and the correct format. However it does not change the date format when saving and running the report again. It just stays the same. 
    Kthxbai

    The format can be change if it was a date. But if you look that field it is NOT a date, it is a string and therefore will not  change to the data format that you want.
    On top of this, there is a bigger problem. Not ever setup records the date or in the same format so.....
    http://www.enhansoft.com/
    Sorry - I am not sure what you mean by the last statement. "Not ever setup records the date or in the same format so.."
    - Would it be possible to elaborate? Thank you very much.
    Kthxbai

  • Pre defined BAPI for Change Master

    - Is there any Pre defined BAPI or Function Module which will serve the functionality similar to the RFC “RFC_CREATE_CHANGE_MASTER”.

    Hi Nikhil,
    For the SAP R/3 4.7 version, there is the BAPI_ECMORD_CREATE BAPI Function Module.
    NOTE: To find the BAPIs in the R/3 system, you can use the BAPI transaction.
    Regards,
    Daniel Carvalho.

  • Export/Import pre-defined reports

    Hi all.
    Can i export reports (Dahsbooards, Pre-defined reports etc) created in one BI Server and import them to another? How? I have managed to import metadata using an rpd file but the reports havent changed...
    Thanks, if I am not clear please tell me to explain, this is all new to me!

    Open the RPD In online mode. In the physical layer, open up the connection pool that is being used for the database that reports are querying for data. Change the username and password. Check in connection pool, save the changes.
    On a quick tip, the best way to handle this issue during migration is to use a static repository variable. Just create two variables for username and password and use these variables wherever required in the RPD. When you migrate the RPD, just change the values of the static repository variables after migration process. In this way you will avoid having to change the values of username and passwords in multiple places.
    Hope your question is answered.
    -Amith.

  • How can I pre-define the default selection in a SelectOneChoice?

    How can I pre-define the default selection in a SelectOneChoice?
    (1) Here's my JSF-code:
    <af:selectOneChoice label="#{res['usercreate.input.sex']}"
    value="#{bindings.Sex.inputValue}"
    binding="#{SelectListBean.sexlist}"
    readOnly="false" autoSubmit="false">
    <af:selectItem label="#{res['data.sex.women']}" value="1"/>
    <af:selectItem label="#{res['data.sex.man']}" value="2"/>
    </af:selectOneChoice>
    (2): manged bean: to set the default value to be the first in the list, my managed bean as follows:
    import oracle.adf.view.faces.component.core.input.CoreSelectOneChoice;
    public class MBSListBean {
    private CoreSelectOneChoice sexlist;
    public MBSListBean() {
    public void setSexlist(CoreSelectOneChoice sexlist) {
    this.sexlist = sexlist;
    this.sexlist.setValue(1);
    public CoreSelectOneChoice getSexlist() {
    return sexlist;
    (3) when i launch the page, it often gives me such warnings:
    WARNUNG: Could not find selected item matching value "1" in CoreSelectOneChoice[UIXEditableFacesBeanImpl, id=_id7]
    how to solve the problem ?
    Thanks,
    wzzdx

    You could also set the default on your entity or viewobject, in the properties of your attribute.

  • Validations during PO Creation/Change

    Hi I want to do three validations during PO Creation/Change
    1) After entering each item Quantity,a custom validation should be done
    2) When Save Button is pressed in PO, custom values should get updated in custom table.
    3) During save a validation is required.
    So can anyone let me know,how this can be dealt with like with which user-exits / badi.
    Kind Regards
    Sajid

    Hello Sajid,
    Your requirements can be achieved by the BADI ME_PURCHDOC_POSTED as this BADI is called after user presses the save button.
    Now if you want to check quantity after the quantity is entered and before the save button is pressed then you can use BADI ME_PO_PRICING use method PROCESS_KOMP and parameter IM_EKPO.
    Hope this is helpful to you.
    Regards
    Arindam

  • Issues in creating a Pre-defined filter in Universe

    Hello Everyone,
    Here is the problem...
    The idea is to have a prompt (Prompt1) to allow user select the Input type ..ie."Check Number or Invoice Number". There is the second prompt (Prompt2) which will allow user to input a value. Based on Prompt1 value, the prompt2 input should be evaluated against Check Number object or Invoice Number Object.
    This is using a universe based on a BEx query.
    Following useful information in the OLAP universe Best practice doc available [here] which Ingo once shared with us [on this forum], I created following pre-defined filter in my universe.
    <OPTIONAL><FILTER EXPRESSION="IIF(@Prompt('Select Input type','A',{'Check','Invoice'},mono,free)='Check', [ZFIAP_IS1___F20].[LEVEL01],[ZFIAP_IS1___F46].[LEVEL01])"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Enter Check or Invoice Number','A',,mono,free)"/></CONDITION></FILTER></OPTIONAL>
    Where [ZFIAP_IS1___F20].[LEVEL01] = Check Number & [ZFIAP_IS1___F46].[LEVEL01] = Invoice number.
    The object is parsing without errors in the universe. But when I use it in my report, the report throws an error " failed to execute with the error Invalid MDX command with " "
    I took the MDX statment and tried to run/debug using MDXTEST and could never get it to work with the above objects. It was seen that the filter created in such a way is handled [Measures] object which only accepts Numeric values and not Strings. Where as my Check number and Invoice Number values are strings. The MDx statement is given below.
    Has anyone experienced this issue earlier ?
    WITH MEMBER [Measures].[4C46B176-CC15-DF11-92,5D,25,C2,A9,6F,0,0] AS ' IIF(Check=Check, [ZFIAP_IS1___F20].[LEVEL01],[ZFIAP_IS1___F46].[LEVEL01]) ' SELECT { [Measures].[4GQZ1D26O6QATUDY32CGL1C38] } ON COLUMNS , NON EMPTY FILTER( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZFIAP_IS1___F93].[LEVEL01].MEMBERS, [ZFIAP_IS1___F94].[LEVEL01].MEMBERS ), [ZFIAP_IS1___F92].[LEVEL01].MEMBERS ), [ZFIAP_IS1___F71].[LEVEL01].MEMBERS ), [ZFIAP_IS1___F55].[LEVEL01].MEMBERS ), [ZFIAP_IS1___F46].[LEVEL01].MEMBERS ), [ZFIAP_IS1___F20].[LEVEL01].MEMBERS ), [Measures].[4C46B176-CC15-DF11-92,5D,25,C2,A9,6F,0,0] = 0000041924670) DIMENSION PROPERTIES [ZFIAP_IS1___F55].[2ZCCNODE01], [ZFIAP_IS1___F55].[2ZCCNODE02], [ZFIAP_IS1___F55].[2ZCCNODE03] ON ROWS FROM [ZFIAP_IS1/QZFIAP_BOUNV2]
    Edited by: vaibhav patil on Feb 11, 2010 9:53 PM
    Edited by: vaibhav patil on Feb 11, 2010 9:55 PM

    Hi,
    In fact, what you are requiring is feasible in Microsoft Analysis Services by defining a calculated meaure and a filter using this calculated measure.
    Unfortunately, due to MDX restrictions in SAP, it is not possible to do it in universes.
    I suggest that you create a range variable on Time to allow the user to only retrieve the dates needed.
    You can retrieve all the dates and then apply a filter in Web Intelligence document: this solution might have the disadvantage to retrieve more data than necessary.
    Didier

  • How to export multiple copies reoprts based on parameters and with pre-defined naming

    Hi All:
    I have a problem of using SSRS 2012, we have multiple clients and they wanted us to deliver the pre-defined excel reports to different branches based on selecting the "branch name" parameter, also they have a naming rule for the excel
    report file.
    We cannot use the subscription as they need to do it in one batch and upload to an FTP file, therefore we are doing this manually for over 300 reports. Is this a convenient way to generate them in one batch as well as customising their file names?
    Thanks a lot for your help.
    Cheers
    Johnny

    Hi JohnnyKahWang,
    As per my understanding, there are multiple clients, you want to deliver reports to clients according to branch name parameter, and naming the excel file according to the rule. If that is the case, we can use data-driven subscription to achieve your goal.
    Reporting Services provides data-driven subscriptions so that you can customize the distribution of a report based on dynamic subscriber data. Data-driven subscriptions use query results to determine the recipients of the subscription, delivery settings,
    and report parameter values. At run time, the report server runs a query to get values used for subscription settings. We can use the Create Data-driven Subscription pages to define the query and assign query values to subscription settings. For detail information,
    please refer to the following steps:
      1. Open Report Manager, and locate the report for which you want to create a data-driven subscription.
      2. Hover over the report, and click the drop-down arrow.
      3. In the drop-down menu, click Manage. This opens the General properties page for the report.
      4. Select the Subscriptions tab, and then click New Data-driven Subscription.
      5. Choose a method of delivery, then select data source for the subscription.
      6. Specify a query that retrieves subscriber data like below:
    CREATE TABLE Name (
    BranchName varchar(20),
    ExcelFileName varchar(20),
    Email_to varchar(50)
    INSERT INTO Name values
    ('Branch1', 'Name1', '[email protected]'),
    ('Branch2', 'Name2', '[email protected]'),
    ('Branch3','Name3', '[email protected]');
      IF we chose Windows File Share delivery extension, we can define path in the query.
      7. Specify delivery extension options like below:
      8. Specify report parameters to BranchName.
      9. Specify when the subscription is processed, then click Finish to save the configuration.
    For more information about Data-driven Subscription, please refer to the following documents:
    http://msbimentalist.wordpress.com/2013/08/26/how-to-create-data-driven-subscription-in-ssrs/
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • How to make user-define value's query

    Dear All,
    In we have 3 user-defined fields in marketing document. When I type in field 1 and field 2, we need line total = field 1 * field 2.
    Would it be possible for me to config it in SAP? I setup a user-define value and have a query for it. Make it updated when field 2 changed. But when I am not clear on how to write the query. I have a query select $[POR1.U_Field1]*$[POR1.U_Field2]
    But I got an error message. It has to be some syn error in my query.
    It is a service type document so that I cannot have a where POR1.Itemcode = ...
    Can anybody help me out? Thanks in advance.
    Regards,
    Yuka
    Edited by: Jie Jin on Mar 23, 2010 7:28 PM

    I use Select $(Por1.Price.number)*$(Por1.U_Numberofunit.number)   //replace ( to [
    The price was been change to null. Then my query is like select *6. Thanks.
    Edited by: Jie Jin on Mar 23, 2010 7:42 PM
    Edited by: Jie Jin on Mar 23, 2010 7:44 PM

  • Pre-defined program in ECC 6.0

    Hi Experts,
      I have a issue that can resolve by u guys,
        Please provide the pre-defined program in ECC 6.0 that can stored the program code and all the includes in a program for the given path.
    Advance Thanks.
    u r answer will be given points.

    Dear Lakshman,
    The standard pricnt program of PO MEDRUCK
    dont modify this because this is original one copy and change copy program
    Hope this helps you
    Prem

  • Automatic payment: OBBA Define Value date rules

    hi experts,
    Have you ever tried OBBA to define Value date rules? I met a problem with it.
    In OBBA, my configuration is as follows:
    House banK Account ID Transaction R C1 S Dev C2  A
    CIT1               CNY                              3 CN -    1   CN  -
    CN is the Factory Calendar China.
    According to this configuration, I suppose the Value date will take Due date as reference date, minus one day, and if the Value date calculated is Weekend or Public holiday, it will use the last week day as the Value date.
    But I made two tests:
    In the first test, my OBBA configuration is exactly like above one I listed, in my payment proposal, the invoce Due date is 20-Jun, Value date is also 20-Jun, but I think according to the configuration, the Value date should be 20-Jun minus one day=19-Jun which is a weekend, so should be the last week day 18-Jun.
    My first test tell me the Deviation from reference date in days and the Calendar does not work.
    In my 2nd test, I changed the Reference date to 2 (Posting date), but in my payment run, the Posting date is 9-Jun, the invoice Due date is 20-Jun, the Value date is still 20-Jun.
    My 2nd test tell me the Reference date for determining the value date does not work.
    Have you met such problem, it seems the OBBA totally dose not work.
    many thanks!
    best regards
    Sophie

    Hi Sophie,
    I guess it is too late for you already but maybe this helps to other people with similar issues. You also need to assign the transaction created in OBBA to a specific payment method:
    But what is even more important is that you need to tick this box in the payment method company code settings - "payment per due date".
    Regards,
    Ondrej

  • Pre-defined header in report

    Hi All,
    Maybe a stupid question but ... when we create a new ABAP (se38->create) in our system, a report header (lines and pre-defined fields) is already in there. It's not an existing pattern in the system (no entries in TSE05).
    Can anyone tell me where this header in the ABAP is coming from and how we can change it ?
    Thanks,
    Rob Makelaar.

    Hi,
    Check this example code
    PROGRAM ZARS NO STANDARD PAGE HEADING.
    START-OF-SELECTION.
      WRITE: / 'line 1'.
      WRITE: / 'line 2'.
      WRITE: / 'line 3'.
    TOP-OF-PAGE.
      WRITE: / 'Heading'.
      ULINE.

  • MDX syntax for current year in a Pre-defined condition

    Hi,
    I'm looking for assistance in building a Pre-defined condition in a universe based on an MSAS 2005 OLAP cube, that only returns the current year.
    My year is defined as [Time Accounting].[Accounting].[Accounting Year]
    I can create a Pre-defined filter that accepts a constant value as follows:
    <FILTER KEY="[Time Accounting].[Accounting].[Accounting Year]">
         <CONDITION OPERATORCONDITION="Equal">
              <CONSTANT CAPTION="2008"/>
         </CONDITION>
    </FILTER>
    and it works fine, however, I would like to make it dynamic.
    There is an attribute called current year that is defined as [Time Accounting].[Accounting Year].[Accounting Year].[Current Year].[Value] but when I try and put this into my pre-defined filter nothing is returned:
    <FILTER KEY="[Time Accounting].[Accounting].[Accounting Year]">
         <CONDITION OPERATORCONDITION="Equal">
              <CONSTANT CAPTION="[Time Accounting].[Accounting Year].[Accounting Year].[Current Year].[Value]"/>
         </CONDITION>
    </FILTER>
    Is this possible? What am I doing wrong?
    What I'm ultimately aiming for is a rolling 12 month condition.
    Thanks,
    Colin

    Hi,
    In OLAP universe, you cannot define a filter with CAPTION = another universe object.
    What you can do is CAPTION = String or CAPTION = @Prompt.
    By the way, if you want to achieve what you are requiring, I suggest you create a calculate expression such as:
    <EXPRESSION>
    IIF([Time Accounting].[Accounting Year.].CurrentMember.Properties("Name") = [Time Accounting].[Accounting Year.].CurrentMember.Properties("Current Year"), 1, 0)
    </EXPRESSION>
    Then you can define your filter on your new calculated expression and the operator to Equal and CAPTION = 1
    Didier

Maybe you are looking for

  • Problem in Automatic PO creation

    Hello, There is a batch job at our end that creates PO from PR. But after observing in EKKO i got to see that most of the POs are created manually. just a couple of tehm are created by batch job. I've checked the materials and vendors of the PO which

  • Calling a Web Service in a SSRS Report - Error Converting String to Generic List of Strings

    Hello, I am using SSRS version 2005 and am trying to call a web service to retrieve data for a SSRS report.  I've looked on Google and MSDN for the past 2 days and have exhausted all options.  Here are the details... The web service method I am calli

  • Motion assistant: Cannot convert to LabView file

    Hello, I would like to ask for help on problem:  the file generation from Motion assistant to Labview Background: 1.  Use Motion assistant to generate 2 or 3 steps of motion. 2.  Save it. 3.  Inside Motion assistant, Use Tools>>Generate Code>>LabView

  • T-40 USB Port

    Can I replace USB ports on my T 40 ,model 2373? . When I plug in any device(,memory stick,GPS receiver etc.) getting msg' Windows doesn't recognize this device.This is happening when device is plug in before boot up. But if laptop is already running

  • Alternative Sequence in Routing

    Dear All, I have a routing with 2 operations, and an alternative sequence branching in/out for operation 0020. Now I have created a Production order, finished operation number 0010, finished half of operation 0020 and confirmed half the quantity, now