If Conditions and URL

I am new to Flex. I have been asked to change an existing
app. I need to display few url's to user based on their role. Based
on the role i should enable or disable the url's. Please let me
know how i can do this.

I tried as specified "
mx.core.application.application.cnameInstanceId.role_name". I can
get the value i need on the page but i ran into one more issue.
Here is the problem
I have main mxml page which has a "custom component".
I was using "
mx.core.application.application.cnameInstanceId.role_name" to
identify users role at "initapp" functions of the .mxml for the
"custom component" Based on users role i was hiding a panel.
The code works fine but when i try to login as multiple users
with differnet roles, i have issue. I click on log out button,
which takes me to the main login page where i login in as a
differnet user, the initapp funcition of the custom component is
not executing. If i refresh the browser before loging as new user,
the code works fine. Is there any function or any piece of code
that i can use in the log out function to refresh the page so i can
make the initapp function to execute?

Similar Messages

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • Possible to do conditional ands?

    I don't know if this is possible or not. so I thought I should ask the experts.
    I have a function and I need to create a query that has conditional ands.
    what I'm looking for is something like this:
    the function has a few in variables. one of them is p_view
    in my where clause I was hoping to do something like this:
    where a.course_id = b.course=id
    if p_view = 1 then
    and a.supervisor = p_super
    elseif view = 2 then
    and a.emplid = p_emplid
    else
    and a.emplid = b.emplid
    end if;
    and a.role = b.role;
    now this is not real code, I've tried a decode and that did not work, then tried case, that did not work. so I'm not sure if its possible or not.
    can this be done or is there some other way to do this I don't know about?

    Hi,
    I've tried a decode and that did not work, then tried case, that did not work.Why not? How did you try?
    When asking questions, be as specific, clear and concisive as possible, so we can help you as best as possible.
    'It didn't work' isn't adding anything to that.
    now this is not real codeDon't post unreal/syntactically wrong code, it only distracts and confuses, raises more questions.
    Post real code or a clear description of the requirement.
    can this be done or is there some other way to do this I don't know about?Hm...my guess is that it can be done, and I wouldn't rule out getting it done using case yet.
    If possible, please provide the real query and explain why 'it didn't work'.
    We need to know the requirement here.
    All I can think of with your given input is this wild shot in the dark, however it might give you an idea:
    where a.course_id = b.course_id
    and ( case
            when p_view = 1 and a.supervisor = p_super then 1
            when p_view = 2 and a.emplid = p_emplid then 1
          end
        )  = 1
    and a.emplid = b.emplid --not sure about this here at all
    and a.role = b.role;Remember to use the tag before and after your examples.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Find Tax conditions and amounts while creating a PO from reference.

    Hi friends,
    I am creating a PO from another reference PO. When I create the PO the Tax conditions and
    amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
    is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
    conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
    (Condition Number) gets formed and then we can access this Condition types and Amounts data
    from KONV table by specifying the Condition number which is the Primary key of KONV table.
    But we need to access this data of Condition types and Amounts even before we press SAVe
    button on ME21N screen.
    Please help me on this.

    Hi,
    As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
    For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
    BAPI_PO_CREATE1 works with min. possible inputs successfully.
    Thanks to all!

  • The boxes where I would type in search terms and URL are GONE! So is the BACK BUTTON. HELP!

    I downloaded software to convert jpg files to pdf's, and it worked. however, I think it installed Incredimail, and I suspect that it installed Ask.com - neither of which I wanted. It was just after that that my back arrow and my boxes where i type in search terms and urls DISAPPEARED! Firefox is compatible with some important websites and has features that i need. NEED.

    Make sure that you do not run Firefox in Full Screen mode with all toolbars hidden.
    * Press F11 to toggle full screen mode (Firefox/File > Full Screen)
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Transaction Launcher Logical Systems and URLs

    Hi,
    I'm facing a problem with Transaction Launcher.
    I've done all the settings specified here: http://help.sap.com/saphelp_crm60/helpdata/en/46/231befc17b5872e10000000a11466f/frameset.htm
    Under section "Define Transaction Launcher Logical Systems and URLs" I've specified the values for Quality System: the ECC system is MQAS200A
    By the way, when I try to access an ERP Sales Order, the transaction CRM_TL_ERP_BUS2032_DISPLAY tries to access system MSVL200A (which is the Development ECC System).
    I cannot change the Logical System within the Transaction Launcher Configuration (currently it is set to ERP), since the Transaction is standard.
    Does anybody know how to map the generic value ERP with the correct value MQAS200A instead of MSVL200A?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi,
    You cannot generalize the Logical system name, for the workaround you need to put the logical system for quality and transport it to quality and it should work and to check in dev you need to again change the log. sys to dev and save it but dont transport it. Similarly you can do for production system.
    Regards,
    Shobhit

  • I  have some more problem in the  web.xml file and url-pattern in my  syste

    HI ALL!
    How can I create and place the web.xml and URL-parrten.Because I run
    the tomcat in my computer with ME system.
    Hoc

    what is the problem? please be more specific and detailed? check a sample web.xml file and make your own one and place it in your <application-context>\WEB-INF folder..

  • Why can I only accept the new terms and conditions and keep getting sent back to agreeing (5 times and still going in circles)

    Seems that I can no longer install anything, as every time I get forced to a page to read and accept the new terms and conditions - and no matter if I accept them or not, I only get sent back to read them again.   Another reason my next smartphone will be android based!

    The iTunes and Mac App Store / iCloud problem spontaneously resolved for me as of 21:54 Pacific Standard Time on 9/30/2012.
    Someone at Apple was aware of and fixed the problem. Finally.
    Yeah!

  • Setting windows mail as default "Mail To" doesn't work as usual. Opens entire windows mail vs. email new email message with subject and URL inserted

    I have a problem never had B 4. Have installed new Win7 OS many times and imported windows mail. Always when choosing windows mail in FF it worked. Now when doing I get windows mail program opening or if open coming to forefront or screen. Supposed to get a new email message with subject and URL inserted. I have searched many answers fro FF & MS. I have set WinMail as default, add ed same in reg, etc. etc. Still NADA. Any ideas? thanks

    You should post here:
    Microsoft Office forums >
    Word IT Pro Discussions
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • How to disable the "autoload" of pdf in preview and url in Safari

    I hate that new feature,
    How can i disable the "resume" of pdf in preview and url in Safari on every time i restart those prg?

    Sorry Noel - create an extended desktop and open photoshop - create a file the same size as your second monitor and drag it over to the second screen. Press F to make it full screen and Ctl 1 to make it actual pixels. We now have just what we require for projection mapping onto say a building assuming the second monitor is a projector. Now take a brush and stamp it in the middle of your page - which is on the second monitor, photoshop itself is on your Ist monitor. If you press hold Shift down and stamp your brush at the edge of your full page you will see it jump too the side. It will also do this if you try to drag a selection too close to the edge. The page will begin to scroll to accomodate the selection which is perhaps useful in some circumstances but in others like to projection map it is a horror because we need the page to remain exactly where it is at all times or it will no longer be `registered` to the architecture previously done. Beleive me
    this can be deeply frustrating when you are out in the cold trying to get all the facets of a building mapped, but even when in the warm trying to do it with a theatre set. 
    Should you have a solution then you would indeed become much revered in these parts  - best wishes  John   --
     a couple of mapped buildings done with this method below
    http://vimeo.com/31496197               ness chrurch
    http://vimeo.com/17762125                 xmas lights

  • In cursor i have two queries where put the condition and how to print the d

    hi i have 2 tables 1 is emp(empid,empname,dept,grade)
    2 is salary(grade,salary)
    in cursor when ever grade is increased salary automatically increased
    in 2 diffrent queries where i will put the if condition and how to print the output.
    any one can please suggest me.
    finally my required out put is
    empid,empname,grade,salary
    thanks

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I got four emails for the icloud and they are all terms and conditions and i cant find the agree button. where is it in the email?

    I got four emails for the icloud terms and conditions and i cant find the i agree button in the email . Where is it?

    It is not properly connected to the network.
    Make sure location is set correctly
    DNS should be on auto (settings - general - network)
    Try ethernet
    Signal strength on device won't account for issues, you would need a network report from istumbler, netstumbler or similar. This will show accurate signal strength along with noise and nearby networks

  • Receiver Determination Condition and XPATH

    Hi Everyone,
    I have a receiver determination with conditions and can not figure out why one thing is working, and the other isn't.
    As suggested in the following forum post, XPATH and RECEIVER DETERMINATION, I had to do the following to my XPATH expression to make it work.  The full xpath expression is this:
    (/p1:RenExtract_MT/Detail/CompanyCode = 9740)
    where
    p1 = http://company.com/xi/fin/
    but whenever I put in a condition it could not find a receiver.
    Hoewver, when I did this:
    //CompanyCode
    it worked.
    I did everything through the condition editor, many times, and didn't type anything in myself.  Is there a length limitation or something (I removed some data in here, the expression is really longer!).
    Any ideas?
    Peter

    Hi Peter,
    I do not have an explanation for this wired behaviour.
    But I can assure your, that your working solution, the //something expression is a good one and not inferior to a solution using an explicit, absolute path.
    Why is that: I can remember some benchmarks, where the //something expression always outperformed the other one.
    Regards
    Gregor

  • Shipment cost condition and purchasing conditions

    Hi Experts,
    I read OSS Note 427944 and I have configured few PO item conditions (relevant to ship. costing) . Each of them has different account keys assigned.
    I have created the same account keys in shipment cost pricing.
    I have created shipment cost document with one condition and when I post GR the system post it on the first condition in the purchasing schema and not on the condition with the same account key as supposed to be.
    In addition, when I have entered 2 conditions in shipment cost doc.
    and posted Goods Receipt the system sum and post the total amount on the first condition in the purchasing schema .
    How can I make a relationship between the "PO item conditions" and the "shipment conditions"?
    Thanks,
    Michal

    michallll wrote:
    Hi,
    >
    > First thanks for the reply.
    >
    > I did all that but still when I post GR the system does not linked the conditions correctly .
    > When I use one condition I expect the system to post the delivery costs to the exact condition in purchasing.
    > If I use condition zm00 in shipment cost than it is supposed to post the delivery costs on zm00 in purchasing pricing.
    > Instead , The delivery costs are posted on the first condition according to purchasing schema regardless of the account key of the condition.
    > When  I use 2 conditions in the same shipment item category, for example, conditions zm00 and zm02, The system sum them and post it on the first condition according to purchasing schema.
    >
    > Michal
    Hi,
    In your Po condition type in control2 tab please check on "Copy shp cost" and condition should be percentabe based and same condition should be in the shipement cost pricing procedure.
    hope this will solve your query

  • Difference in price in PO condition and invoice

    Hi,
    The situation is as follows:
    A PO was created, released and GR done. One item in the PO has quantity 200 KG, price Rs. 100 per KG. So the net price is Rs. 20,000. Now, the price of that item has increased to Rs. 110 per KG, so the total net price would be Rs. 22,000. IR needs to reflect this.
    I was going to reverse the GR for that material using MBST, change the price in the PO item condition and repost GR. But, the stock has all been consumed. Since there is no stock, reversal of GR cannot be done.
    What is the standard method of handling such a case? Should the amount be reflected in the invoice in MIR7 / MIRO? Quantity remains the same, amount has changed. When the PO doument reference is given in MIR7 / MIRO, the system proposes Rs. 20,000 as the amount. If this is changed to Rs. 22,000, the document can be posted, but the difference of Rs. 2000 is being posted to a different G/L. Is this ok? What is the impact on finance? Is there a better way of handling this? Help is appreciated, thanks.
    Regards

    The difference will get posted in Invoice in the Price difference account.
    This is the Standard Process for this kind of the case.

Maybe you are looking for

  • Nokia Lumia 1020 FAULT! Keeps taking pictures

    Hi recently bought a Lumia 1020 and yes so far impressed only on 2 occasions it has started taking pictures at a random first time was a couple of days in so I factory reset the phone and it was fine for a bit and it's doing it again can anyone advis

  • The system can't find support team when support message create

    Dear experts, The system can't find support team when support message create. It show the error that "<u>The action definition SLFN0001_ADVANCED_SMDIAG has not been assigned a merging technology</u> " and "<u>the action merging cannot be executed</u>

  • CONVERT_RTF_TO_ITF execuion

    hello guru's,       Can someone tell me how to execute the FM CONVERT_RTF_TO_ITF. Thanking in advance. Vikr@m

  • How to add the DC's GPWebDynproCO,External,api

    Hi,    I am trying to implement webdynpro component as a callable object in the GP. I am following the below help link to do the same. http://help.sap.com/saphelp_nwce10/helpdata/en/43/e085d6421a4d9de10000000a155369/frameset.htm Could anybody suggest

  • Mk:@MSITStore error while opening CHM file

    Hi, I have placed a CHM file (generated using RoboHelp X5) in the network folder. When opened from there, it is throwing this error: Cannot open the file : mk:@MSITStore: <path where file is located with file name>. This error is thrown only for one