How to redefine interface while creating BSP extensinon

hi,
how to redefine interface while creating BSP extensinon i am using cl_bsp_extension a ssuper class here i have to redefine some interface how but it is not allowing hoew can i do these?

Hi Sahadev,
You can get the IP address of your client using..
DATA l_host TYPE string.
l_host = request->if_http_entity~get_header_field( '~remote_addr' ).
Have a look at [this thread|Re: How to find domain name for the host] for more details.
Search the forum , you will get the exact answer.
Regards,
Anubhav

Similar Messages

  • How to add invoices while creating Batch Payment in Oracle Apps R12

    Hi all,
    how to add invoices while creating Batch Payment in Oracle Apps R12
    Thanks

    Can you elaborate your problem in detail ?

  • How to find hostname while calling bsp

    Hello Experts ,
    I am developing a bsp program, in which i have to download a document from presentation server.
    i have used file_download option in htmlb,
    now i have to make document through CV01n.
    I have used a bapi 'BAPI_DOCUMENT_CREATE'  for creating a document.
    it works fine in R/3 environment, but when i run it through bsp it gives me dump.
    it requires hostname(name of frontend computer) for creating document.
    through SDN i came to know that i can't use 'cl_gui_frontend_services' .
    can anybody provide me alternate FM or class/interface for finding hostname on internet / intranet while running BSP.

    Hi Sahadev,
    You can get the IP address of your client using..
    DATA l_host TYPE string.
    l_host = request->if_http_entity~get_header_field( '~remote_addr' ).
    Have a look at [this thread|Re: How to find domain name for the host] for more details.
    Search the forum , you will get the exact answer.
    Regards,
    Anubhav

  • How to Change Conditions while creating PO

    Hi ALL
    While creating the PO, i need to change the value of certain condition type.
    I am able to do for PB00 condition, but i need to change it for other conditions.
    For example, if there is any discount condition, i need to be able to change the value, when PO is getting created
    Can you please help on this
    Regards
    Madhan Doraikannan

    Hi Madhan!
    Your scenario is getting more and more complicate, but so you will have better answers.
    I didn't found methods GET_CONDITIONS, SET_CONDITIONS in ME_PROCESS_PO_CUST (Customer enhancement?!), but most probably no changes will be done by these methods, which aren't allowed online in transaction.
    But why do you use a transaction dependent BADI instead of pricing exits / pricing procedure?
    If you need something out of condition reach, you can use exit with function module ME_FILL_KOMP_PO. Communication structure KOMP can be used in a formula to fill a condition without access sequence. Then condition exclusion groups can handle allowed / not allowed condition combinations.
    Regards,
    Christian

  • How to raise PO while creating GR

    hi gurus,
    here the scenario is that to raise the purchase order while posting goods receipt. its not that taking reference purchase order for goods reciept. but PO has to be created while we are posting GR.
    please help me..

    In configuration (transaction SPRO) see set up under:
    MM \ IM and PI \ GR \ Create PO automatically.
    In this step, you define for each movement type whether a purchase order is automatically created when a goods receipt is posted.
    When it is, the user can enter a goods movement without entering the purchase order number, using the Goods receipt for purchase order function. The system valuates the goods receipt at the price defined in the purchasing info record.
    Requirements
    In Customizing for organizational structure, the plant must be assigned a purchasing organization in the step Standard purchasing organization - assign plant so that the system can determine the purchasing info records.
    Activities
    Maintain the indicator for the required movement types. You can only use the movement types that are used for entering goods receipts for purchase orders: Movement types 101 and 161).
    Movements to GR blocked stock are not possible using this function.
    Regards,
    Nick

  • How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

    Hi
    I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
    Also I have to attach files as we do in Standard SAP shopping cart creation process..
    But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
    Thanks
    Geetha
    Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM

  • PR is accepting more than  FO  quantity while creating from main

    Hi,
    While Creating the PR from maintenance order wih control key pm03
    PR is accepting more than the assigned frame work order  (services) quantity.
    Can some one help how to restrict the same.

    Hi
    How are U,
    PR while creating automatically from maintenance order w.r.t Frame work order, service quantity is not getting validated against actual available quantity in FO.
    i.e. it is accepting more than the quantity available in FO when the services are copied form FO.

  • How to make a view created using enhancement framework as Interface View

    Dear Experts.
    I Created A  new View and window  by using Enhancement Framework for a standard webdynpro comp. Now i want to use the same window as a  UIBB in FPM , since in window properties interface view check box is unchecked it's not allowing me to use a UIBB in FPM.
    Kindly answer for the following.
    1) Is there any way to make a view a interface ( whcih is by default in nature but while creating from Enhancement framework behaivng Strangly).
    2) If there is no way then how to use enhanced (additional View Created  in Standard WDA comp) further like in FPM ( UIBB ).
    thanks in Advance.
    Best Regards,
    Kranthikumar Palle

    >
    kranthi9121 wrote:
    > Dear Experts.
    >
    > I Created A  new View and window  by using Enhancement Framework for a standard webdynpro comp. Now i want to use the same window as a  UIBB in FPM , since in window properties interface view check box is unchecked it's not allowing me to use a UIBB in FPM.
    >
    > Kindly answer for the following.
    >
    > 1) Is there any way to make a view a interface ( whcih is by default in nature but while creating from Enhancement framework behaivng Strangly).
    >
    > 2) If there is no way then how to use enhanced (additional View Created  in Standard WDA comp) further like in FPM ( UIBB ).
    >
    >
    > thanks in Advance.
    >
    > Best Regards,
    > Kranthikumar Palle
    Hi,
    Please see [https://cw.sdn.sap.com/cw/docs/DOC-21546|https://cw.sdn.sap.com/cw/docs/DOC-21546]
    windows created through enhancement are local to component and hence they are not visible outside.
    You need to find other way to provide your interface view to UIBB.

  • How to create a error message for Deleted batch while creating a PO

    Hi ,
    Can any body tell me how to create error message for a deleted batch while creating a PO in ME21n,
    when a PO is created for a deleted batch at GI &GR lebel it is showing  a error message,
    but i want to show a error message while doing the PO creation.
    Thanks,
    Sachhi

    in badi  me_process_po_cust u can  put this message
    METHOD if_ex_me_process_po_cust~check.

  • How to customize Category and Category items list while creating New Model

    Hi,
    what the most convenient way to customize the Category and Category items list while creating New Model?
    This is standard:
    Now, what we want to achieve, is to customize this menu, to:
    1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    2. In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available. Additionally, it should behave like a hierarchy ... meaning you can create the second diagram, only as child (related diagram) of the first diagram etc.
    I know, excluding the particular diagrams/diagram elements can be configured using the right/profile settings, but how to:
    1. Customize the standard New Model menu window
    2. Create copies of City Planning Diagrams with different set-ups
    3. Set the relationship between diagrams
    Is such a configuration change possible?
    Thanks a lot for your help!
    Regards,
    Rafal

    Now, what we want to achieve, is to customize this menu, to:
    Question #1. Display in the Category window only f.e. two categories:
    - EA Diagrams
    - BPM Diagrams
    Click on Tools => General Options=> Model Creation
    Click on Properties => at right of Default category set
    Note : Model template does not work as Category. We can't set. An enchancement request has been open to SAP
    In the following example I defined a new default (MyNewDefault.mcc). As you can see only BPMN models are available.
    To create a new category set with BPMN choice
    a) Copy default.mcc in MyNewDefault.mcc file.
        Go to Tools=>General Options=>Model Creation : Select your new category
        Go to Tools=>General Options=>Model Creation : Edit properties and remove all things you does not want keep
    or
    b) Go to Tools=>General options=>Model Creation : Edit properties and click on Save as button and specify the file name "MyNewDefault".
        Quit the window.
        Select you new category : Go to Tools=>General Options=>Model Creation : "MyNewDefault"
        Edit properties and remove all things you does not want keep.
        Save you new category
    Question #2. How to define copies/replicas of existing diagrams
         Wrote an extension
    Question #3. How to make sure, particular diagrams can be used (created) only on predefined "levels" and how to set the parent-child relationship, so that PD enforced it directly when creating a new diagram.
         Specify yours conditons in your extension attached to your model
         Example : When the user want create a child diagram :  You can display a list of Parent Diagrams to select from.
         You can set in your extension by VBScript parent-child relationship
    Question #4 In the EA Diagrams, we want to have f.e. four copies of City Planning diagram, each of them should have different elements available, f.e. in the first copy, only Architecture Areas shall be made available, in the second one Architecture Areas and Business Functions, in the third on f.e. only Business Functions shall be made available.
    If I understand well your question. I suggest to take a look in
    Repository=>Administration=>Objects Permission Profile
    You can specify objects to show, mask, deactivate at model level.
    You can specifiy your own metadata.
    But I'm not sure you can mask, deactivate functions following diagram selection. It seem to specific.
    Message was edited by: Benoit Le Nabec

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • How can I create a custom feature, which will automatically take a custom master page while creating a site ?

    Hello ,
    I am new in Sharepoint development . I am trying to create a Sharepoint feature to Activate master page automatically while creating the site .Below mentioned code I am using to do this . 
    But When I am creating any site under site collection .It is not applying automatically . I have to manually Activate that feature . 
    SPSite site = properties.Feature.Parent as SPSite;
    SPWeb rootWeb = site.RootWeb;
    Uri masterUri = new Uri(rootWeb.Url + "/_catalogs/masterpage/mycustom.master");
    rootWeb.MasterUrl = masterUri.AbsolutePath;
    rootWeb.CustomMasterUrl = masterUri.AbsolutePath;
    rootWeb.Update();
    How Can I create a feature that can activate the master page at same time of site creation under Site collection ,Without any manual work .. 
    Thanks in Advance .. 

    Hi,
    You can associate master page during feature activation as follows:
    http://social.technet.microsoft.com/wiki/contents/articles/19933.sharepoint-2010-set-a-custom-master-page-during-feature-activation.aspx
    Then, you can use feature stapling to apply automatically on site creation:
    http://blogs.msdn.com/b/kunal_mukherjee/archive/2011/01/11/feature-stapling-in-sharepoint-2010.aspx
    Thanks,
    Avni Bhatt

  • How to create a field value as constant while creating eCATT scripts

    Hello Guru's,
    I am updating thousands of records using eCATT.  How should i declare a field value as constant while creating a eCATT script it self,  so that it automatically picks that value and  update the records. I should not mention the field value in the upload file.
    Full points for the answer,

    Dont parameterize the value that you would like to keep as constant. Pass the default value to that feild while reocrding .

  • While creating a project in Garage Band my sample tracks were cut short then overwritten in soundtrack pro. Any ideas why? and how to get my tracks back?

    While creating a project in Garage Band 09 my sample tracks were being cut short- I then discovered they had been overwritten in soundtrack pro.
    Any ideas why? and how to get my tracks back?
    I never opened soundtrack pro to edit the track just Garage band....the track just mysteriously saved as half the track.
    I am running Lion and I upgraded my Garage band to '11 hoping it would resolve the issue...it didn't. Now I can't find that tracks at all.
    The 2 songs having the issue are titled Exotic Yearning and Reunion.
    I am in the process of reinstalling the audio content from my discs. I just don't want to run into this again.
    Any thoughts and help would be greatly appreciated!
    Thanks!

    After spending some time reinstalling the soundtrack pro 3 content I opened the full track called Reunion.
    It showed back up in Garage Band.*It was the full track and wasn't chopped off until I dragged it onto the project. Then it showed up chopped.
    Then I closed Garaged band and opened soundtrack pro 3....The song was again chopped off at the 1:33min mark
    Very Frusterated...:(

  • Error while creating a BSP application

    Hello Experts-
    I am trying to create a BSP application. This is the error what I am seeing, can any one let me know on what settings i have to make it work.
    Could not create the associated SICF node automatically.
    Add a node manually using "HTTP Service Maintenance"
    (Transaction SICF)
    Steps which I followed to create BSP app are
    Se80> BSP application > name of app> enter> create local object.
    Thanks,
    Raj

    hi,
    Please check the thread before you post it, becoz its already posted and answered too
    after getting the message
    "Could not create the associated SICF node automatically.
    Add a node manually using "HTTP Service Maintenance"
    in the same window in the common box type "/nsu53" and hit enter.
    system will give details about the missing authorization .
    or
    when you generate the web interface it automatically creates the SICF entry. Just make a litte change to the web interface and activate it again.
    You can also regenerate an entire BSP application by calling the O2_GENERATE_BSPAPPL function module in the test environment of
    transaction SE37 .
    cheers,
    Bhavana

Maybe you are looking for

  • How to use differing 'My Info' on iPhone/iPad

    Hi everyone, I am using an iPhone and my wife an iPad. Both devices are set up using the same Apple ID in order to easily share App Store purchases and for iCloud as well. In Settings.app under Mail, Contacts, Calendars you can tell the device who yo

  • How can I create this transition?

    Looking to create an image transition like this one (the image that comes in on the left from "broken" rectangles"): From Template Any ideas? Is it some kind of mask? Thanks.

  • Cannot load certain websites, cannot find fix

    I've noticed I cannot load 2 specific websites through Firefox: www.bankofinternet.com and www.quiksilver.com these sites will not load in any other browser on my computer as well. I've tried loading the pages directly & through google search. I've t

  • Inserting video into templates

    I am extremely new to AE. I have CS6 and am trying to learn it on my own... but it's very complicated. I have a template I am working with that I want to insert video clips into. The template has jpegs that say "insert photo or video here". How do I

  • InstallUpdates - System.UnauthorizedAccessException - 0x80070005

    Hello, I'm running into the following problem which I'm certain isn't an issue with the SDK but checking to see if anyone else ran into this problem and found a solution. I have a PS script to find all the updates made available to an endpoint via CM