F4 help to create a document

Hi all,
I need a fm/method to create F4 help to create a document at the desired path.
Regards,
Harshit Rungta

hello
This document provides the procedure to get the F4 help for particular file type like excel type files or doc files but not all files. 
We can achieve this using the Function module u2018KD_GET_FILENAME_ON_F4u2019. To this function module we have to pass the following parameters.
u2022     Fieldname of the parameter
u2022     Pass the static as u2018Xu2019
u2022     File type in MASK
PARAMETERS: p_file TYPE RLGRAP-Filename.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
   PROGRAM_NAME        = SYST-REPID
   DYNPRO_NUMBER       = SYST-DYNNR
   FIELD_NAME          = 'P_FILE '
   STATIC              = 'X'
   MASK                = '.excel , *.xls '
  CHANGING
    file_name           = p_file
EXCEPTIONS
   MASK_TOO_LONG       = 1
   OTHERS              = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
hope it helps.
Regards
Geeta Gupta

Similar Messages

  • Help in creating XML documents in ABAP using XI in new version ECC6.0

    Hello All:
       I am pretty comfortable with XML and XSLT but new to XI. Is there a way of creating XML documents in ABAP using XI in new version ECC6.0? Please provide me with any links or any information you may have. All the answers will be rewarded.
    Thanks.
    Mithun

    hi,
    U cant create XML data in ABAP.
    to send the data to the XI, u have to use the IDOC or RFC FM, from there IDOC or RFC adapters will read the data in the same  format  and these adapters will convert the data in to  XML .Bcoz XI understand only XML data.
    from there XI will process and route them to Destination, by using anthor adapter.
    here u can use file adapter if u want data in file foramat from the IDOC or RFC .
    So XI is the integration tool only.
    reward points if helpful
    ragards
    sreeni

  • Please help with this bapi for creating billing document

    I want to create a billing document using the bapi:  BAPI_BILLINGDOC_CREATEMULTIPLE from a delivery number and NOT A SALES ORDER.
    Please tell me what  details to be passed to table  BILLINGDATAIN . Please don't provide me function module documentation because it does n't help me create billing document from delivery. A sample source code or suggestion to what to pass would be really great!
    Thanks,
    Krishen
    P.S. Points assured for helpful answers and thanks for your time.

    Hi,
    Try this..
    DATA: s_vbap TYPE vbap.
    TABLES: vbak,vbap,likp, lips.
    DATA: t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE.
    DATA: t_conditions TYPE STANDARD TABLE OF bapikomv WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE.
    DATA: t_ccard  TYPE STANDARD TABLE OF bapiccard_vf WITH HEADER LINE.
    DATA: t_errors TYPE STANDARD TABLE OF bapivbrkerrors WITH HEADER LINE.
    DATA: t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE
    PARAMETERS: p_vbeln TYPE vbeln.
    select single * from likp
                    where vbeln = p_vbeln.
    SELECT SINGLE * from lips where
                    vbeln = likp-vbeln.
      t_billing-salesorg   = likp-vkorg.
      t_billing-ref_doc     = likp-vbeln.
      t_billing-ref_item    = lips-posnr.
      t_billing-doc_number     = p_vbeln.
      t_billing-itm_number    = lips-posnr.
      t_billing-ordbilltyp  = 'ZINV'.
      t_billing-price_date = sy-datum.
      t_billing-ref_doc_ca  = likp-vbtyp.
      t_billing-material    = lips-matnr.
      t_billing-plant       = lips-werks.
      APPEND t_billing.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
      TABLES
        billingdatain         = t_billing
        return                = t_return
        success               = t_success
    commit work.
    Thanks,
    Naren

  • Need help in creating a Physical Inventory Document with HUs given

    Hi Gurus,
    There is a problem I am facing while doing a ALV report.
    I have created the report and there is a button which i have fixed which has to create Physical Inventory Document.
    The scenario is:
    I will select the records in the report based on the Vessel Bill Of Lading (VBOL) (related to Batch characteristics of a material) and then i need to pass those values to create Physical Inventory Document.
    I got a functional module HUINV_DOCUMENT_CREATE which will create the document but I am not clear what are the values that I need to pass in this.
    Or do anyone know how to create the Document by passing HU (Handling Units) and Plant & Storage Location?
    Please help me in the same.
    Thanks and Regards
    Vipin Das V

    Hi ,
            Just Pass the table of Handling Unit .That's all.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Mar 28, 2008 5:12 PM

  • I created a document in pages and had it saved and then exported to send to someone to edit in in Word and ow it is in Word format.. i need to revert it back to my Pages format. help??

    I created a document in a template on pages.. and i saved it.. then I exported it to a Word document to send to someone to edit for me.. i have never done that before i usually use a PDF..and it changed it and won't go back! HELP!

    Again: What version of Pages are you talking about?
    Menu > Pages > About Pages
    Again: Have you tried to open the Word .docx in Pages?
    Pages doesn't save to Word it Exports to Word .doc so there should be a .pages copy on your Mac.
    Peter

  • Help With Creating 'Hi-Res' PDF Document?

    Hi
    I am needing to meet a deadline tomorrow in supplying a magazine publication with a trade advert for my business.
    The magazine editor tells me he requires my advert to be emailed to him in 'HI-RES PDF FORMAT, 300 DPI'.
    Currently, my advert is a simple MICROSOFT WORD document, which is printed out for flyers etc. It is acceptable quality for my needs. I have very little knowledge at this point of making my advert into 'HI-RES PDF'.
    However, I do have access to ADOBE ACROBAT V9.0 PRO EXTENDED, and understand I can use this to create the document that is required?
    My main questions at this point are, where do I begin researching how to turn my current WORD document into the '300 DPI HI-RES' picture that is required? What is the process involved? How do I go about 'creating a hi-res picture' from my humble Word document?
    What I don't understand at the moment is, the difference between me emailing the magazine my Word document in its current .doc form, and needing to involve Adobe Acrobat to achieve 'best quality' HI-RES/300 DPI. Do I need to make my Word document into PDF to improve its quality?
    Totally new to this, would greatly appreciate any help/advice.

    I wish I had more time to spend getting up to speed on these issues, unfortunately the deadline looms tomorrow [new business, urgent last minute advertising and all that]. I expect to have a genuine hi-res advert ready for next month's issue - in the meanime, Aandi, how would you recommend I best go about things from what I have, or can modify/recreate fairly quickly?
    Guidlines given by magazine publication: 'Hi-Res PDF Document, 300DPI, 12cm W x 9cm H
    OK, my advert in Word is mostly black text on a white background, and there is a colour picture in it [to help illustrate my services]. So the picture is not 300dpi hi-res, I accept that, and I accept it will not be printed in the magazine necessarily any better than I can manage from my inkjet printer.
    But considering the magazine is a glossy, hi-res publication, surely the picture will not be printed in any WORSE quality than I can get out of my cheap £80 printer? If I know what to expect, I know how I can play around with the current lo-res images I have at my disposal.
    There are a number of options I currently have to replace the picture in my advert, and some have a deliberately 'hazy' look to them already - I am thinking perhaps pictures with this kind of styling which are far from 300 DPI anyway would be a better choice? At least in the printing reproduction, the degrasion would not look like a cheap 'error' but rather simply the style of the picture?
    And what about my Word TEXT? Forgetting pictures for the moment, will the all important text parts of my advert reproduce as good as I can get them in 'best' quality from my printer?
    What I am aiming for this evening, is once I have decided upon the kind of lo-res picture [if any] I am including in my advert, allowing for degrasion because it is not 300 DPI, can I then concentrate on the TEXT information and still work on this within MICROSOFT WORD before submitting it to Adobe Acrobat and producing the PDF document? I do not have to do anything special to the text at any point to make it 'high resolution'?
    Thank you again for your help so far.

  • Help! How do I create a document with an imported PDF in 300dpi using a FOGRA27 colour profile?

    I am a new Indesign user and I have been working with GIMP for the last year creating single colour print-ready PDFs. But now I need to create a document with a FOGRA27 CMYK colour profile and a resolution of at least
    How do I create a document with an imported PDF in 300dpi using a FOGRA27 colour profile?
    I can import the PDF by creating a new document and finding the PDF in places, but it's bad quality.
    The only colour profile I can find under View - Proof Setup is FOGRA39, but I need FOGRA27!
    Help help help, I need to get these files printed in two days!
    Thanks so much..
    xx

    Proof Colors doesn't change the file's color management, it just lets you see what the color values would look like if they are printed unchanged on different output devices. If you want to actually convert the color from one CMYK space to another, it's probably better to do that in Acrobat—Tools>Print Production>Convert Colors.
    There's very little difference between Fogra27 and Fogra39—Fogra27 allows more total ink 350 vs. 330.
    There's nothing you can do to improve the quality of low res images

  • Creating a document that is 468x60...HELP!

    Hi there I wan to create a document size of 468 x 60 as I want to create a flash banner advert. When i'm typing in the custom size, it it dosn't let me create this size! Does anyone know how to bypass this?
    Thanks for your help,
    Mark

    Mark,
    When you embed content in a webpage, like images or movies or flash files, you can explicitly define what size it appears. What you need to do is export a movie that is some even MULTIPLE of 468x60, then, when you embed it, set it to display in a area that's 468x60.
    Do a google search for embed and flash and that should give you more information.
    UPDATE: I did the search for you and found this at the second link.
    embed src="somefilename.swf" width="550" height="400"
    For this line on your webpage, you will change width to 468 and height to 60.

  • Hi i recently created a document on iwork pages via my icloud account however when i click on the document now it doesnt seem like it saved the latest version? can anyone help with this?

    Hi i recently created a document on iwork pages via my icloud account however when i click on the document now it doesnt seem like it saved the latest version? can anyone help with this?

    Welcome to the Apple Community.
    Are you also trying to re-open it on the same device as you edited it.

  • Help me with a document created on WORD.

    Can you help me please? On screen I have a document I composed on WORD, but I cannot move the page upward to read the bit at the bottom, as I cannot see and arrows at the side, to put my curser on. What should I do? There are 18 pages to this document, but I am stuck on its first page.

    What to do depends on the version of Word. In Office 2008 (the first version to run natively on an Intel Mac) , look at the lower left corner of the window. Make sure you are in either "Draft View":
    or "Print Lauout View":
    The other views are harder to use.
    Also see if changing the "Zoom" options helps:
    Did you create the document or did sonmeone else do it on a Windows computer? If the latter and they have Office 2010 for Windoze and you have a older Mac version, ask them to resend as an Office 2007 document.
    If these don't help, and considering Office is not an Apple product, it would be a good idea to post in the Microsoft Office for Mac forums here:
    http://answers.microsoft.com/en-us/mac
    Be sure to select the correct version of Office you have and show what Mac OS you are running. That will save time.

  • Creating Long Document: Seeking help getting started

    I am a newbie trying to create a book. I was wondering if someone could confirm my first steps so I can get off on the right foot. After quite a bit of reading, watching and trying, here's what I understand I need to do:
    -create a new document
    -import my text
    -create styles for my paragraphs and headings
    -save as a template
    -create more documents with that template
    -put all the documents into a book file
    -etc.
    Just to get me rolling, am I missing any crucial steps or elements here, or do I have the basic flow correct?

    Yeh pretty much it.
    One thing - I'd firstly import my text to a blank document in InDesign and then use File>Export and choose RTF, then I'd place that RTF file in the layout document.
    You might want to look at these
    http://indesignsecrets.com/free-scripts-help-fix-word-formatting.php

  • Help please, I have created two document folders???

    I have somehow created 2 Document folders, now when I save a document I have to check both folders to find it.  How do I fix this please?  I have a Mac OS X V 10.6.8

    Put all the files into one folder and delete the other. The default folder is the one you should keep. This will be the one in your /Home/ folder.

  • Re: need help to create document object

    Hi there,
    I am new to C3PO stuff and would anyone kindly give me a hand? I am trying
    to create a Document object out of the Message object, but it always give
    me error:
    err.description= object required
    err.number=438
    err.helpcontext= 1000424
    here is the actual code using VB
    ==========================================
    Dim objSelectedMessages As Object
    Dim objMessage as Object
    Set objSelectedMessages = g_C3POManager.ClientState.SelectedMessages
    Set objSelectedMessages = objSelectedMessages.Find("(DOCREFERENCE) AND
    (<Document Status, STRING> CONTAINS NOT ""Final"")")
    For Each objMessage In objSelectedMessages
    DoSomething objMessage.Document
    Next
    ==========================================
    Everything works great before we upgrade to GroupWise 7(from ver. 6)...
    Thanks for reading this post.
    Sincerely,
    Philip

    Thanks Michael and Glade, I really appreciate the input.
    I am sorry that I should have include the doSomthing method code, here it
    is:
    here is the actual code using VB
    ==========================================
    private sub CheckDocFinalStatus()
    Dim objSelectedMessages As Object
    Dim objMessage as Object
    Set objSelectedMessages =
    g_C3POManager.ClientState.SelectedMessages Set objSelectedMessages
    = objSelectedMessages.Find("(DOCREFERENCE) AND
    (<Document Status, STRING> CONTAINS NOT ""Final"")")
    For Each objMessage In objSelectedMessages
    DoSomething objMessage.Document
    Next
    end sub
    private sub doSomething(byval ADocument as object) <-- error occurs here
    If ADocument is nothing then
    else
    end if
    end sub
    ==========================================
    The error occurs as soon as I called doSomething Method, it won't allow me
    to create the document object at all. Seems to be missing a reference in
    my development environment because when I looked at the vb6 intellisense,
    there is no child object for the message.document.
    I know this is silly but is message.document object part of the GW Object
    API, right? I think I am missing something...
    And I will definitely install the GW7 SP1 as soon as possible and keep you
    guys update how it goes.
    Really appreciated.
    Thanks,
    Philip
    PCode2006 wrote:
    > Hi there,
    > I am new to C3PO stuff and would anyone kindly give me a hand? I am trying
    > to create a Document object out of the Message object, but it always give
    > me error:
    > err.description= object required
    > err.number=438
    > err.helpcontext= 1000424
    > here is the actual code using VB
    > ==========================================
    > Dim objSelectedMessages As Object
    > Dim objMessage as Object
    > Set objSelectedMessages = g_C3POManager.ClientState.SelectedMessages
    > Set objSelectedMessages = objSelectedMessages.Find("(DOCREFERENCE) AND
    > (<Document Status, STRING> CONTAINS NOT ""Final"")")
    > For Each objMessage In objSelectedMessages
    > DoSomething objMessage.Document
    > Next
    > ==========================================
    > Everything works great before we upgrade to GroupWise 7(from ver. 6)...
    > Thanks for reading this post.
    > Sincerely,
    > Philip

  • How to create a document/report on all objects in the BW system?

    Hi,
    The requirement in our company is to create a document/report with the list of all the objects that exist in the BW system for various applications. This list should contain the technical details of the different objects and where an object is used, what's the source for the object etc. The information should be similar to that in the Metadata repository but it should be one single document/report which includes all the objects.
    I tried using the 0TCTBWOBJCT info object (content browser) but it was not of great help.
    Can anyone help me out in this task?
    Thanks,
    Anu

    Hi,
    Try to use tables RSOSFIELDMAP, RSDSSEGFD and RSTRAN
    Hope it helps
    bhaskar

  • Error while creating delivary document

    Hi
    i got error while creating delivary document
    "Delevivary documents could not be created"
    Thanks&regards
    kishore kumar

    Hi Kishore,
    Please check the sales order is this relevent for the delivery or not.
    Check the copy control settings between your sales document type and delivery document type in VTLA transaction.
    Check the incompletion log for the sales order.
    I hope it will help you,
    Regards,
    Murali.

Maybe you are looking for