Open / initialise ME21n with customized default Document Overview

Hi all,
I created a customer field in the Purchase Requisitions. Now I would like to create a program to start ME21n with the Document Overview on and a customized SAP Query from the infoset '/SAPQUERY/MEBANF' to implement in enhancement 'MEQUERY1'. In this Query I would like to find the Purchase Requisitions with a value which corresponds with the value of the customer field.
My obstacles are the following:
1) How can I pass a value through to the customized SAP Query
2) How can I customize the default setting of the Document Overview
Please don't post a list of other (i think irrelevant) User-exits. I'm aware of the fact that I shouldn't BDC ME21n.
Thank you in advance.
Regards,
Sander

Hi Ram,
Can you please share your thoughts on the document overview functionality in the purchase order screen, becuase I have a requirement to see the MPN number in that Doc overview for the selected Purchase requisitions. I have changed the layout and added the field MPN number but somehow this field is showing completely blank.
Regards
Shane

Similar Messages

  • MM - me21n Selection variant in document overview

    Hello,
    I would like to ask you whether it is possible to set up the Document overview in me21n as follows:
    "Open Purchase Requisitions" to be shown immediately in overview, once me21n screen opened. So there will not be any need for using the selection variant manually and choose the purchase requisitions manually.
    Thank you
    Katarina

    hi
    go to me21n
    now on the doc overview
    now in that click on change layout
    here from right column shift PR and processing status to left then save layout
    now u will see pr with the processing status
    now to make it default go to MANAGE layout (below save layout )
    here make ur layout as default and save
    regards
    KI

  • Opening a file with custom FileDialog. (VERY URGENT)

    hi everybody,
    I have a problem and stuck. I have developed a MDI application that provides all function like open saved files, create new, edit and lots of other. It only opens, save ,edit etc the graphical diagrams inside JInternalFrames. I have an icon on my desktop when clicked opens this Application. Just like Editplus, Word or some other application when you click on the icon it opens that. Same way I have created such functionality.
    Now instead of this I have created a custom FileDialogfrom which the user selects this application and is opened. Now I have small icon for this FileDialog on the desktop when opened gives the interface to select the files to be opened. My FileDialog just looks like the FileDialog but some more functionality and more components like JComboBox, Jlist, JtextField, JButtons etc. in it and have removed some of them. I am extending JDialog. But now my probelm is when you select a file and click open, it should open the selected file. How can I achive this functionality in my custom FileDialog as I am not extending FileDialog and as it is built in the FileDialog. How can I open the files with any extension in it's related application e.g .doc files to be opened in MicrosoftWord, .txt to be opened in notepad, .c or .cpp in Visual Studio C++ etc.
    How can I put this kind of functionality in my custom FileDialog. It's really important for me please any comments will help me alot. Thanks for the help

    Hello,
    I think you can write :
    Runtime.getRuntime().exec("start.exe " + MyFileDialog.getDirectory() + MyFileDialog.getFile());
    So, "start.exe" choose the application (not valid for NT machine), ".getDirectory()" return the PATH and ".getFile()" return the NAME.
    Best regards from France
    Thierry

  • Open XML file with user default browser and not the default editor.

    Hi,
    I'm writing a java program that appends numerous XML files together. The result is a NEW well formed XML document. Since i have an XSLT that performs several UI modifications on this xml file, the file extension must remain '.xml'. I need to open this xml file with the users default web browser. The problem is that:
    Runtime.getRuntime().exec(cmd);
    ....opens the xml file with the users default program for opening xml files which in my case is Oxygen. I want to force java to open this xml file with the users default web browser and nothing else.
    I guess i need the Windows command to perform the 'open with' feature but i have no idea what that command is or how to find it.
    Any ideas?
    Thanks,
    Varun Singh
    Edited by: Jagara00 on Jul 2, 2009 3:49 PM

    sabre150 wrote:
    Jagara00 wrote:
    Your right, but my question relates to the java issue and not the XSLT aspect of the problem. I am looking for a java solution for reasons i will no go into here. You have lost me.Me too.
    People do not often ask questions (or make challenges or observations) idly for the sake of 'theory'. It is most useful to explain to the best of your ability.
    As to
    "Since the Desktop class was only released with SE 6 I am forced to find another alternative. "
    There is an 'alternative'. You can import it into a 1.5 project. It was available as a free standing API before 1.6 - through JDIC. See [https://jdic.dev.java.net/documentation/Examples.html|https://jdic.dev.java.net/documentation/Examples.html] for more info.
    Edit 1:
    To a later reply
    "Do u .."
    ..want to spell incorrectly when you get frustrated?
    "..do not wish to.."
    ..get any help? That is the way you are heading.
    Edited by: AndrewThompson64 on Jul 3, 2009 9:27 AM

  • Creating a PO with reference (using document overview) with ref to a PO?

    Is this feasible to create a PO with reference to a PO ?????

    Hi Maria,
    Creating a PO with reference to another PO is possible even without the doc. overview. If you scroll your item overview long to the right you will find the columns "Purchasing document" and "Item" aside it (4th nd 3rd columns from the right in my version). Type in your referenced PO number there and the item and press Enter.
    However, I don't think this will help you. If you are not allowed to create PO with reference to another PO, you will not be able to "cheat" on the system. Such limitation is normally introduced by "Functional auth. for buyers": IMG for Purchasing > Authorization Management > Define Function Authorizations for Buyers. Check the frame "Possible Reference Objects". The two-digit key of the "func. auth." is assigned to your user using the parameter ID EFB.
    BR
    Raf

  • Issue in BAPI- BAPI_PBSRVAPS_GETDETAIL2 with custom default macro in SNP

    Hi Experts,
    System Details:
    SCM 5.0
    SP Pack: 13
    SNP PA1- No Time series Key figures, only order series
    SNP PA3: With time series KF, which also included dynamic safety stock time series KFs
    We have created custom macro ZGSCM_SAFETY_STOCK copy
    of /SAPAPO/SAFETY_CALC where we used BAPI- BAPI_PBSRVAPS_GETDETAIL2 to
    get the dynamic safety stock values from PA3(Planning area3-Planning book3) to PA1(Planning area1-Planning book1). We are getting two issues while doing this as below:
    1) Issue we are facing is that when it goes to PA3, it actually save
    PA3 planning book for that user as a active planning book and return
    back with PA3-planning book. So to avoid this, we call same BAPI again
    where we are just calling PA1 planning book without any selection and It works fine and returns
    the safety stock values correctly. But now when we load multiple items and
    doing the drill down then we are getting an error message saying:
    Error reading planning objects (No SNP master data table found)
    Error reading data - Planning book cannot be processed further
    Do we have any other way to set the active session for user after BAPI call with in the program?
    2) Also it always call default macros when BAPI calls which we don't
    want, Is there any way we can avoid calling default macros while calling BAPI-BAPI_PBSRVAPS_GETDETAIL2
    Regards,
    Hitesh

    Hi,
    The first issue which you faced is becasue of the BAPI which tries to access all the Key Figurs of the data view from which you need to copy data. These KF might be used in different Macros & those macro's might be running for different periodicities.
    You can create separate data view the the same planning book & assign the KF to the newly created data view. Most probably, this will solve your problem & you wont get any error message.
    Incase the error message pops up, you need to create diffent planning book or planning area (based on your previous PA) & then try. This will definately solve problem which u had faced.
    Thanks!
    Jay

  • CRM 2013: Custom button to Open multiselect lookup with custom view

    Hello Everyone,
    Looking for your suggestions to implement the following requirement.
    We want to implement a custom button on the sub grid of Custom Entity (Lets say, "PersonMapping"). The custom button should open another entity multi select lookup(Lets say, "Person"). Till here we could achieve by directly opening the
    multi lookup url of the Person using "Window.showModelDialog". But in this lookup, we want to set our custom view as default view. Please suggest some solution to achieve this.
    Thanks.

    Hi,
    First of all I would advice you to post this question in the new CRM 2007 forum.
    We have created our own button that calls an URL in a separate window. Here is some coding from the method CALLBACK~GET_BUTTONS which may inspirere you:
    CONCATENATE 'javascript:window.open'
                  lv_http
                  '","Print","resizable=yes,height=850,width=700,dependent=yes,status=1");'
             INTO lv_java.
      ls_button-type     = cl_thtmlb_util=>gc_icon_print.
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SALESQUOT_PRINT' ).
      ls_button-on_client_click = lv_java.
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = abap_true.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
      ls_button-text     = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-tooltip  = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_SALES_QUOT/SORDER_CREATEFOLLOW-UP' )."#EC NOTEXT
      ls_button-on_click = 'FOLLOWUP'.                          "#EC NOTEXT
      ls_button-page_id  = me->component_id.
      ls_button-enabled  = lv_persistent.
      APPEND ls_button TO rt_buttons.
      CLEAR ls_button.
    /Anders

  • EbMS with custom xsd document which import other xsd's

    Hi,
    I've created a ebMS partner agreement with a custom document type, which is actually importing other xsd's.
    When trying to create the AQ Adapter service WSDL, it returns a WSDL Read Error, with an error importing schema's. Unable to parse schema ...
    It looks like the imported xsd's are not deployed.
    Anyone seen this before ?
    Thanks,
    Guido

    It is definitely possible to use XSDs that reference other XSDs in Oracle B2B 10g for "Custom Document over ebMS".
    Whether or not it matters whether you use "import" or "include" I'm not sure, but import works as long as your schemas validate end-to-end with namespaces and such.
    You need to ensure that all the paths in your schemas are relative rather than pointing to files on your hard drive's filesystem or on the Internet.
    So you'll have something like this in your root schema:
    <xsd:import schemaLocation="foo.xsd" namespace="http://example.com/foo">
    <xsd:import schemaLocation="bar.xsd" namespace="http://example.com/bar">
    When you create a ZIP file containing all the schemas required, make sure everything is top-level in the ZIP file (i.e., no subdirectories at all). Then you upload the ZIP file and in the next box tell B2B the name of the root schema. For the example above, you'd have a ZIP file containing:
    root.xsd
    foo.xsd
    bar.xsd
    Of course you can have subdirectories and stuff in the ZIP file, but then you'll need to specify relative paths in your root XSD that reflect that.
    Also, if the schemas you are importing in turn import other schemas, you need to alter them to use relative paths and include them in your ZIP file.
    Hope this helps!

  • Close open sales order with no subsequest documents

    Hi,
    I have a scenario where line items in a sales order have been rejected citing a reason. But for two of these line item materials in a  report are showing up as open with zero quantity (comes up as error in report). The quantity of all line items in the sales order is zero. These line item description column is complete.
    how can this be corrected. how the sales orders  can be made completed, without deleting line items.
    Thanks
    Sharan

    Just a quick check,
    do all items you rejected have been assigned the same reason for rejection.

  • How do I open a .nrl extension in firefox, currently it returns a string of text instead of opening the file with the default program.

    When I click on a .nrl file extension (belongs to Autonomy I-Manage Software) it returns a string of code (what is in the shortcut link) instead of following the link and returning the document. Is there a way to tell Forefox connect to the document that the shortcut is linked to? The .nrl file extension belongs to a piece of software called FileSite (document management system).

    '''Adding download actions''' is the relevant section of that article for your situation.
    Is the *.nrl file on a website or already saved to your PC?
    If it is on a website, the server may not be sending the appropriate Mime-Type telling Firefox how that file is to be handled - ''"Content-Disposition"''.
    Can you give us the URL of the webpage where you have this problem? <br />
    So we can see first hand what the issue is.

  • Purchase order ME21N screen layout-document overview

    One of my users has an issue with the screen layout for transaction ME21N, when they click document overview on, everything works ok, when it gets switched off, the screen cannot be maximised, i have attached a screen print
    what could have caused this issue and how do we resolve it
    Thanks

    responsible for the width are following entries in table ESDUS
    MEPO     SAPLMEGUI/0000      Tree-On     X
    MEPO     SAPLMEGUI/0000      Tree-Width     462
    MEPO     Tree-Control        Tree-On     X
    MEPO     Tree-Control        Tree-Width     462
    Change yours to a value like shown above or remove those lines at all.
    (there is no regular maintenance transaction for this table)
    OSS Note 197012 - ME21N: Document overview - standard variant saved for PReq
    has a report ZDELEDUS attached which can be used to delete all entries  of a certain user from that table

  • Open items list with

    HI Experts,
                        want to open items list with customer id,fiscal year,posdting date,document date,currency reference,amount and Gl accounts..
    where i can find and download this..
    i tried through fbl5n but not worked..
    please anyone give me idea from where i can download thgis data into Excel sheet..
    Regards
    PT

    Hi Rau,
                      I tried from se38 but it saying no such reports..
    thansk for your reply.
    as i am not a functional guy..one request came i have to do this.
    Regards
    PT

  • Openeing a pdf with native pdf reader: openwithdefaultapplication

    Hello,
    Wondering if anyone can help on this one. From what I have read AIR for android does not support openwithdefaultapplication. The device I am developing for , the Motorola Xoom does not support pdf viewing in StageWebView or the browser. I have tried stagewebview and navigatetourl witn no success. So is it possible to open my pdf's with the native pdf viewer, calling it from my flex mobile app, developed in FB4.5 Any tips/ links sample code on how to do this, if it is possible would be great.
    Thanks

    Just to let everyone know. The answer
    Rangora gave was the correct solution for my purposes. I actually found this link (below) a while ago which takes you through it and gave me some inspiration. Its a java hack and not the prettiest solution. Lets hope Adobe and Android provide something a little more useful in the future
    http://www.jamesward.com/2011/05/11/extending-air-for-android/
    This (above) is if you want to open local files with the native/default application. I actually managed to extend this and get it to open a file with its default application (not just pdfs, any type as long as the tablet has a software that can open/support the type)
    For the unitiated who have found this post: WebView is only good for loading webpages and pdfs wont load on HoneyComb devices this way. You can get PDFs to display in a browser with PDF plugin on Honeycomb devices, but only from a hosted file location (webserver) which wasnt any good for my purposes
    The link above is currently the only way to open local files with their default application
    Thanks to all for your participation

  • Custom xsd document validation referencing child xsd via import/include

    Hi,
    I need to build an ebXML 2.0 agreement which will use multiple xsd's. I have a root xsd document(Company.xsd) which imports two child xsd document(Product.xsd and Person.xsd).
    I've validated the xsd's and it seems to work. I even built a composite process and it works.
    The problem is when I use it in B2B Gateway 11g. I get an error saying it cannot validate against the xsd.
    I followed a thread Re: ebMS with custom xsd document which import other xsd's that tells me that
    I should ZIP it(all top level) and use the zipfile as the document definition and specify the root xsd(Company.xsd). Zipping it with just basic one level
    xsd seems to work but not multi level.
    Are multiple level xsd supported in B2B 11g?
    Regards,
    Robert
    P.S.
    I've attached the xsd and sample xml data.
    --- Company.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.company.org" xmlns:per="http://www.person.org" xmlns:pro="http://www.product.org" targetNamespace="http://www.company.org" elementFormDefault="unqualified">
         <xsd:import namespace="http://www.person.org" schemaLocation="Person.xsd"/>
         <xsd:import namespace="http://www.product.org" schemaLocation="Product.xsd"/>
         <xsd:element name="Company">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Person" type="per:PersonType" maxOccurs="unbounded"/>
                        <xsd:element name="Product" type="pro:ProductType" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    --- Person.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.person.org"
    xmlns="http://www.person.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="PersonType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="SSN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ---- Product.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.product.org"
    xmlns="http://www.product.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="Type" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ----Sample XML Data----
    <?xml version="1.0" encoding="UTF-8"?>
    <n1:Company xsi:schemaLocation="http://www.company.org Company.xsd" xmlns:n1="http://www.company.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Person>
              <Name>MyName</Name>
              <SSN>12345</SSN>
         </Person>
         <Product>
              <Type>TheProduct</Type>
         </Product>
    </n1:Company>
    Edited by: RSamaniego on 30/08/2010 14:14

    This is the error I'm getting. I got this from the soa-server1-diagnostic file.
    [2010-08-31T08:46:54.209+12:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1e84d54] [userId: <anonymous>] [ecid: 0000If4kAAfECSIMyqqYMG1CV1Rh000033,0] [APP: soa-infra] [dcid: e89d49f26b5a6f2c:11cf61b2:12ac4ba60b9:-7ffd-000000000000002b] oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.[[
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Edited by: RSamaniego on 30/08/2010 13:57

  • Linking customized D.O with Customized Billing doc.

    Hi Experts
    Seeking advice for linking the customized D.O with Customized Billing document type.
    For Interco STO, delivery NLCC and Billing Doc IV is customized.
    However, still custom D.O is looking for IV instead custom billing doc.
    Please only detailed responce guidence.
    Rgds
    RG

    Please "only" detailed responce guidence
    What do you mean by this ??  You cannot dictate the members and hence, please avoid commenting like this.
    Coming to your issue, I am confused on your statement
    Seeking advice for linking the customized D.O with Customized Billing document type.
    For Interco STO, delivery NLCC and Billing Doc IV is customized.
    in the first line, you say you have customized whereas in the second line, you said that system is not taking customized document type.  Please be clear in your question.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • White Screen; Nothing Else

    Installed 10.4.11, last night, and all was fine. This morning my MacBook awoke with no problem but while I was creating a new folder I got the spinning beach ball that I watched for 10 minutes before trying a force quit with no luck. I shut down usin

  • How to check the Statistics generated for a table through DBMS_STATS.

    Hi, How to check the statistics generated for a Table through DBMS_STATS.GATHER_TABLE_STATS procedure ? Please let me know. Thanks ! Regards, Rajasekhar

  • Want to use presentation date variable in Advance SQL filter option

    Hi, I want to use presentation date variable in Advance SQL filter option.....I am getting the below error. SQL in Advance SQL filter ---- "Fact Status Details"."Load Date" = (select min(Cast("D Time"."Business Date" as char))-1 from "D Time" where "

  • Werid problem when open two songs

    Hi, When I have one song already open and I try to open a different one whilst keeping the first one open a strange problem occurs. As soon as the second song is open it appears at the arrange page and then it flicks back to the first songs arrange p

  • FaceTime camera not working with Skype

    Recently I've had trouble with my Facetime/iSight camera not playing nice wth Skype. The camera works fine with Photobooth and Facetime, but if I try a video call in Skype, I just get the spinning graphic. Doesn't matter how strong the connection is.