Need help on BAPI_SALESORDER_SIMULATE.....very urgent

Hi all,
Is there a way to pass material pricing group for each item to BAPI_SALESORDER_SIMULATE?I could not find any field in items structure that could accept material pricing group?I need the pricing conditions and credit card out details based on material pricing group while simulating a sales order?If there is any other way to achieve the purpose please let me know....
Thanks in advance...
Santhoshi

Hi Yoeri,
Thanks for your reply.But the field PRC_GROUP1 is price group(KONDA) but not material pricing group(KONDM).You can observe the difference in VA03 transaction in Item Overview->Sales B tab.They are two different fields Material Pricing Group and Price Group.
<b>Actual requirement is</b>:
I need to simulate a sales order using BAPI_SALESORDER_SIMULATE, and retrieve the pricing details and credit card details. Now the problem is i am unable to find a field which holds material pricing group, due to which the pricing details and credit card ammount details that are returned are having incorrect values.
I would appreciate if you could please help me out in solving this requirement.
Thanks in advance
Santhoshi

Similar Messages

  • Need help in Idoc--very urgent.

    Hi guys,
    i am working on an object where i need to post the data from legacy system to F-27 transaction using Idoc.i hv found two idocs input_idoc_fidcc1 and input_idoc_fidcc2 for posting the data..
    Can anyone help in finding the right idoc for triggering the f-27 transaction with the reason...
    coz both are perfoming almost the same functionalities...
    its very urgent guys..
    kindly help me full marks wud be given...
    regards
    Sahil

    Hi,
    The function module is related to post the idoc type FIDCPP01
    and posts the complete FI document. and as coming to second function module along with Tax you can post item wise with holding tax dataalso. So you choose the required function module based on the data you need to post. If you need not post with holding tax details dont fo for second function modules.
    Reward if find useful

  • Update Routine ... Help me Please--VERY URGENT

    Hi All ,
    I Moving data from Cube to ODS . Let me explain abt the records in the cube .
    There are 6 key figures in the cube as well as dimensions, UNIQKEY TRANSACTION is One Dimension and ARTICLE is another dimension which is having an Navigational attribute called CORE ELEMENT.
    I am showing the data with those two dimension and the key figures which are to be used in the routine.
    Charc----
    Key Figures
    UNIQKEY-ARTICLE-Coreelement--
    billqty     
    in base unit
    A00N----1006330--1--
    10.5
    A00M -
    1006320----2--
    2.5
    A00P-----1006330--1--
    10.5  
    A00P-----1006320--2--
    2.5
    A00Q-----1006320--2--
    2.5
    A00Q-----1006340--3--
    10.5
    Now Lets see what the core element numbers mean,
    core element 1 means -- fuel .
    Core elemnet other 1 -- food .   
    I need to move these data into ODS Which will have an extra field called No of items in the transaction --ITEMS.For this i need to write  a routine .
    The Logic is ...
    1.if Materail is of type 1(Means if the core element - 1)
    I need to Populate the No of items in tnx = 1 .--ITEMS.
    2.If Material is of type(Means if the core element)2or 3 I need to populate the billing quantity to the no of transcations.--ITEMS
    3. If the Uniqkey tanscation contains two line items as  suppose that you have 20 litres of fuel and 2 cans of coke, then No of Items in the transaction should be 3 and Billing Quantity in BUoM 22
    billing quantity in BUoM = 20 litres for the first line item and 2 for the second line item...
    then as the first line item is fuel, field No OF Items in the Transcation should be 1 (replacing the 20) + 2 = 3
    so the final result in the ODS should be billing quantity in BUoM = 22 and The Items in the Transcation= 3
    So the ODS Data should look like this.
    UNIQKEY--billqty--
    ITEMS
    in base unit 
    A00N--10.5--
    1
    A00M--2.5--
    2.5
    A00P--13--
    3.5
    A00Q--13--
    12.5  
    NOTE : IN the ODS only the UNIQKEY IS THE KEY FIELD and the rest are DATA FIELDS.
    I Posted this one before also. But didnt get proper responses.
    I am Pasting the piece of code which I have written . This code will work for the first two records in the cube , But it is failing for the UNIQKEY Transcation having Line items.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TABLES: /BI0/PMATERIAL.
    DATA: TITEMS LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS,
           CORE_ELEMENT like /BI0/PMATERIAL-RPA_WGH1.
    $$ end of global - insert your declaration only before this line   -
    FORM compute_data_field
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
      USING    COMM_STRUCTURE LIKE /BIC/CS8ZPOCTUS04
               RECORD_NO LIKE SY-TABIX
               RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING RESULT LIKE /BIC/AZPOCODS00-/BIC/ZTITEMS
               RETURNCODE LIKE SY-SUBRC "Do not use!
               ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    check not COMM_STRUCTURE-material is initial.
      select SINGLE RPA_WGH1
            INTO CORE_ELEMENT
            from /BI0/PMATERIAL
            where
            material = COMM_STRUCTURE-material
            and  OBJVERS <>'D'.
       IF CORE_ELEMENT EQ '1'.
       TITEMS = '1'.
         CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
             input         = titems
          IMPORTING
            OUTPUT        = titems
       ELSE.
       TITEMS = COMM_STRUCTURE-BILL_QTY.
       ENDIF.
    result value of the routine
      RESULT = TITEMS..
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    PLease give me ideas on how to acheive this . As I am not Aware of ABAP very well.. PLease try to give me the code. I hope one of you may got the same requirement before.
    Its very urgent and I need to deliver it today itself.
    Thanks in advance , you can mail me to [email protected]. If anybody intersted to discuss this Issue they can reach at +91 9845922955.

    Hi ,
    While I am moving the data from cube to ods . I need to create the update rules with cube -- 8cube . WHen i am doing this the billqty is a key figure in cube so that is not a problem but the ITEMS is not there in the cube ,SO for that I need to write a routine to populate that one.
    Its strange but the user what to analyse with the UNIQKEY transaction. And these objects will be added as navigational attributes to the Characteristic. as it acts as another dimension.
    He wants to laod these from ODS to Master data -Characteristic.
    to say for each transcation hpw many items are getting sold.
    Message was edited by: Nagarjuna Reddy
    ONce again thanks for the qucik replies
    Message was edited by: Nagarjuna Reddy

  • Need help with XML delay   URGENT!!!

    Hi i need help making a flash movie to load everything from
    xml. It has to load text, images and flv, but, it has to load them
    and end them at the time said in the xml. So flash loads and
    unloade the text or image or video at the time specified in the
    XML! PLEASE HELP I NEED THIS DONE TODAY!!!!! VERY IMPORTANT!!!
    Contact me by msn [email protected] or send mail or
    reply here!!

    It was probably a little unclear initially (no offence
    intended ) whether your problem was with getting the data from XML
    or with the sequencing aspect. I assume that its the sequencing
    aspect based on your recent reply.
    So if it was me I would parse the loaded info into Date
    objects for the load and remove times and have this information
    handled by some sort of sequencing code.
    At its simplest, you could compare the xml-derived date/times
    for load/unload with the current system date/time and use a
    setInterval function to initiate the load after the calculated
    difference in milliseconds has passed. Similar for the removeclip
    timing.

  • Pls Help...VERY URGENT

    Hi all,
    I am unable to get a certain output from the code I have written: Below is the code.
    public class project extends JApplet
         private JLabel promptLabel;
         private JTextField inputField,displayField;
         private JTextArea outputArea;
         public void init()
              Container container = getContentPane();
              String s1 = JOptionPane.showInputDialog("Enter a few alphabets");
              String.valueOf(s1);
              outputArea = new JTextArea();
              container.add(outputArea);
              outputArea.setText("The alphabets that you have entered are: "+s1);
    I am suppose to get the output below:
    The user will be prompted to enter a few alphabets.After the user clicks on 'OK' a java applet is suppose to popout with the alphabets the user has typed like in below. the user has to enter a message using the alphabets he gave(e.g abcd)
    please enter a message using the alphabets entered:___________
    a
    b
    c
    d
    I am unable to get the output.. I dunno how to go about getting the output above.. Another query, below is a Histogram class.
    class Histogram
         int frequency[];
         String alphabet;
         Histogram(String alphabet)
              this.alphabet=alphabet;
              frequency=new int[alphabet.length()];
         void scan(String message)
              for(int i=0;i<message.length;i++)
                   frequncy[alphabet.IndexOf(message.charAt(i))]++;
         void setfrequency(int frequency[])
              for(int i=0;i<alphabet.length;i++)
              this.frequency=frequency[i];
         double entropy()
              int total=0;
              double probablity;
              log2=Math.log(2.0);
              for(int i=0;i<alphabet.length;i++)
                   total+=freguency[i];
    If I want to get the frequency of each alphabet displayed in the applet, how do i go about implementing the setfrequency method in the java applet.. I hope some one can help me.. Pls it is very urgent.. Thanx

    Hi Thanx, your code helped. I have got another question. How do i implement a method from another method class into the applet. say, i want to implemen set frequency from the below code into my applet you wrote above?
    class Histogram
         int frequency[];
         String alphabet;
         Histogram(String alphabet)
              this.alphabet=alphabet;
              frequency=new int[alphabet.length()];
         void scan(String message)
              for(int i=0;i<message.length;i++)
                   frequncy[alphabet.IndexOf(message.charAt(i))]++;
         void setfrequency(int frequency[])
              for(int i=0;i<alphabet.length;i++)
              this.frequency=frequency[i];
         double entropy()
              int total=0;
              double probablity;
              log2=Math.log(2.0);
              for(int i=0;i<alphabet.length;i++)
                   total+=freguency[i];

  • I have lost my files i need help i am in urgent

    hai singsk i have lost all files from my memory card in my nokia asha 311 pls help me how i can recover all files in my memory card i need help pls i am in urgent.is any one know how to solve this problem help me 
    Solved!
    Go to Solution.

    Data recovery software might be able to recover .jpeg for you, but outside remit of this manufacturer's sponsored forum really.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Need help in date Validation Urgent

    Hi ,
    We need help in Date Validation.
    we have 2 Date fields on the form Start Date, End Date
    The requirement is: End Date (May not be greater than 30 years from the start date).
    I have written following script on End Date Exit event. But the problem is its calculating 30 years from the Current Date not from the Start Date
    var tDate = util.scand("mm/dd/yyyy", new Date());
    var M = tDate.getMonth();
    var D = tDate.getDate();
    var Y = tDate.getFullYear();
    var SRes = util.printd("yyyy-mm-dd", new Date((Y+30), M,D) );
    //app.alert(SRes)if (SRes <= this.rawValue){
    app.alert("May not be greater than 30 years from the start date")
    xfa.host.setFocus(
    this);}
    can someone please help me
    Regards,
    Jay

    Hi,
    You'll need to get javascript date from LCD field, and calculate & compare with the future date in javascript date.
    try following script;
    var sDate = StartDate.rawValue;
    var wkStartDate = util.scand("yyyy-mm-dd", sDate);
    var nYear = wkStartDate.getFullYear();
    var nMonth = wkStartDate.getMonth();
    var nDay = wkStartDate.getDate();
    var wkFutureDate = new Date(nYear  + 30 , nMonth, nDay);
    sDate = EndDate.rawValue;
    var wkEndDate = util.scand("yyyy-mm-dd", sDate);
    if (wkEndDate.getTime() > wkFutureDate.getTime()){
      xfa.host.messageBox("May not be greater than 30 years from the start date");
      xfa.host.setFocus(this);

  • Help needed in Extending HeaderVO -VERY URGENT!!

    Hello,
    I need a urgent help.
    Actually I am trying to modify the exisiting Print Quote Document which is actually getting called from a template cald ASOPRINTQUOTE.xsl
    This particular xsl uses HeaderVO, LinesVO and PromptVO and hence I had to modify these xml and in turn the .java files.
    I customized it by adding the new columns thru JDeveloper and extending the VO's and substituting them
    In the process while extending the respective VO's comes a step wherein I need to specify(Thru JDeveloper) Application Short Name and Responsibility Key.
    Now the issue is this particular Quote dicument can be accessed from 2 different respons. called
    Oracle HTML Order Quoting Sales Agent(Its a OA framework with application top as QOT)
    & Quoting Sales Agent.(Its form based with Application top as ASO)
    I chose ASO as the top as all my .class files and .xml files are present in
    oracle/apps/aso/print/server
    Now then after extending the VO's and importing it etc . when I log in thru the reponsibilty
    Oracle HTML Order Quoting Sales Agent , it gets me a error of stmt exception.
    wheras
    it runs via the respon Quoting Sales Agent and reproduces a PDF output without any data??
    There are few questions I am looking out for an answer desperately.
    1) My HeaderVO, LinesVO and PromptVO are extended, so do i need to extend the links present in that in my new extended VO' s as well.
    2) My xsl stylesheet has a statement as
    select values of:....../HeaderVO/HeaderRow/....etc etc
    do i need to replace the above line to my new extended VO i.e
    select values of:....../CustHeaderVO/HeaderRow/...etc etc
    Kindly reply to me asap as I am in a development scenario..
    Do let me kow if u need more clarity on this?
    Regards,
    Ajit

    Oracle quoting is not in OAF, only the print functionality uses these VOs as data source , and are used in the xsl, for XML publisher to generate the quote print .
    1) My HeaderVO, LinesVO and PromptVO are extended, so do i need to extend the links present in that in my new extended VO' s as well.
    Please explain this , what do you mean by extending links ?2) My xsl stylesheet has a statement as
    select values of:....../HeaderVO/HeaderRow/....etc etc
    do i need to replace the above line to my new extended VO i.e
    select values of:....../CustHeaderVO/HeaderRow/...etc etc
    YesThanks
    Tapash

  • Help needed in Message Control - very urgent

    Hi Experts,
    I have one requirement where in the customer wants to stop creation of IDOC which posts Invoice using message control and message control status should be changed to RED color and also the message should be populated in the processing log saying 'IDOC processing failed, External customer numbers not maintained'.
    Could you please let me know any user exits or customer exits available for this purpose.
    I have searched all the possibilities.
    I have chanked the program RSNAST00 which picks up the data from table NAST and looks into table TNAPR to get the processing porgram for th selected output and also this program checks the partner profile and gets the process code which creates an inoice IDOC. I searched for user exits and customer exits to popolate the required messages and stop IDOC creation.
    I am an ABAPER and i know i need to write code to do validation, but could not find the exact place where to write? I any ABAPERS looking at this post, please reply me.
    Can anyone please advise me how to go about solving this issue?
    Thanks
    Srinath

    Hi,
       I am sending the requirement.
      Please send me the solution.
    Requirements:
    1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
    Investigation:
    Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
    a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
    Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                                a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
    Solution:
    Requirement 1.
           IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
         a. This change applies to all billing types (F2, G2, L2, RE etc).
           Requirement 2.
                 Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
    If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
    Segment:  E1EDK02
                                  Field:  QUAL = 001
                                  Field:  BELNR = VBRK-XBLNR
    Please help me how to move a step ahead.
    Waiting for your immediate response.
    Thanks,
    Chandra.

  • Reg: XI_CMS Transports. I need this forum reply very urgent. Please help me

    Hi! Gurus,
         This is Amar Srinivas Eli.I am workig on Production Support project. Herehave one doubt regarding CMS Servers
    Actually according to my knowledge XI Content aca be transfered from DEV>QA>PROD XI servers using CMS transports right?
    But for this Actually one CMS Server is enogh right? that means here XI DEV Server is X42
                          QA                X44
                          PROD           X46
    For cms server link is [http://sapr3001.geips.ge.com:54200/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms]
    but client is asking why we a re not able to access this
    http://sapr3001.geips.ge.com_:54400_/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms  for transporting XI content
    I think he is thinking that like XI portals for CMS also there will be 3 individual cms links are there right?
    But is it wrong or my argument is righ? at which my arguement is only one CMS Sever is enough that means one link is enough right?
    NOTE::
    Please provide exact CMS transport link procedure other that the linnk contaning "How To Transport XI Content Using CMS
    Version 1.00 – October 2005"?
    here in this only one procedure is there I want an exact procedure of how to transfer SLD systems means business and logcal and software components from all DEV>QA>PROD?
    I need entire produre of transfering Business systems?
    Please Kindly guide me in step by step procedure regarding this with Screen shots so that it may be helpful to me.
    Regards::
    Amar Srinivas Eli.

    Hi,
    Only one CMS is required as correctly said by Raj.
    For more information please refer the below links:
    CMS transport method:
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    •     CMS for SAP Exchange Infrastructure:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b8d8f7b2-0701-0010-b09a-cda4cca2c98e
    •     How to handle Xi with CMS:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f5d790-0201-0010-2984-ff72d822b109
    •     Configuration of CMS in Central NWDI & SLD to transport XI objects:
    /people/praveen.mayalur/blog/2007/05/31/configuration-of-cms-in-central-nwdi-sld-to-transport-xi-objects
    •     XI Software Logistics Solution III: CMS:
    /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
    Thnx
    Chirag

  • Need Help Bank Account balances-Urgent

    Hi Masters,Can anyone help me to identify if we have any concurrent programme availaible (report) to obtain the daily opening and Closing balances for bank accounts for a SPECIFIED PERIOD
    I looked around but no luck..Even though I found a report in Cash management as 'Bank statement Summary Report' but in that the opening and closing balances are just Net Movements or say amont reconcilled and unreconcilled.My requirement is to have the opening and closing balances at a given point of time.
    It had been almost a week researching but no luck please HELP
    Message was edited by:
    A007

    Also I'll apprecaite if you can tell me which table stores the opening or closing balances if in case I need to develop a customised report for my requirement..
    Thanks
    A
    Still waiting as on Jan 16 2008..I blv it is very easy for you guys..pls respond
    Message was edited by:
    A007

  • Compatability Issue: Need Help Disabling Additional Functions - URGENT!

    I am experiencing a problem with running Pro Tools 8.0.4 LE on my HP Pavilion dv7, which is encountered as a DAE error -6006 when loading Pro Tools. Research indicates that this error relates somehow to the firewire connection, and I am able to use Pro Tools on this system with a different interface (one that only has two microphone inputs) that allows me to connect via USB.
    Also, when I do run Pro Tools via USB it seems that I can't use the Quick Punch feature without a minimum 10 second (usually a lot longer) delayed response after pressing the playback or record button!
    I have been emailing Pro Tools support back and forth daily for 10 days now, and in the most recent email, they have said:
    "This might be an incompatibility issue. HP Pavilion dv7 laptop is not tested by our US headquarter testing team 
    and not officially supported.
    As you have found by yourself, each PC manufacture pre- installs their own features (as TV tuner) and the program into 
    Windows OS , the motherboard and BIOS. They work differently to Pro Tools and sometimes conflict. That is why we cannot support those PCs we have not tested.
    Please turn off all the additional function by HP from BIOS. Please ask HP support how to do."
    Therefore, I am requesting assistance with disabling all unnecessary services and processes on my HP laptop. I am assuming that the TV tuner is not a necessary service, but I have no idea about most of the others, and obviously I don't want to disable something that is necessary.
    If you could help me ASAP I would really appreciate it, as I need to get on with recording urgently! Thank you.
    This question was solved.
    View Solution.

    UPDATE:
    I have also been advised by Pro Tools support that if I add a supported FireWire card with Texas Instrument FireWire chip onto my computer, it may solve the problem. When I asked them how to go about doing this, they responded:
    "If your PC has Express Card slot, 
    http://avid.custkb.com/avid/app/selfservice/search.jsp?DocId=352647
    SIIG FireWire 2-Port ExpressCard
    is tested and supported FireWire card.
    Please ask HP about the spec of your computer."

  • I need help please!! urgent

    Good afternoon, this is to let you know that for some time now, a hacker has been coming into my Skype account and has been reporting information both personal and business email through [edited for privacy] . I have already changed the key 3 times and still access my account entering, I ask please help me solve this problem that I have. Thank you very much for your help.

    When I try to compile the sample code provided with
    these packages, msgsend.java using Jbuilder 2 I get
    the following errors:
    AFAIK JBuilder doesn't use the system classpath. You need to "import" those packages to your project some way. There should be info on using user supplied APIs in the help files.
    I cannot compile it by
    using the Javac command line compiler, it just says
    �Bad command or file name�.So you haven't set the PATH. Didn't you read the installation notes of the JDK?

  • Need help with a very simple example.  Trying to reference a value

    Im very new to Sql Load and have created this very simple example of what I need to do.
    I just want to reference the ID column from one table to be inserted into another table as DEV_ID.
    Below are my: 1) Control File, 2) Datafile, 3) Table Description, 4) Table Description
    1) CONTROL FILE:
    LOAD DATA
    INFILE 'test.dat'
    APPEND
    INTO TABLE p_ports
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    DEV_id REF(CONSTANT 'P_DEVICES',NAME),
    NAME FILLER ,
    PORT_NO
    2) DATAFILE:
    COMM881-0326ES09,6
    3) TABLE DESCRIPTION:
    SQL> describe p_ports
    Name Null? Type
    ID NOT NULL NUMBER(10)
    DEV_ID NOT NULL NUMBER(10)
    PORT_NO     NUMBER(3)

    hi,
    i managed to do this for my app. (think i referred to viewTransitions sample code and modified quite a bit)
    i can't remember this well cos i did this quite a while back, but i will try to help as much as possible
    1) from the appdelegate i initialize a root controller (view controller class)
    2) this root controller actually contains two other view controllers, let's call it viewAController and viewBController, for the screens which u are going to toggle in between. and there's also a function, let's call it toggleMenu, which will set the menus to and fro. i copied this whole chunk from the sample code. it actually defines the code on what to do, i.e. if current view is A switch to B and vice versa.
    3) inside the controller files, you need to implement the toggleMenu function too, which basically calls the rootController's toggleMenu
    4) we also need viewA and viewB files(view class)
    5) need to add the .xib files for the respective views and link them up to the controller class. i did not use the .xib files for ui layout though, because of my app's needs. however, it will not work properly without the .xib files.
    5) inside the view class of both views, i.e. viewA.m and viewB.m, you need to create a button, that will call the toggleMenu function inside the respective controller class.
    it will look something like this:
    [Button addTarget:ViewAController action:@selector(toggleMenu:) forControlEvents:UIControlEventTouchUpInside];
    so the flow is really button (in view)-> toggleMenu(viewController) -> toggleMenu(rootController)
    i'm sorry it sounds pretty hazy, i did this part weeks before and can't really remember. i hope it helps.

  • Need Help with a very simple view transition scenario

    Hello All,
    I am trying to learn how view transitions work and I am having a very hard time with the sample apps (like transition view app etc)...I need something much more simple at first. Can you please provide me a little guidelines on how to set up this following scenario:
    App loads up and shows a title screen with a button that says go. When you click on the go button the title screen fades out and a new view fades in (or slides in, or anything at all).
    Right now I have 3 nib files. There is the main one that is called on application start (tied with MainViewController, a subclass of IUViewcontroller just like in the hello world app. After the app loads the app delegate object tells the MainViewController object to load in another view controller object (via addSubview) which is tied with the second nib file; my title screen with the button. When I press the button I was thinking in the IBAction function to tell the MainViewController object to remove (or transition out somehow) the title screen view controller object then add the other view (third nib file in). This is the part I can't get working. Am I on the right track or have a gone hideously astray? Thank you!

    hi,
    i managed to do this for my app. (think i referred to viewTransitions sample code and modified quite a bit)
    i can't remember this well cos i did this quite a while back, but i will try to help as much as possible
    1) from the appdelegate i initialize a root controller (view controller class)
    2) this root controller actually contains two other view controllers, let's call it viewAController and viewBController, for the screens which u are going to toggle in between. and there's also a function, let's call it toggleMenu, which will set the menus to and fro. i copied this whole chunk from the sample code. it actually defines the code on what to do, i.e. if current view is A switch to B and vice versa.
    3) inside the controller files, you need to implement the toggleMenu function too, which basically calls the rootController's toggleMenu
    4) we also need viewA and viewB files(view class)
    5) need to add the .xib files for the respective views and link them up to the controller class. i did not use the .xib files for ui layout though, because of my app's needs. however, it will not work properly without the .xib files.
    5) inside the view class of both views, i.e. viewA.m and viewB.m, you need to create a button, that will call the toggleMenu function inside the respective controller class.
    it will look something like this:
    [Button addTarget:ViewAController action:@selector(toggleMenu:) forControlEvents:UIControlEventTouchUpInside];
    so the flow is really button (in view)-> toggleMenu(viewController) -> toggleMenu(rootController)
    i'm sorry it sounds pretty hazy, i did this part weeks before and can't really remember. i hope it helps.

Maybe you are looking for

  • Error while defining portlet

    Hi, I created a "Discoverer Worksheet Portlet" and assign it to a user.. when i login withat user and click the "Edit Default" and select the "Publisher Connection" and click "Next". The get the following error. Error - An error occurred while establ

  • AIR in DW-CS3: JavaScript Error Occurred

    I was just completing the AIR Application and Installer Settings using Dreamweaver CS3; when I clicked the "Create AIR File" button and received the message "whil executing onClick in AIRSettings.htm, a JavaScript error occurred". I have double check

  • Adobe Creative Suite 5 Web Premium Student and Teacher - Is there any chance to get a CC discount?

    Hi there. I'm currently a user of Adobe Creative Suite 5 Web Premium which I bought when I was eligible for Student&Teacher version. I'm not a student, neither a teacher anymore. Is there any chance to get a discount for Creative Cloud? I thought I w

  • Un-invoiced GR

    how can i see Un-invoiced GR Report? Moderator message: Locked. Reason: basic question. Points will be removed. Edited by: Csaba Szommer on Feb 13, 2012 8:21 AM

  • .XML page not opening in IE after running in JDeveloper 10.1.3

    Hi, I built a page SamplePG.xml under webui in JDeveloper. When i tried to run the page, the internet explorer opened and it keeps on refreshing, the page is not completely opening. any suggestions. Thanks.