Common popup dialog(but differnt model data) for entire application

Hi
i have use case like displaying the viewhistroy for the current page form data.
so i need to implement common popup dialog which will show the current page data history in a pop up.
can anyone suggest me how to implement? i am using the jdev11.1.1.3.0 version
thanks,
raj
Edited by: Raj Gopal K on Mar 21, 2011 2:19 PM

How about building a dynamic table to display the data. Probably a reusable 'task flow' which take some parameter to decide the query, and build the dynamic VO. This VO can be wired to the UI table - a couple of possibilities can be see here - http://jobinesh.blogspot.com/2010/06/model-driven-approach-for-building.html

Similar Messages

  • Why files in Lightroom mobile and files in the creative cloud not the same? idea-  one place(stored date) for all application ??????

    Why files in Lightroom mobile and files in the creative cloud not the same? idea- one place(stored date) for all application ??????

    Lightroom Mobile is not a cloud storage service. You shouldn't treat it as a way of backing up your files. You are merely storing Smart Previews of your files in the cloud space, high-quality JPEGs of your files regardless of their original format on your desktop. The point is that they are there so you can continue editing them in a Lightroom-like environment even while away from your desktop/laptop computer. The files in Lightroom Mobile can only be used in Lightroom Mobile.
    This is very different from what is offered by the Creative Cloud storage, which can be used to synchronize your files between any device (that can support the individual files).
    The vast difference in how each service works and its intended use is why they are separate.

  • Erroe gettin in loading the data for sample application

    Dear Expert iam getting the followiong error while loading the data for sample application in Essbase Administrator Console form SampleApp_data.txt
    Parallel dataload enabled: [1] block prepare threads, [1] block write threads.
    Unknown Member [E01_0] in Data Load, [1] Records Completed
    Unexpected Essbase error 1003014
    can you please help me in this regrard,
    Thanks and regards,
    Kishore

    Hi,
    The error message is saying you don't have a member named "E01_0" in your outline, you can check this by opening the outline in EAS and trying to find the member.
    Once you have checked that go into planning web, administration, dimensions, select entities and search for "E01_0", if it exists then you have not refresh from planning to essbase. You will need to go manage database and refresh.
    Cheers
    John

  • How to decide the no.of models required for our application implemention

    Hi ,
    i ahve one basic quetion in WD development.
    how to decide the no.of models (aRFC ,EJB..etc )  required or needed to get the functionality of our application ?
    for Ex:
    my application consisits of belwo functionalities.
    1. serach for the country
    2.display the bank lis for the above country
    3.display the bank details of the selected bank in the step no.2
    any one of you explain me how to decide the no.of models required for avoe functionalities .
    or is it  in a single model  we can include the all the above functionalities ?
    Regards,
    Govindu

    Hi
    It all depends on application to application and requirements better to consult with functional guys or team lead what exectly they want to implement .All could be possible with RFC or EJB , some alternatives are
    1. serach for the country  :  For this standard java API is there which populate all country (no need any rfc or ejb)
    2.display the bank lis for the above country : (Check if there  any webservices for this or create manually value help for this , even if u will use the RFC abaper guys will do the same )
    3.display the bank details of the selected bank in the step no : step 2 will solve this also with one additional field i.e address and details.
    I hope you agree with the point that stand alone WD app can do these all thing without any model.
    Best Regards
    Satish Kumar

  • Recover Essbase data for deleted application

    Hello,
    User has accidentally deleted Essbase application from the EAS Console. An application with the same name was created. We then used Hyperion Planning to recreate the database of the new application. We have file system backup of all the directories of the deleted application. How can we get all the data of the old application into the new one?
    Thank you for help.

    Thank you John for replying.
    I have another question.
    For the deleted application there was a separate directory containing only the .pad and .ind files on driver E and another directory containing files such as .otl, .db and others on driver D.
    After creating the new application all the files now reside in a single directory on driver D. So if we restore the backup directories, there will be 2 locations for the application file. Will Essbase dectect these locations or do we have to do some configurations?
    Thanks.

  • Get smartview data for another application

    Is there a supported API call I can make via HTTP to consume the same data that smartview uses?
    Could I just make the same HTTP calls that the smartview plugin uses?
    Thank you!

    Essbase - Oracle EPM System 11.1.2.3 Documentation Library
    links to
    http://docs.oracle.com/cd/E40248_01/epm.1112/essbase_api/launch.html
    and
    http://docs.oracle.com/cd/E40248_01/epm.1112/aps_java_api/index.html
    Others have done it (http://www.appliedolap.com/dodeca). Not sure if they go the same route as Smart View through provider services or try to operate more like the classic addin which spoke directly to Essbase (think the latter).

  • Retrieve DB2e (912) data for other application/database

    Hi everbody,
    we have a moblie application progammed with Borland-Delphi7 and want to use our xMAM DB2e data, installed on the same mobile client, inside this applpication or maybe only read some data into the respective MS database.
    Is there a way to retrieve data from DB2E DB into our MS DB or directly into our delphi application?
    Current approaches using ODBC drivers don't work.
    Any help or advices would be highly appreciated.
    Thanks in advance.
    Best regards
    Frank

    Hi Frank,
    May be you could follow the following link - very much similar question.
    <DB2E Table Extract
    Regards,
    Amith

  • IPhoto: Sorting is only done Globally for Entire Application

    Currently, iPhoto allows the user to sort photos by Date, Keyword, Title, or Rating. But it does this globally for all of the Events in the application. There should be a choice to do this either globally, or for a specific Event. For instance, I have one Event (album) of my wedding, where I want the photos in chronological order. I have another album of friends and family headshots that I use for my Address Book, which I want in alphabetical order by name. The problem is that if I sort by name, everything in iPhoto gets sorted that way, so my wedding album starts with pictures from the honeymoon and is all out of order. You get the picture. Anyone have any work-arounds for this?

    'Events' are a collection of photos from a certain event
    Events are a collection photos grouped by the time there were taken at. Iphoto has no way of knowing what contents of the photos actually is. Albums, on the other hand, can be used to group photos by any way you choose - by the people in them, the location, the rating, the camera model... just about any way you can think of. Albums can draw photos from many Events and so are much more flexible.
    Currently (since photos are already grouped as Events), if a person had to go to the trouble of creating a new Album for each new Event just to be able to be able to sort photos a certain way for that Event, it would be very tedious and time consuming.
    Yes, dragging an Event to the Album heading is very time consuming.
    I think a much simpler method would be to give the user the ability to sort photos in each Event the way they want to sort them for that Event
    iPhoto menu -> Provide iPhoto Feedback
    Regards
    TD

  • HT201299 Not enable or disable cellular data for certain iOS apps and features from setting? I keep it off but when I go to other app it on automatic

    I can't  enable or disable cellular data for certain iOS apps and features from  setting.
    When I off data for specific application and go to other option it automatic on all application
    Any one can help

    SOLUTION! (NO NEED TO RESET YOUR IPHONE SETTING!)
    I have the same issue for the last two weeks. But i have already managed to solve the issue all by myself. When i go to Settings > Cellular > below the tab "use cellular data for:", i turned off some apps which i didnt want to use with cellular data. As soon as i go back to Settings, and then i went back to Cellular, the apps which i had switched off earlier, automatically turned back on.
    Here's the solution:
    Either you're using wifi or cellular data, first of all you're gonna hafto turn on the cellular data use for App Store. Once you have turned it on, go to App Store application. Update ALL the apps which have new updates available. If it asks you to log in your App Store, just do so. If there's something wrong with your debit or credit card information, it will ask you to update to a different card. Just do what it asks. Put in a new credit or debit card info and fill in the forms provided. The card you're using must be usable and has usable balance in it. Let's say atleast $10 to $20. As soon as it confirms your card successfully, the app updates will start automatically. Continue to update all the apps. After all updates are finished, go back to Settings > Cellular. Try to switch on or off some apps for data use and recheck.
    Try it yourself! Have a nice day and don't put a blame on Apple for this.
    From Malaysia, with love.
    Please hit LIKE button if this solve your issue. Thank you very much! (:

  • Create a confirmation popup dialog when submitting a form

    Hi all,
    I have a simple business : ask a question (yes/no) to a user when he is submitting a form.
    This form is an "ADF Form (11g)" and is displayed in a inline dialog. It is triggered for an EntityView when user clicks on an edit button of a table row.
    I've tried lot of different solutions but it never works.
    Let me tell you about these:
    Solution 1: Adding a showPopupBehavior
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
                <f:validator binding="#{bindings.Datedeb.validator}"/>
                <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
              </af:inputDate>
           <!-- ... -->
              <f:facet name="footer">
                <af:group id="g1">
                  <af:commandButton text="Submit" id="cb1">
                    <af:showPopupBehavior popupId="p1" />
                    <af:returnActionListener/>
                  </af:commandButton>
                  <af:popup id="p1">
                    <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                      <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                    </af:dialog>
                  </af:popup>
                </af:group>
              </f:facet>
            </af:panelFormLayout>
          </af:form>
        </af:document>The issue is that the +<af:returnActionListener/>+ is never triggered and the form do not close.
    Solution 2: Adding a showPopupBehavior and change the triggerType
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
                <f:validator binding="#{bindings.Datedeb.validator}"/>
                <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
              </af:inputDate>
           <!-- ... -->
              <f:facet name="footer">
                <af:group id="g1">
                  <af:commandButton text="Submit" id="cb1">
                    <af:showPopupBehavior popupId="p1" triggerType="click" />
                    <af:returnActionListener/>
                  </af:commandButton>
                  <af:popup id="p1">
                    <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                      <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                    </af:dialog>
                  </af:popup>
                </af:group>
              </f:facet>
            </af:panelFormLayout>
          </af:form>
        </af:document>By reading in your forum I find this solution to be able to initiate a popup and execute the commandButton action by adding the triggerType="click" on the showPopupBehavior.
    The issue then is that the dialog get closed without waiting for a user response on the popup dialog (yes/no)
    Solution 3: Adding aAdfFacesContext.getCurrentInstance().returnFromDialog(null, null); in my dialog listener
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
                <f:validator binding="#{bindings.Datedeb.validator}"/>
                <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
              </af:inputDate>
           <!-- ... -->
              <f:facet name="footer">
                <af:group id="g1">
                  <af:commandButton text="Submit" id="cb1">
                    <af:showPopupBehavior popupId="p1" triggerType="click" />
                  </af:commandButton>
                  <af:popup id="p1">
                    <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                      <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                    </af:dialog>
                  </af:popup>
                </af:group>
              </f:facet>
            </af:panelFormLayout>
          </af:form>
        </af:document>
      public void mustClosePreviousAddress(DialogEvent dialogEvent)
        //Business logic
        AdfFacesContext.getCurrentInstance().returnFromDialog(null, null);
      }It looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
    Solution 4: Sendind an ActionEvent on the button when user has made his selection
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <af:inputDate value="#{bindings.Datedeb.inputValue}" label="From:" required="#{bindings.Datedeb.hints.mandatory}" shortDesc="#{bindings.Datedeb.hints.tooltip}" id="id2">
                <f:validator binding="#{bindings.Datedeb.validator}"/>
                <af:convertDateTime pattern="#{bindings.Datedeb.format}"/>
              </af:inputDate>
           <!-- ... -->
              <f:facet name="footer">
                <af:group id="g1">
                  <af:commandButton text="Submit" id="cb1" binding="#{backingBeanScope.dialogBackingBean.cb1}">
                    <af:showPopupBehavior popupId="p1" />
                    <af:returnActionListener/>
                  </af:commandButton>
                  <af:popup id="p1">
                    <af:dialog id="d2" title="Assistance" type="yesNo" dialogListener="#{backingBeanScope.dialogBackingBean.mustClosePreviousAddress}">
                      <af:outputText value="Do you want to close the previous adress automatically ? " id="ot1"/>
                    </af:dialog>
                  </af:popup>
                </af:group>
              </f:facet>
            </af:panelFormLayout>
          </af:form>
        </af:document>
      public void mustClosePreviousAddress(DialogEvent dialogEvent)
        //Business logic
        cb1.queueEvent(new ActionEvent(cb1));
      }The same as foor the third solution, it looks like it work and close the dialog when click on yes/no on the popup dialog but the value are not submitted and the data model do not change.
    I've verified with an actionListener, the actionEvent received when the user click on the button is exactly the same as the one i've dispatched manually.
    Can you help me with a solution adressing this issue?
    Best regards,
    Alex

    Mmm something like this ?
        public void newDialogListener(DialogEvent dialogEvent) {
            if (dialogEvent.getOutcome().name().equals("ok")) {
                this.getBindings().getOperationBinding("Commit").execute();
                    // Do something
        }

  • Assembly of pdfs - "insufficent data for an image" and blank page

    Hello.
    We are using Adobe Livecycle Assembler 8.2 to assemble a set of pdfs uploaded by end-users together with a pdf that our application create. We have been using the assembler and pdf generator for å few years.
    Lately we have had a couple of situations that our custoumer is not very happy with.
    Situation 1:
    Assembly of 5 pdf is sucessful, but when we open the assembled pdf, one page (representing one attachemnt upload by an end-user) is displayed as an blank page. The attachment is correctly displayed in the table of content with a bookmark to the blank page. The first time scrolling over the blank page in Adobe Reader X, a popup with the message "Insufficent data for an image" is shown. Our applications has no knowledge that the assembly is not sucessful, so its difficult to identify the problem. It seems like the pdf is a scanned image (Producer: AXIS 70U Network Document Server). Have also viewed the assembled pdf in another pdf-reader, but still the same blank page and popup.
    Situation 2:
    Assembly of a few pdfs is sucessful, but when we open the assembled pdf, one page (representing one attachemnt upload by an end-user) is displayed as an blank page. So fare same as situation 1. However, the attachment is not displayed in the table of content and no popup is given when scrolling over the blank page representing the attachment, just a blank page.
    I am looking at a way of detecting pdf that would cause these problems (if I can't fix the pdfs). Maybe there is a way (programtically with iText?) to check if the pdf contains fonts and if not, regard it as a scanned image and mark it as problematic (most scanned pdfs are assembled just fine). Earlier on we had another problem when assembly pdfs, we then got an exception "PDFUnsupportedFeatureException: FlateDecode Filter". Our solution was then to use PDF Generator to convert all uploaded pdfs(attachments) to ps, then back to pdf and reassemble. This approch also works in situation 1 and 2. However we have no failing applications with exceptions now... Doing the pdf2ps2pdf for all attachments is very time consuming and not a good solution for our customer.
    Do anybody have a clue what is wrong with our pdfs? Is there a way of solving this when doing the assembly? Any DDX-tags that might do anything nice?
    The data in the pdfs are sensitive information, so I can't attach them to this post. Can send the metadata if requested.
    Any response would be appreciated.

    Haven't seen that error before.  How are you converting the data after the function call if at all, i.e., are you moving to an XSTRING before handing it off to the web app?
    The things I would suggest which may be stating the obvious are:
    - Download the PDF locally after conversion with GUI_DOWNLOAD and check for the error
    - Does the same issue occur with program RSTXPDFT4 or fm RSPO_RETURN_SPOOLJOB or a SAPOffice (direct) conversion?
    - Remove the logo and try and/or take the original logo, reconvert it to BMP and upload it again in SE78
    - What happens if you change the destination device in the call, if anything?
    - Does OSS note 1320163 apply?

  • Sapscript-PDF-Mail error: Insufficient data for an image

    Hi, I've made a function module that takes a Purcharse Orden from spool, converts to PDF file and then send the form via mail. Everything work fine but the corporative logo in the form can't be seen... When I try to open the attachment, Acrobat Reader launchs a popup with the message "Insufficient data for an image" and then ONLY the logo is not displayed.
    Here's the MF code. I'll give points to useful answers. Thank you.
    FUNCTION Z_WF_SENDMAIL_PO_PDF.
    *"*"Interfase local
    *"  IMPORTING
    *"     VALUE(PO_ORDER) LIKE  EKKO-EBELN
    *"     VALUE(DELETE_SPOOL) LIKE  SYST-FTYPE OPTIONAL
    *"     VALUE(FILENAME) LIKE  P05T_RESPONSE-FILENAME OPTIONAL
    *"     VALUE(RECEPTOR) LIKE  SWHACTOR STRUCTURE  SWHACTOR
    *"  EXCEPTIONS
    *"      SENDING_FAILURE
    *"      CONVERSION_ERROR
    *"      NO_SPOOL
    *"      UPLOAD_ERROR
      DATA: T_TSP01 TYPE TSP01 OCCURS 0 WITH HEADER LINE,
            PDF TYPE TLINE OCCURS 0 WITH HEADER LINE.
      DATA: NUMBYTES TYPE I,
            PDFSPOOLID TYPE TSP01-RQIDENT,
            JOBNAME TYPE TBTCJOB-JOBNAME,
            JOBCOUNT TYPE TBTCJOB-JOBCOUNT,
            SPOOLS TYPE I.
      DATA: gd_cnt TYPE i,
            gd_sent_all(1) TYPE c,
            gd_doc_data LIKE sodocchgi1,
            gd_error TYPE sy-subrc.
      DATA: it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
      DATA: lt_objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE,
            lt_objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
            lt_objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
            lt_objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
            lt_reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE,
            l_document_data TYPE sodocchgi1.
      DATA: l_att_lines TYPE i,
            gd_buffer type string.
      DATA: BEGIN OF lt_mails occurs 0,
              bname like usr21-bname,
              smtp_addr like adr6-smtp_addr,
            END OF lt_mails.
      REFRESH : pdf, it_packing_list.
      CLEAR : pdf, it_packing_list.
      SELECT RQIDENT
      INTO T_TSP01-RQIDENT
      FROM TSP01
      WHERE RQOWNER EQ receptor-objid
        AND RQCLIENT EQ SY-MANDT.
        APPEND T_TSP01.
      ENDSELECT.
      IF SY-SUBRC NE 0.
        RAISE NO_SPOOL.
      ELSE.
        SORT T_TSP01 DESCENDING.
        READ TABLE T_TSP01 INDEX 1.
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
          EXPORTING
            SRC_SPOOLID              = T_TSP01-RQIDENT
            NO_DIALOG                = ''
          IMPORTING
            PDF_BYTECOUNT            = NUMBYTES
    *        PDF_SPOOLID              = PDFSPOOLID
    *        BTC_JOBNAME              = JOBNAME
    *        BTC_JOBCOUNT             = JOBCOUNT
          TABLES
            PDF                      = PDF
          EXCEPTIONS
            ERR_NO_OTF_SPOOLJOB      = 1
            ERR_NO_SPOOLJOB          = 2
            ERR_NO_PERMISSION        = 3
            ERR_CONV_NOT_POSSIBLE    = 4
            ERR_BAD_DSTDEVICE        = 5
            USER_CANCELLED           = 6
            ERR_SPOOLERROR           = 7
            ERR_TEMSEERROR           = 8
            ERR_BTCJOB_OPEN_FAILED   = 9
            ERR_BTCJOB_SUBMIT_FAILED = 10
            ERR_BTCJOB_CLOSE_FAILED  = 11
            OTHERS                   = 12.
        IF SY-SUBRC NE 0.
          RAISE CONVERSION_ERROR.
        ELSE.
          IF NOT FILENAME IS INITIAL.
            open dataset filename for output in binary mode.
            if sy-subrc ne 0 .
              RAISE UPLOAD_ERROR.
            endif.
            loop at pdf.
              transfer pdf to filename.
              if sy-subrc ne 0 .
                RAISE UPLOAD_ERROR.
              endif.
            ENDLOOP.
          ENDIF.
          IF NOT DELETE_SPOOL IS INITIAL.
            DELETE FROM TSP01 WHERE RQIDENT EQ T_TSP01-RQIDENT.
          ENDIF.
          CHECK NOT ( receptor IS INITIAL ).
          CLEAR: lt_reclist, lt_reclist[],
                 lt_objhead, lt_objhead[],
                 lt_objtxt, lt_objtxt[],
                 lt_objbin, lt_objbin[],
                 lt_objpack, lt_objpack[].
          CLEAR l_document_data.
    * Chequea si fue bajada la orden de spool
          CHECK NOT ( pdf[] IS INITIAL ).
    * Transferir los strings de 132 caracters a strings de 255 caracteres.
          loop at pdf.
            translate pdf using ' ~'.
            concatenate gd_buffer pdf into gd_buffer.
          endloop.
          translate gd_buffer using '~ '.
          do.
            lt_objbin = gd_buffer.
            append lt_objbin.
            shift gd_buffer left by 255 places.
            if gd_buffer is initial.
              exit.
            endif.
          enddo.
    * Cuerpo del mail
          CONCATENATE 'Se adjunta Pedido de Compra' PO_ORDER INTO lt_objtxt SEPARATED BY SPACE.
          APPEND lt_objtxt.
          DESCRIBE TABLE lt_objtxt LINES l_att_lines.
          READ TABLE lt_objtxt INDEX l_att_lines.
    * Titulo del mail
          l_document_data-obj_descr = 'Envio de Pedido de Compra'.
          l_document_data-obj_name = 'Pedido'.
          l_document_data-sensitivty = 'F'.
          l_document_data-expiry_dat = sy-datum + 10.
          l_document_data-doc_size = ( l_att_lines - 1 ) * 255 + strlen( lt_objtxt ).
          l_document_data-obj_langu = sy-langu.
          lt_objhead = 'ORDERS'.
          APPEND lt_objhead.
    * Configuración del cuerpo del mail
          CLEAR lt_objpack.
          REFRESH lt_objpack.
          lt_objpack-transf_bin = space.
          lt_objpack-head_start = 1.
          lt_objpack-head_num = 0.
          lt_objpack-body_start = 1.
    *      lt_objpack-body_num = 1.
          lt_objpack-body_num = l_att_lines.
          lt_objpack-doc_type = 'RAW'.
    *      lt_objpack-doc_size = STRLEN( lt_objtxt ).
          APPEND lt_objpack.
    * Configuración del archivo adjunto del mail
          DESCRIBE TABLE lt_objbin LINES l_att_lines.
          READ TABLE lt_objbin INDEX l_att_lines.
          clear lt_objpack.
          lt_objpack-transf_bin = 'X'.
          lt_objpack-head_start = 1.
          lt_objpack-head_num = 1.
          lt_objpack-body_start = 1.
          lt_objpack-body_num = l_att_lines.
          lt_objpack-doc_type = 'PDF'.
          lt_objpack-obj_name = 'Pedido'.
          lt_objpack-obj_descr = 'Pedido de Compra'.
    *      lt_objpack-doc_size = ( 255 * ( l_att_lines - 1 ) ) + STRLEN( lt_objbin-line ).
          lt_objpack-doc_size = 255 * l_att_lines.
          append lt_objpack.
    * Lista de receptores
          SELECT u~bname a~smtp_addr
            FROM usr21 as u
            INNER JOIN adr6 as a
            ON u~persnumber = a~persnumber
            INTO TABLE lt_mails
            WHERE bname = receptor-objid.
          LOOP AT lt_mails.
            clear lt_reclist.
            refresh lt_reclist.
            lt_reclist-receiver = lt_mails-smtp_addr.
            lt_reclist-rec_type = 'U'.
            lt_reclist-com_type = 'INT'.
            APPEND lt_reclist.
          ENDLOOP.
    * Envio del mail
          CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            EXPORTING
              document_data              = l_document_data
              put_in_outbox              = 'X'
              commit_work                = 'X'
            TABLES
              packing_list               = lt_objpack
              object_header              = lt_objhead
              contents_bin               = lt_objbin
              contents_txt               = lt_objtxt
              receivers                  = lt_reclist
            EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              OTHERS                     = 8.
          IF SY-SUBRC NE 0.
            RAISE SENDING_FAILURE.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFUNCTION.

    I guess this could be one of the reasons, check you have authorizations on image.
    Regards,
    SaiRam

  • How to make panel collection with auto width and height in popup dialog ?

    Hi,
    I have ony af:popup in that I have added af:dialog. And in this af:dialog I have added af:table which is surrounded by af:panelCollection.
    Means my popup structure is like as below
    af:popup
    af:dialog
    af:panelCollection
    af:table
    If I set resize="on" in af:dialog then I can able to resize my popup dialog but the panelCollection inside the af:dialog is not become auto adjusted.
    I am able to make panelCollection width auto adjusted by using AFStretchWidh style class but not able to adjust its height.
    Hope you can understand my problem and pls try to provide me its solution if you have already implemented this.
    Regards,
    DevD

    I believe you are using af:panelGroupLayout because there are some other components except af:panelCollection, so try this combination
    <af:popup id="p1">
      <af:dialog id="d2" resize="on" stretchChildren="first">
        <af:panelStretchLayout id="psl2">
          <f:facet name="bottom"/>
          <f:facet name="center">
            <af:panelCollection id="pc1">
              <f:facet name="menus"/>
              <f:facet name="toolbar"/>
              <f:facet name="statusbar"/>
              <af:table var="row" rowBandingInterval="0" id="t1">
                <af:column sortable="false" headerText="col1" id="c1">
                  <af:outputText value="#{row.col1}" id="ot5"/>
                </af:column>
                <af:column sortable="false" headerText="col2" id="c3">
                  <af:outputText value="#{row.col2}" id="ot4"/>
                </af:column>
                <af:column sortable="false" headerText="col3" id="c2">
                  <af:outputText value="#{row.col3}" id="ot3"/>
                </af:column>
                <af:column sortable="false" headerText="col4" id="c4">
                  <af:outputText value="#{row.col4}" id="ot2"/>
                </af:column>
                <af:column sortable="false" headerText="col5" id="c5">
                  <af:outputText value="#{row.col5}" id="ot1"/>
                </af:column>
              </af:table>
            </af:panelCollection>
          </f:facet>
        </af:panelStretchLayout>
      </af:dialog>
    </af:popup>Put only af:panelCollection in CENTER facet of af:panelStretchLayout and use other facets of af:panelStretchLayout for other components.

  • Customize Popup dialog

    hi,
    i created a popup dialog. but i dont want the maximize and minimize options for that dialog.can anyone say how to do it?.

    > can anyone say how to do it?.
    Using a sack of potatoes.
    Why?
    Because a motorcycle has no doors.
    Translation: You are not only asking this question in totally the wrong forum, it is devoid of any and all details to such an extent, one cannot even recommend what forum you should use. No language mentioned. No operating system. Pretty much nothing...

  • Quality data for stock uploading using movement type 561

    Hi,
    As system Go-Live business wants to have quality certificate for all FG from SAP. But part of data for quality certificate is of intermediate materials which is already conumed for production of FG so stock is zero for batch of consumed SFG. (ALL FG AND SFG IS BATCH MANAGED). We can upload FG part of quality data require for certificate as FG stock with batch number will be uploaded as initial stock upload with 561 goods movement. But how to manage SFG part of quality data, as stock for consumed batch of SFG will be zero and hence can not have inspection lot for SFG batch.
    Can anyone suggest how to upload quality data for material?
    Help to resolve this issue will be rewarded with points.
    Thanks and regards,
    Devang

    Hai PK,
    For Plant to plant stock transfer, follow the below steps,
    1) create STO in ME21N with Item category U
    2) create delivery document
    3) PGI
    4) create Excise Invoice
    5) create Billing document
    6) GR at receiving plant referring delivery doc. and perform Excise capture simultaneously or separately
    Hope it will helps you..
    Thanks & Regards,
    Kumar

Maybe you are looking for