One Column missing during print functionality

Hi All,
Actuall i am using print Functionality in Apex the code is :
<!--
<TD align=right><IMG height=3 alt=""
src="#WORKSPACE_IMAGES#spacer.gif" width=1 border=0><BR><IMG
height=15 alt="Print this"
src="#WORKSPACE_IMAGES#drucken.gif" onClick="window.print()" width=25 border=0>
</TD> -->
Actually i want to implement print functionality in Report
Issue 1:
. When i am openning that report and Clicking the print image its printing but last column is missing means width problem. How to automatically compressed so that all columns should display.
Issue2: Subject is header column in which we can enter 10 lines or more and so i have put the scroll bar . when i am enetering 10 lines and giving print functionality then top 3 lines get printed bcz remaining are not visisble to printer. So Is any one have ideay how to print all the 10 lines.
Thanks in Advance,
Amit

HI,
You can try following steps,
1) Goto transaction SPAD and create Page formate according to your requirement.
2) Create format and copy action from standard format.
3) create device type
4) assign that device type to custamize output type.
When ever you take print out of that ALV use your custamize Output Type

Similar Messages

  • Error printing Check - "Missing Parameter Values. Error During Printing"

    Dear friends,
    Our client is in SAP B1 8.81 Pl07 and is facing an error while printing checks designed in Crystal Reports. As soon as they click on "Print" button, we are getting an error "Missing Parameter Values. Error During Printing".
    We have checked the Crystal Reports and all the parameters are given.
    Can anyone help me regarding this?
    Thanks and regards,
    Bharath S

    hi,
    Quoted from Note 1555170
    1555170 - Error 'Missing parameter values' printing with CR layout
    Symptom
    When you print on add any stock transactions document, with Crystal report layout, you receive error message:'Missing parameter values' and then 'Error during the printing; ensure all parameters are defined'
    Step by Step scenario:
    1.Go to Administration / System Initialization / Print preferences and select the tab per document.
    2.Select the document stock transfer and tick the box print document when adding document and click on update.
    3.Go to stock management / stock transactions / stock transfer
    set the Crystal report template as default.
    Note:
    - The issue is reproduced also for Goods Receipt and Good Issue.
    - The issue is reporduced with any Crystal Report Template  for the     above documents.
    Cause
    Program error
    Solution
    This issue is candidate for a change in a future release of SAP Business One.
    Workarounds:
    1.Use PLD for printing the stock transactions.
    2.Convert the PLD layout to Crystal reports with Crystal converter.
    3.Print the document after adding it.
    Other terms
    sap business one, printing issues, good issue, good receipt, stock transfer, crystal report, print preferences, print when adding, dockey, missing parameter
    Header Data
    Released on     07.02.2011 13:27:30
    Release status     Released for Customer
    Component     SBO-REP-CR Crystal Reports 2008 for SAP Business One
    Other Components     
    SBO-GEN-PRT Printing Issues
    Priority     Correction with low priority
    Category     Program error
    Validity
    Software Component
    Version
    SAP BUSINESS ONE
    8.8
    8.81
    you can download the PLD to Crystal Converter [here|http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/108305a7-1555-2d10-8289-9a178d441c71]
    regards,
    Fidel

  • Why do apple release products with so many basic functions missing? Print!

    I love the iPhone and i love the iPad but why do apple always leave so many basic functions out of their devices.
    The iPhone was missing a decent camera, mms, multiple sms send, multi delete otions, contacts import from sim.....and many other things.....they eventually got there.
    Then they bring the iPad out which i would buy tomorrow and use for business to display my brochures, PDF's, port folio and type up quotes but there is no printing option.....whats all that about?
    I wouldn't mind if there was even a decent app available for it but i'd really like an option in Pages to print a bloody page!
    Why do apple do this? I have a Canon ip100 that i have been using for wireless printing with my IBM Thinkpad to type up quotes and print brochures on the move........if I buy an iPad i can no longer do this. It's like stepping back 5 years!
    Can anyone shed any light on why apple would produce such a product without the ability to print properly. It's so frustrating!

    Your obviously a huge apple fan and going to defend it's lack of functionality. A print function is not going to effect battery life, nor decrease hard drive space. If it was intended purely as a toy then why include software to write documents and create spreadsheets. I don't know many people who create spreadsheets for fun.
    What about people wanting to print photo's. 'There's an app for that'
    I personally think it's a huge oversight and a major disappointment for the iPad. If it is capable of it why not include it.
    I agree. I think a camera is a ridiculous thing to have on the iPad.....but you should be able to connect a camera o it and upload photo's.
    If apple hadn't left so many features off of the original iphone i would probably just accept that this is what apple intended the product to be used for and tough luck if it doesn't do what i want it to. But Apple left so many simple features off of the iphone it was ridiculous. They revolutionised the mobile phone but at the same time took it back 5 years in functionality. No MMS, No multi delete, no multi sms recipients.........etc.
    For a company so keen on selling top notch products to as many people as possible it seems crazy not to have a print function. Loads of businesses would use this if it had. I'm not the only one that thinks it's crazy not having a print function....just do a google search and there are thousands more asking the same thing.
    Adding a print function could probably sell a couple of million more units.
    It is a computer by the way....it runs an OS system. It has programs......it's just not a fully functional computer!
    Apparently Stove Jobs has said via an email that printing will come.......if it;s going to come then why wasn't it here to start with!
    Message was edited by: ChrisRianPhillips
    Message was edited by: ChrisRianPhillips

  • Dropdownbykey. data is missing in one column

    Hi,
    I am facing issue in dropdownbykey UI element.
    When pushbutton is clicked, there is table showing up. but the first column in the table is missing. There is no value. This column values are expected to be like hyperlink so that when any one is clicked that is selected and the field is populated by this value.
    I have found the dropdownbykey UI element on the view and trying to find the code for this UI element.
    I dont know anything about the dropdownbykey ui element as i am new to web dynpro. I am reading the sap help material but its not addressing very basic understanding
    Could you please help get answers to following
    1) When we click pushbutton of dropdownbykey ui element we see a table from which we can click on one of the rows (only one column of the table is link which we can click) How are the columns in the table determined ?
    2) Which key of the table is selectable ?
    3) From where are the values of the table fetched ? u2013 backend.  so obviously will have to pick data type linked to the ui element from some model rite ? it cant be string.
    4) Why is there a value-set ? is it for the dropdown part of the ui element ? is it mandatory to code them as contants when we make a ui element dropdownbykey on our view or there is any other way of fetching this value-set data?
    thank you

    Hi Yogesh,
    Its perfectly alright.
    Could you please tell me what is SVS code ?
    Is it so that by using this I will have all the methods needed for coding required for dropdownbykey ui element ?
    I dont want to go by dropdownbyindex because I am not developing any application, there is this problem in an already developed application which I have to investigate
    My above questions were based on understanding that when we include dropdownbykey ui element in our view , the dropdown list, pushbutton and screen with all values are inbuilt. This is written in the sap help on the link -
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/1b76bc3da0504e8b535cf3e154eaa7/frameset.htm
    But now I have seen in my system that there is actually a separate view for displaying values is created for the pop up.
    there is linktoaction ui element in the view where the dropownbykey is put and this linktoaction calls the view for displaying values.
    I am now checking inside the code which passes data to this pop up view , why the first column in the table is missing.
    thanks

  • All printers missing from Print Management

    Okay, so I have a weird issue.  I am running Windows Server 2008 Standard SP1 on my local workstation and used to be able to fully administer all printers in our company via Print Management installed as a feature from Remote Server Administration Tools > Role Administration Tools > Print Services Tools.  One day earlier this week, I lost this ability. 
    All printers literally disappeared.  I can still see drivers, forms and ports, but absolutely no printers.  However, within printers inside Print Management, I can still add a new printer although I cannot see it - but know that it has been added successfully by consoling the respective print server and tested it.  I also am still able to see all deployed printers (via GP) and can still deploy those that have previously been deployed.
    Nothing has changed in terms of security rights (I am a Domain Admin), firewall settings, or Windows Updates.
    The print servers that I connect to are all on the same subnet, and are running Windows Server 2003 R2.
    I've tried removing and re adding the Print Services Tools in Server Manager and tried updated Windows Media Services 2008 via this link. 
    I cannot find anything out on the web indicating a similar issue,  so I am hoping someone on this forum may be able to help.
    If this is a known issue, I must of overlooked the post, so please post the link for me.
    Thank you,
    Bob

    Hi,
    As far as I know, most printer object missing issue can be caused by the printer pruning. This feature is an thread running inside spoolsv.exe on the Domain Controller. It will periodically check if the printer object is valid. After trying several times, if the object always considered as invalid, DC will remove this object form AD.
    To disable printer pruning, we can simply disable spooler service. The only impact is the printing function on DC is not available. But, all the client and printer server will not affected. Client can still search object in AD.
    The following are two policy related to pruning:
    1.      On DC, run gpedit.msc and locate Computer configuration/Administrative Templates/Printers
    2.      Make sure all the pruning related policy is set to disabled
    Disabled the policy "Allow pruning of published printers"
    Enable the policy “Directory pruning interval”, and set the interval to Never
    Regards,

  • Automatic hyphens missing in print

    I design a quarterly newsletter using InDesign CS4 6.0.6, output to press quality PDFs. My client informed me that in the last two newsletters, hyphens are missing randomly in some of the stories. Even on the same page, one column has them and the next doesn’t.
    The prepress guy says that indeed they are missing on his internal proof via a production laser printer and of course on his plate maker, but they do appear in the PDF. He paginates by bringing my PDF into ID CS2 and outputs from there (seems convoluted).
    We’ve been doing this newsletter and many other projects without a problem for many years.
    Any idea where to look?
    Thanks.

    > He paginates by bringing my PDF into ID CS2 and outputs from there
    I think somebody needs to move into this century. If he can't RIP the PDF you send to him, find out why.

  • Libjil.iso missing during run time?

    Hi all,
             I am new one to jes. I setup jes in Raspbian on Raspberry machine. libjil.iso is missing during run time. Please help me how to resolve the issue.
    Thanks a lot.

    try to adjust ur repeating fram which prints ur data in ur report.
    some of ur data overlaping that's y it cannot display . most of the time character mode reports generate this error. simply adjust ur repeating fram up and down where it fits u problem will solve.
    tnx.

  • Create an object for just one column in resultset?

    Does it make sense to return a result set of one column into an object that represents that table? It seems like a waste of memory, but maybe I am missing something. Also all generic DOA's I have found don't deal with this situation, so maybe someone can help me with how I think about this problem in my design. Thanks for the thoughts.

    >
    Plan B is to just return a list of Strings instead of a list of "some object". The issue with this is the ease of creating a generic DAO that is easy to program to. Having a DAO for each "table" class seems to be the best practice that is offered out there.
    >
    Well a String IS an object.
    From an architecture perspective you should model a table as a table. So if you have a table of one column you should still model it as a table. A table is a table is a table and you should generally treat it as such until or unless there is a compelling reason not to.
    If you step back from the 'implementation' and refocus on the 'design' and requirements one of those requirements is to identify the sources of data that your application needs. Sounds like that data, at the server level is in a table and the typical interface between an application and a database is via tables. Makes no difference if you need one row or 1000, one column or 30 columns the first focus is on the data source.
    So the interface between an application, in your case a Java app, and a database server will generally involved tables. That means you should probably still use a standard DAO (I assume you mean Data Access Object).
    A generic table DAO would typically have functionality to deal with tables and not just an arbitrary object. It would have getters and setters, functionality to support multiple rows and might even know about columns.
    In good data models tables almost never have just one column. Even a simple lookup table usually has an ID or CODE column and then a value column for the actual data. So if that one column table suddenly becomes two or more columns you will have to refactor your entire architecture to then use a standard DAO.
    That is why the statement you made is true.
    >
    Having a DAO for each "table" class seems to be the best practice that is offered out there.
    >
    Unless you have some real reason not to I suggest you stick with that practice. That will make you code more scaleable and more consistent.
    From an architecture perspective.

  • Missing important image functions - going for Hype

    I made a product presentation with a meny system and aniamtions using Edge.
    I unfortunatelly found some very important functions were missing.
    So I´m going for Hype now, that has got all of these.
    So all the job has to be doe again :-(
    I didn´t find any feedback area for Edge Animate, so I´m putting it here. The things missing are:
    - Automatic Image optimization (like in Muse)
    - No support for PSD
    - No retina support
    - Can´t replace image, e.g from PNG to JPG (I made it thou by editing the JS-file, but that seems scary)
    These are all small matters for Adobe to fix and I suppose they are doing this in the future.
    I really like Edge Animate thou, but since it lacks important workflow functions I can´t use it in production.

    Hi,
    Thanks. Yes, that worked.
    I actually didn´t find this because in all other Adobe applications, this is done from the Library panel.
    I really stress the importance for you to make your/Adobe applications the same. We users love Adobe apps, but are really not liking the unnecessary different solutions in some of them. It´s frustrating and a complete waste of time.
    I actually remade the whole animation using (Tumult) Hype.
    It´s much easier to work with. Edge seems good to work with Javscript, but with Hype editing Javascripts is not as much necessary since there are pre-made solutions.
    You should also look into some things Hype has that is really important:
    - Automatic generation of Retina images
    - Automatic resampling of images
    - Scenes (a very nice way to work)
    All in all, Hype is much more efficient to work with.
    A thing that I do want in Edge (and Hype) is
    - When using Photoshop originals, it should be possible to set how each image should be exported, i.e as JPG (and setting quality) or PNG.
    In the real practical user world, we do only want ONE image to carry around for different purposes, it.e web, animations, videos, print.
    And when designing (doing layout) in i.e Edge, I do not always from start know if the image could be in JPG or if it must PNG because it is e.g. overlapping.
    The feature of settings export options for Photoshop images, I also would like to see in Muse. As well as Retina support in Muse that i REALLY want.
    I like Edge (and really like Muse), but as it is now, selection Hype is an easy choice over Edge.
    I hope that you do update Edge to support an extremely good workflow - then I will certainly selected Edge, since I already do pay for it anyway
    Best regards
    Bosse Nilsson
    Tel +46 (0)703-233 150
    2014-02-11 kl. 19:28 skrev elainefinnell <[email protected]>:
    Re: Missing important image functions - going for Hype
    created by elainefinnell in Edge Animate CC - View the full discussion
    Hi, man&mouse-
    Please note that there is a way to swap images, though it will try to fit the new image into the old dimensions.
    Select your image element
    In the properties panel, look at the Images section
    Next to the image name, select the double arrow key
    Select your new image (must already be in the Library)
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6110226-548268/437-302/ScreenShot2014-02-11at10.27.07+AM.png
    Hope that helps!
    -Elaine
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6110226#6110226
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6110226#6110226
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6110226#6110226. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Edge Animate CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to create combobox to display more than one columns

    I need kind help with the following question. As the combobox includes two pieces--textbox and the combobox list. Then how to create a combo box bean, which is based on table EMP(empno number(6), ename varchar2(40)) records for example, to achieve these features:
    1) allow more than one columns to be displayed in its records list--e.g., I need to show these records:
    empno (value) ename (label)
    103 David M Baker
    104 David M Baker
    105 Kelly J Volpe
    106 Krista F Carpenter
    107 Michelle P Silverman
    The two 'David M Baker's are different employees, but unfortunately, with the same name.
    2) allow combo box list to return the column value 'empno' even though it shows both columns as above. i.e., if user picks the second record above, then the combobox list returns 104 to the textbox in the background, but the 'David M Baker' is displayed on the textbox. Of course the combobox list may return 'David M Baker' if needed when there is only one column in the list as the current standard feature.
    3)allow partial match search by typing in some letters. i.e., if user types in the textbox of the combobox letter 'K' or 'k' then the partially matched records
    105 Kelly J Volpe
    106 Krista F Carpenter
    should be automatically displayed in the combobox list, not the whole list as above; then user may double click to choose one of the two or if user continues to type in 'R' or 'r', then the uniquely matched record 'Krista F Carpenter' is displayed in the textbox and the 106 is returned to the textbox.
    4) as a bonus if it's doable, allow combobox to return values to different textboxes when its records list has more than one columns.
    The reason I need these features is that I am working on the project migrated from Microsoft Access applications to centralized Java version web application. We at beginning promised to users community that Java swing will provide all the GUI user friendly features Microsoft Access has, but now we got stucked--we ate our words and got tons of complains from our users community. This is just the most needed component I posted here. I really hope that Java would add all the default GUI user-friendly features to compete with MS since its Win95 GUI has been accepted as industry standard. And most users are used to it. They claimed that they don't know and don't care what tool you use the newly created application should be more user friendly, not the opposite.
    I would be very much appreciated if any one would help me with this item.

    Thanks for your comments. I think nobody expects Sun to write everything including special features for its components. But I do think Sun should provide at least those standard user-friendly features for the GUI components because most users have been used to the GUI user-friendly features provided by Win95 and Access/Excel applications. Then this will help us to productively create applications to beat MS applications.
    Other wise like me, to get the existing GUI features, existed in old MS Access application, for our migrated Java application, I must re-create the GUI components library first which is a big burden to me at least, for others it might be fun for coding on their own from scratch, but I have to focus on the timing of project.
    If you really can pass the request to Sun and push them move a bit, please pass these words: before Sun starts to revise them, please play around window GUI, e.g., Access/Excel applications, then plan what to do, the bottom line is to equally match or better than them in FUNCTIONALITY(Look and feel is not my focus here). Don't ignore the influence of Windows regardless of you hate it or love it, the reality is most users are so familiar with windows GUI features which are accepted as industry standard. Thus the choice is to match or better to beat them. Don't make your car by closing your door, don't assume users will like what you come out in a closed room.

  • How to create multiple links in one column

    Hi,
    Could someone please help me with creating 2 different links in one column as below.
    I enclosed is the screen shot of my current application view... I would like to put the link one below the other in one column instead in two different columns.
    Table Name - SR_PROCESS
    Functions - get_open_project , get_open_be
    Columns - ''Initiate New Project'' , ''Initiate New Bug or Enhancement''
    Below is my coding.
    select
    ''Initiate New Project'' AS "Initiate New Project" ,
    get_open_project("SR_PROCESS"."PROCESS_ID") "Open Projects",
    ''Initiate New Bug or Enhancement'' AS "Initiate New Bug" ,
    get_open_be("SR_PROCESS"."PROCESS_ID") "Open Bugs"
    from SR_PROCESS
    Thanks, Sheetal

    976745 wrote:
    Hi,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and update your profile with a real handle instead of "976745".
    When you have a problem you'll get a faster, more effective response by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    With APEX we're also fortunate to have a great resource in apex.oracle.com where we can reproduce and share problems. Reproducing things there is the best way to troubleshoot most issues, especially those relating to layout and visual formatting. If you expect a detailed answer then it's appropriate for you to take on a significant part of the effort by getting as far as possible with an example of the problem on apex.oracle.com before asking for assistance with specific issues, which we can then see at first hand.
    Could someone please help me with creating 2 different links in one column as below.
    I enclosed is the screen shot of my current application view...Where is the screenshot? Providing an example on apex.oracle.com is a much better way to share details of your application.
    I would like to put the link one below the other in one column instead in two different columns.
    Table Name - SR_PROCESS
    Functions - get_open_project , get_open_be
    Columns - ''Initiate New Project'' , ''Initiate New Bug or Enhancement''
    Below is my coding.
    select
    ''Initiate New Project'' AS "Initiate New Project" ,
    get_open_project("SR_PROCESS"."PROCESS_ID") "Open Projects",
    ''Initiate New Bug or Enhancement'' AS "Initiate New Bug" ,
    get_open_be("SR_PROCESS"."PROCESS_ID") "Open Bugs"
    from SR_PROCESSDepends on your APEX version and the type of report. Please provide the information detailed above.

  • Update one column in Query only block

    Hi,
    I have a question regarding multi-record, multi-columns form block.
    A block has 100 columns (column1 to column100).
    We have two separate version of same form. In query only mode, update_allowed property of all the blocks in the form is False.
    But in query only form, one specifc column should be updateable.
    How can use Custom.pll to achive this functionality ?
    I tried following steps
    1. In when-new-item instance of column 54, wrote set_item_property and set_block_property
    2. Update allowed for block and specific item is True
    I know that Block property will override the property of items.
    Now all the items are updateable in query only form. But i want only one column updateable.
    Appreciate you valuable input on this.
    Thanks

    This is an eBusiness-related question, you should post it in the eBusiness-forum. From the "pure" forms point of view, set the Block as updateable and set all item except the one you want to be updateable to UPDATE_ALLOWED =PROPERTY_FALSE

  • HT4356 I have just updated my Epson printer to one which supports air print but consider it to be a waste of money as my printer has two paper trays and there is option to choose which try...just "print"  How can I print photos via AirPrint from photo  tr

    Hi,
    First-timer on this...Just updated my printer which was less than one year old, to one which had Air Print capabilities. This one is the Epson XP605 which has two trays, one being for photos. Each time I tried to Air Print a photo, it printed from the A4 plain paper tray instead of the Photo Tray.Twice...then I came into my study and changed the printer settings to Tray 1 (photo tray) Photo paper, size 5x7 and  Photo Best, but still it printed on plain A 4 paper. Would be most grateful for any help, although I did read on one Apple site that AirPrint may not be able to choose trays!!!! "may not"??  Thanks

    I just figured out the print quality issue for my wife with her new iMac and new printer.
    She replaced both at once and she couldn't understand why her Artisan 730 was lower quality then her Epson R280 when they had the same specs.
    Turns out the newer printer had the option to connect via wifi which we used during setup.
    The driver options are completely different depending on how you connect.
    Once I connected via USB the correct options were available and the print quality was better.
    Looking at the R2400 it dies not have wifi, but while researching the problem for my wife someone esle was having an issue updating to the latest printer driver.
    If you go into the print utility from the Printer and Scanner system preference and under the general tab you should have driver 5.5.
    One user had to delete the old printer driver before Software Update loaded the newer printer driver.
    https://discussions.apple.com/message/15947486#15947486
    On my MacBook Pro (w Snow Leopard) I always had to reconnect my wifi at home when it woke up. I upgraded my router from an old Netgear to a newer N D-Link and stopped having to do that.
    I would be surprised you would have that problem with an Airport Extreme, you might check to see if there is a firmware update for it.

  • How to get one column value from a DOCUMENT TYPE attribute

    Hi,
    I have created a DOCUMENT TYPE attribute which queries from a table and all the column values( For Ex: Customer Name, Contact Name and Address) are displayed in the message body.
    I want one column value(For Ex: Customer Name) to be displayed in the SUBJECT of the message.
    How can this be done? Please let me know.
    Thanks in advance.

    Thanks Matt. I have used SETITEMATTRTEXT to get a single column value into an ITEM ATTRIBUTE.
    Please see the following procedure...
    ==========================================================
    PROCEDURE MisNotifyDataDesk(
         itemtype IN VARCHAR2
         , itemkey IN VARCHAR2
         , actid IN NUMBER
         , funcmode IN VARCHAR2
         , resultout OUT VARCHAR2
         ) IS
    p_Cart_Id               VARCHAR2(30);
    p_ORG_NAME                     VARCHAR2(360);
    BEGIN
         IF funcmode != WF_ENGINE.ENG_RUN THEN
              wf_log_pkg.string(5,'Notify_Cust_Data_Desk','Not in RUN mode');
         RETURN;
         END IF;
    p_Cart_Id := WF_ENGINE.GetItemAttrText ( itemtype => itemtype
    , itemkey => itemkey
    , aname => 'CART_ID' );
    p_code_position := 10;
         SELECT
              ORG_NAME
         INTO
              p_ORG_NAME                     
         FROM
              MISIBE_END_CUST_DETAILS
         WHERE
              QUOTE_HEADER_ID = p_Cart_Id;
    -- For TEXT BODY
    WF_ENGINE.SETITEMATTRTEXT(itemtype => itemtype , itemkey => itemkey , aname => 'ORG_NAME',avalue => p_ORG_NAME);
    resultout := WF_ENGINE.ENG_COMPLETED||':'||CUST_DATA_CHECK(p_Cart_Id);
    EXCEPTION
         WHEN OTHERS THEN
              WF_CORE.context (
              'WFCustCheck',
              'MisNotifyDataDesk',
              itemtype,
              itemkey,
              TO_CHAR(actid),
              funcmode,
              SQLERRM
    RAISE_APPLICATION_ERROR (-20005, SQLERRM);
    ===========================================================
    I am using &ORG_NAME in the body and subject of my message. But the value is
    not retrieved into the ITEM ATTRIBUTE when I run my process. It is just displaying in the message and the subject of hte message as "&ORG_NAME"
    CUST_DATA_CHECK used in the resultout, is a function which returns 'T' or 'F'. That part is working fine. Just retrieving the ORG_NAME in the ITEM ATTRIBUTE is not working.
    Am I going wrong somewhere? Please let me know.
    Thanks,

  • How do I add more than one column to a table using SQL?

    Hi
    I need to add 3 columns to a table using SQL
    the syntax
    "ALTER TABLE TEST ADD COLUMN newcol1 float";
    works fine - for adding one coumn only.
    For multiple columns I tried various permutations along the lines of
    "ALTER TABLE TEST ADD (COLUMN newcol01 float, COLUMN new2 float,COLUMN new3 float)";
    "ALTER TABLE TIPSTEST ADD COLUMN new1 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new2 float"
    "ALTER TABLE TIPSTEST ADD COLUMN new3 float"
    etc., but this doesn't work.
    From a web search it sounds like SQL can only add one column at a time.
    I have a workaround : create intermediate temporary tables , copying data and adding
    one column at each stage. It seems a fairly awkward way of programming though.
    Am I missing something simple : is there a way to add multiple columns in one go?
    Thanks

    OK : solved an underlying problem with this one myself
    for the code
    String createString;
    createString =  "select COFFEES.* INTO NEWCOFFEES FROM COFFEES"; // example
              Statement stmt;
              try {
                   stmt = a_Globals.database1Connection.createStatement();
                          stmt.executeUpdate(createString);
                   stmt.close();
                   a_Globals.database1Connection.close();
              } catch(SQLException ex) {
                   System.err.println("SQLException: " + ex.getMessage());
              }                    commenting out the line:
    a_Globals.database1Connection.close();
    Allowed the subsequent SQL statement(s) to work OK. Looks like this was the cause of several
    difficulties, preventing me doing several SQL instructions in turn.
    Thanks for the responses.
    Mike2z

Maybe you are looking for

  • How to get rid of quotes in copied hyperlinks?

    I'm using Numbers to keep my hyperlinks, and suddenly discovered that it brakes them when I try to copy-paste them anywhere outside from Numbers. For example, link in cell looks like: (a href="link")link tex(/a) Note: symbols < and > are replaced wit

  • Urgent ora -00353 ora-354 ora-312 errors

    hi All we are getting following errors on one of our database i found the following on metalink to resolve TIP: Click help for a detailed explanation of this page. Bookmark Go to End Subject: Ora-354 Ora-353 And Ora-312 Reported On Mirrored Redo Log

  • Autostart of local dbconsole in 11.2.0.2

    I'm running ASM/Oracle 11.2.0.2 standalone using Oracle Restart to automagically bring up the ASM, DB and Listeners. Is there a way to add the local dbconsole to this? When I restart the server, ASM, DB and Listeners all come up perfectly, but dbcons

  • IBU Head

    Hi , I want tofind out the whether a login user is IBU Head or not. Is it possible through this function module RH_STRUC_GET . The Bussiness Partner column in Organisation Hierarchy is IBU. Regards, Jaya

  • Prioritize a Portlet

    Is there a possibility to prioritize an integrated services or application? I mean if an user 2 users starts 2 different application via portlets in my portal and the server is pretty busy - do i have the possibility to configure that some applicatio