PO with double freight
Hi all,
this is the problem.
The customer created a PO with two lines of freight condition in the header of the PO, one with no value with the vendor A and one equal to 2000 eur with the vendor B.
The PO has 6 lines: two of these (with the same material) have double freight condition, one with vendor A value 200 and one with vendor B value 300.
The freight condition is manual and no material of the PO has the condition value specified in the record info.
The questions are:
1. why only for the first two lines the freight is splitted?
2. why for the vendor A the freight value is > 0 if in the header is = 0?
Please help me solve the problem.
Thanks in advance.
Anna
Hi,
Can be set with help of following t.codes to have default G/L account with cost center in Service PO
OME9, OMGO ,OMQW & OBYC
Also check the blog:
http://www.bluemarlinsys.com/ns/0603-03.asp
Regards,
Biju K
Similar Messages
-
How to replace single quote with double quote
hai all,
i have a problem,
i am trying insert a string containing single quote into ms-access database.
it is giving error.
how can i avoid this .if i replace a single quote in the text with double quote it will defenitely
insert into database.
in java.lang.String
replace () will not work to replace quote with double quote.
any otherway to solve this problem.
please mail me to [email protected]
thank you
sambareddy
inidajava.lang.String.replace () will not work to replace quote with double quote.Really?
String x = ...
x.replace( "'", "\"" ); -
Open file from table with double click
Hi all,
I use adf faces and JDEV 11.
I want to open a file by double clicking on row in a table. (file is stored in the database).
I first tried it with a button to open the file, with this code:
System.out.println("Double click!");
BindingContainer bindings = this.getBindings();
DCIteratorBinding iter = (DCIteratorBinding)bindings.get("XxahelpBezoekRapDocView1Iterator");
Row row = iter.getCurrentRow();
FacesContext fc = FacesContext.getCurrentInstance();
HttpServletResponse response = (HttpServletResponse)fc.getExternalContext().getResponse();
response.setHeader("Content-Disposition","attachment; filename=\""+row.getAttribute("Filename").toString()+"\"");
response.setHeader("cache-control", "no-cache");
try {
InputStream in;
in = ((BlobDomain)row.getAttribute("Bijlage")).getInputStream();
ServletOutputStream out = response.getOutputStream();
writeInputStreamToOutputStream(in, out);
fc.responseComplete();
} catch (IOException e) {
e.printStackTrace();
} This is working fine.
Now I wan't to open the file with double clicking on a row.
For opening the file I use the same code in the backing bean and this code on the page:
<f:facet name="metaContainer">
<af:group>
<trh:script>
goEditRow = function(event) {
AdfCustomEvent.queue( event.getSource(), "doubleClickOnRow", {}, false);
</trh:script>
</af:group>
</f:facet>And a clientListener and serverListener on the table:
<af:clientListener method="goEditRow" type="dblClick"/>
<af:serverListener type="doubleClickOnRow" method="#{backingBeanScope.backing_pages_EditTicket.doubleClick}"/>The only thing that happens when I double click is that I see "Double click!" in the console. But I can't save the file :S
What is the problem?
Thanks in advance.Hi
What we do is to pick a table column for downloading the file.
We change the component in the column to the an af:commandLink and add an
af:fileDownLoadActionListener to the command link.
The user clicks on the link to download (open) the file.
Its not exactly the same as what you requested (double
click on the row) but it might be another solution.
Regards
Paul -
Cannot not close open apps with double clicking the button Since downloading iOS8.
What happens when you try? Does double clicking the ?home button bring up the Task Bar of recently used apps? If so what happens when you flick up on the preview screen for the app you want to close?
To quit an app double click the Home button to reveal the row of recently used apps. Flick up on the page preview and it will fly away and disappear. That quits the app. -
Bug with double division ??
Hello,
first sorry my bad english...
I am trying to convert a C program in java and i had a big problem with double division.
For example, my program needs to do that :
double d = 2. * 3.1415926 ;
double d2=511;
double d3=d/d2;
The value in memory of d3 is 0x3f892e92965e074e whereas with my original C program, for the same code) the value in memory is 0x3f892e92965e074d !!!!!! (the last byte is different)
So what is the problem ? Is the double division in java different with the C language or is it my code which has a problem ??
Thanks a lotIt could be different than (some implementation of) C, but that doesn't mean it's a bug or a problem. Java is supposed to implement an IEEE floating point specification; if you can demonstrate that it's not following that spec (I think it's IEEE 754) then report it as a bug. Incidentally, do Java and your version of C implement 3.1415926 the same way?
(Also, if that number is supposed to be pi, then the inaccuracy you claim in Java is much less than the inaccuracy you made by using an approximation to pi.) -
Hi,
The product Name of my computer is: HP Pavilion dv6-6093ex Entertainment
Notebook PC support
The number of my computer is : LM610EA#A2N.
Could anyone please at this splendid forum take some of their precious time
out to really reply my questions and solve my problems?
FIRST OF ALL:
My HP Pavilion Laptop is about 3 years old.
My
sister's Dell Inspiron laptop is 3 years old.
My HP laptop is well-cared, as opposed to my sister's Inspiron Dell laptop, which is always thrown in dust without caring at all. Also, its battery is always inserted even when it is fully charged while the laptop is plugged in to the main power supply.
However, my laptop is either used on only battery, or on plugin. Also, it is kept from the dust. But, I really found that the battery of the Dell laptop still lasts about three and half hours, and there is no problem cooling fan is not properly properly.
I only remember one thing differently done on my laptop battery which is I charged it fully, then I stored it without using it for about four months, then when I reused it, I found it got worse over time. I.e. first time of using it after storing,I found
it empty, then I charged it again fully, however, then it lasted about 2 hours, then 1 and half hours, next an hour, now it is only lasting about 20 minutes without performance. If there is high performance, then
the computer shuts down suddenly.
My problem is follows:::
First: Whenever I inserted any Containing Data OR Data CD/DVD-RLightScribe discs, I found that HP optical driver was
unable to read them. When clicking on the optical disc drive 'double-click' while disc was inserted, then I found that disc opened as this way(NOTE: With a CD/DVD player is grayed out)
I was told 'I suspect the culprit might be hardware and lightscribe dive might be
corrupt. Please sent it to service center to check. In addition, this thread could be as a reference:
http://answers.microsoft.com/en-us/windows/forum/windows_vista-hardware/media-in-cddvd-drive-is-not-readable/794fe26a-7e47-45c4-a50b-0af2ed53f75b'
Since no one replied to me at HP forums, although my HP laptop is one of their products, I had to post my problem here to know if my driver is corrupted and needs to be replaced or not.
Blank Or Used(containg data) CD/ DVD ±R/RW lightscirbe is unable to be read by optical drive
When clicking on drive 'duble-click', I found it opens like a USB FlashDrive or With a CD,DVD player, however,
: Bare in mind that 'with CD/DVD Player'
is grayed out)
Not Blank(containing data) CD/ DVD ±R/RW NON -Lightscirbe disc opens normal:
Blank CD/ DVD ±R/RW NON-lightscirbe opens normal(Opens like
a USB FlashDrive or With a CD,DVD)::
My LightScribe System Software version is:
I've tried installed the latest version of lightscribe software, then I run
the diagnostic utility, however, the problem still persists.
My HP CD/DVD DVDآ±R/RW specs are::
Optical Drives
hp CDDVDW TS-L633R
Media Type DVD Writer
Name hp
CDDVDW TS-L633R
Availability Running/Full Power
Capabilities Random
Access, Supports Writing, Supports Removable Media
Read capabilities CD-R,
CD-RW, CD-ROM, DVD-RAM, DVD-ROM, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD-R DL, DVD-RW
DL, DVD+R DL
Write capabilities CD-R, CD-RW, DVD-RAM, DVD-R, DVD-RW, DVD+R,
DVD+RW, DVD-R DL, DVD+R DL
Config Manager Error Code Device is working
properly
Config Manager User Config FALSE
Drive E:
Media Loaded
FALSE
SCSI Bus 0
SCSI Logical Unit 0
SCSI Port 0
SCSI Target Id
1
Status OK
Trying to solve the problem,
I have done these steps in order::
I tried checking with dignostic ulitiy:
I have tried Advanced View , this is the file of output data ofdignostic utlity
LightScribe System Software Settings:
SOFTWARE\LightScribe\MessageDir C:\Program Files (x86)\Common Files\LightScribe\
SOFTWARE\LightScribe\LSPrintDialog C:\Program Files (x86)\Common Files\LightScribe\LSPrintDialog.exe
SOFTWARE\LightScribe\LSPrintingDialog C:\Program Files (x86)\Common Files\LightScribe\LSPrintingDialog.exe
SOFTWARE\LightScribe\LsPrintLauncher C:\Program Files (x86)\Common Files\LightScribe\LSPrintLauncher.dll
SOFTWARE\LightScribe\ResourceDir C:\Program Files (x86)\Common Files\LightScribe\res
SOFTWARE\LightScribe\LSPrintAPI C:\Program Files (x86)\Common Files\LightScribe\LSPrintAPI.dll
SOFTWARE\LightScribe\Update\UpdateShellCommand http://www.lightscribe.com/go/downloads/windows
SOFTWARE\LightScribe\Update\PreviousVersion 1.18.20.1
SOFTWARE\LightScribe\Update\CurrentVersion 1.18.27.10
SOFTWARE\LightScribe\Update\TrailingVersion
SYSTEM\CurrentControlSet\Services\LightScribeService\Type 16
SYSTEM\CurrentControlSet\Services\LightScribeService\Start 2
SYSTEM\CurrentControlSet\Services\LightScribeService\ErrorControl 0
SYSTEM\CurrentControlSet\Services\LightScribeService\
SYSTEM\CurrentControlSet\Services\LightScribeService\DisplayName LightScribeService Direct Disc Labeling Service
SYSTEM\CurrentControlSet\Services\LightScribeService\ObjectName LocalSystem
SYSTEM\CurrentControlSet\Services\LightScribeService\Description Used by the LightScribe software components to support 3rd party disc labeling applications using the LightScribe COM Application Programming Interface (LSCAPI). This service needs to run for LightScribe direct disc labeling to work.
SYSTEM\CurrentControlSet\Services\Eventlog\Application\LightScribeService\
SYSTEM\CurrentControlSet\Services\Eventlog\Application\LightScribeService\
SYSTEM\CurrentControlSet\Services\Eventlog\Application\LightScribeService\TypesSupported 7
SYSTEM\CurrentControlSet\Services\Cdrom\Enum\0 IDE\CdRomhp_CDDVDW_TS-L633R______________________0300____\4&334f7860&0&0.1.0
SYSTEM\CurrentControlSet\Services\Cdrom\Enum\Count 2
SYSTEM\CurrentControlSet\Services\Cdrom\Enum\NextInstance 2
SYSTEM\CurrentControlSet\Services\Cdrom\Enum\1 SCSI\CdRom&Ven_ELBY&Prod_CLONEDRIVE&Rev_1.4\1&2afd7d61&0&000000
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\allocatecdroms 0
SYSTEM\CurrentControlSet\Services\CDRom\autorun 1
SOFTWARE\INTEL\Intel Application Accelerator Not detected
Drives and Media:
Drive 0 : hp CDDVDW TS-L633R 0300 219 (E:), Media Imaging Parameter : 114
I tried running the below command line to fix potential disk issue 'Chkdsk/r /f'
I cleaned the drive, discs, and so on.
I have uninstalled the all third-party data recording software.
I have uninstalled the Cyber DVD suite, lightscribe system software
which came pre-installed with my HP pavilion Notebook.
I have recovered my system from the HP Factory Recovery discs.
I have tried opening all those LightScibe discs not opening on my HP optical drive, on a Dell optical drive, and all of them were opened well, although Dell optical drive did not have a lightscribe feature at all., nor third party disc recording software.
However, the problem is still with opening the discs LIGHT-SCRIBE.
Thus, my questions are:
How to determine if the drive is corrupted and needs to be replaced with another one.
I think there something needed to be done on the BIOS Of my HP laptop[[[A similar problems happened on my Desktop computer's optical drive which is as follows (ALL discs are opened as empty by Optical Drive of My Desktop Computer) ---while
my optical drive of my desktop was connected to the
primary slave IDE, and the HDD was connected to the primary master IDE, the optical drive and hard disk are functioning well. However, I remember that while burning an image with Nero essential V: 5, something went wrong, and
then the Optical Drive of My Desktop Computer (HL-DT-ST DVD-RAM GH22NP20) became NOTrecognised/Installed on
BIOS, although it was still shown on the device manager as a recognised device. Also, it was listed on my computer, however, when entering a disc(blank or with data) into the drive, I found it was not recognised, and it opened empty(no files
at it), although it contains data. Thus, I decided to boot to BIOS, and clicked on 'Autodetection for IDE', then I found that only HDD was still shown as installed on BIOS. However, the optical drive was not. Th I tried clicking on it on BIOS and then
clicking on 'enter' to try to let the device be re-recognized. However, that
made no difference. I had to take part my computer ,and then reconnected the optical drive onto thesecondary slave IDE , and let HDD connected to the same
primary master IDE. Then, I found that the problem solved and all discs were read normally. Aslo, optical drive became installed on BIOS.
What is meant with with double Layer Support.
How much does it cost?
A man should convert his anger and sadness into strength to continue living in this life.Did you try unsinatalling LightScribe application then checking the status ?
This is probably related to the faulty hardware or the application ( LightScribe
Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
the thread.
Could you please really concentrate with me, and really reply to me to finish this problem pending.
If you had had a look again at my first post, you would have seen that I said that I have done some things, among of which is: I have uninstalled the Cyber DVD suite, lightscribe system software
which came pre-installed with my HP pavilion Notebook.
Yes, you're right the two threads below are concerned about one issue.
https://social.technet.microsoft.com/Forums/en-US/w7itpromedia/thread/5c1aa5e8-9728-492b-a5c3-387f29ee4b6e/#d6f63628-29a3-4adf-b33f-03b33c138910
https://social.technet.microsoft.com/Forums/windows/en-US/683997ff-1004-4579-b69d-5e982746c917/lightscribe-supermulti-dvdrrw-with-double-layer-support-is-no-longer-able-to-read-all-lightscribe?forum=w7itpromedia
However, this thread contains more precise details and screen shots about the problem. I was not able to understand whether all lightscribs were not unable to be read or not. However, I now recognized that, and I recognized that only all LightScribe(empty
or used) discs are unable to be read. furthermore, that other thread got far too longer to be followed.
Moreover, I would like you to take some time out to answer my problem about Lighstscribe discs since I am going to purchase 'A battery, Cooling Fan' From the HP agent in Yemen, which is far away from me about 1000 Km. Thus, If my optical disc drive was corrupted
as well, then I would be requesting the 'optical disc drive' as well from the HP along with 'Battery, Cooling Fan' .
A man should convert his anger and sadness into strength to continue living in this life. -
I've created an SSIS package to import a comma delimited file (csv) with double quotes for a text qualifier ("). Some of the fields contain the delimiter inside the qualified text. An example row is:
15,"Doe, John",IS2,Alabama
In SSIS I've specified the text qualifier as ". The sample output in the connection manager looks great. The package runs perfectly from VS and when manually executed on the SSIS server itself. The problem comes when I schedule the package to run via SQL
job. At this point the package ignores the text qualifier, and in doing so pushes half of a field into the next available column. But instead of having too many columns, it concatenates the last 2 columns ignoring the delimiter. For example (pipes are fields):
15|"Doe| John"|IS2,Alabama
So the failure happens when the last half of a field is too large to fit into the next available field. In the case above _John" is 6 characters where the IS2 field is char(3). This would cause a truncation failure, which is the error I receive from the
job history.
To further test this I created a failure flow in my data flow to capture the records failing to be pulled from the source csv. Out of ~5000 records, ~1200 are failing, and every one of the failures has a comma delimiter inside the quoted text with a 'split'
length greater than the next ordinal field. The ones without the comma were inserted as normal and records where the split fit into the next ordinal column where also imported, with the last field being concatenated w/delimiter. Example records when selected
from table:
25|"Allan Percone Trucking"|GI6|California --Imported as intended
36|"Renolds| J."|UI6,Colorado --Field position offset by 1 to right - Last field overloaded
To further ensure this is the problem, I changed the csv file and flat file connection manager to pipe delimited, and sure enough every record makes it in perfectly from the SQL job execution.
I've tried comma delimited on the following set ups. Each set up failed.
SSIS Server 2008 R2 RTM
DB Server 2008 RTM
DB Compat 80
SSIS Server 2008 R2 RTM
DB Server 2008 R2 RTM
DB Compat 80
SSIS Server 2008 R2 RTM
DB Server 2008 RTM
DB Compat 100
SSIS Server 2008 R2 RTM
DB Server 2008 R2 RTM
DB Compat 100
Since a lot of our data comes in via comma delimited flat files, I really need a fix for this. If not I'll have to rebuild all my files when I import them to use pipe delimiters instaed of commas. I'd like to avoid the extra processing overhead if possible.
Also, is this a known bug? If so can someone point me to the posting of said bug?
Edit: I can't ask the vendor to change the format to pipe delimited because it comes from a federal government site.Just wanted to share my experience of this for anyone else since I wasted a morning on it today.
I encountered the same problem where I could run the package fine on my machine but when I deployed to a server and ran the package via dtexec, the " delimeter was being replaced with _x0022_ and columns all slurped up together and overflowing columns/truncating
data etc.
Since I didn't want to manually hack the DTS XML and can't install updates, the solution I used was to set an expression on the textdelimiter field of the flat file connection with the value "\"" (a double quote). That way, even if the one stored in XML
gets bodged somewhere along the way, it is overridden with the correct value at run time. The package works fine everywhere now. -
Why can't I open files with double click, etc?
Hello, all,
I have been having problems with my MacBook (Aluminum late 2008, I think, OS 10.5). It runs slowly; files on the desktop and in my "Macintosh HD" often won't open with double-click but have to be opened with File-->Open; there are Word Work Files that won't go away; the trackpad is often stiff and not very responsive; clicking on the mouse is very stiff, despite very easy settings. In short, a lot of things are sluggish. Sometimes, also, I get the spinning beach ball, but not all the time.
I have run disk permissons repair from Disk Utility many times (both from the desktop and from the MacBook install disk); I have replaced the directory with Disk Warrior at least twice; I have verified that the disk is OK; I have zapped the PRAM; and done other things of that kind.
I took the MacBook to an Apple Store yesterday. It had been unplugged and much to my surprise, most everything seemed to be working all right. When I opened it today, however, I found everything as it was before I took it to Apple. Including the Word Work files, which I thought were gone.
If I recall correctly, this started when I was working on a long editing project in Word, but I don't know whether that has anything to do with what has happened. I've done similarly long projects before, and this never happened.
I could try trashing the Word Work files (there seem also to be quite a lot of folders with "recovered" files), but I don't want to do that unless I can be assured that nothing bad will come from doing that.
I know this seems quite comprehensive, and may involve several issues, but I'm really unhappy about this and would love to think there is something more I can do, apart from returning to the Apple Store. Besides everything else, how can I khow that I won't find, again, that the MacBook will work fine there but goes back to its troubled state when I return?
Clues, anyone?
Thanks,
jennyHi, Mike,
I have 211.59 left out of total HD space of 232.57.Space should not be a problem. I'll try using Activity Monitor today. I have 2 GB of memory. But since this is the first time I[ve had this problem, I don't see how it could be a problem with memory, do you?
I finished the project more than a week ago. After I shut down the computer, it temporarily returned to normal but subsewuently started acting odd again, although I've done nothing but email since I turned it on again.
I am going to try getting rid of the Word Work files and see whether that helps. I am wondering whether the book I was working on had something wrong with it (it was written in NeoOffice but opened in Word), or my copy of Word has gotten corrupted. Although I haven't used Word since I finished with the book.
Sorry this font is so tiny, but although I was able to choose my font in my original message, there doesnt' seem to be a place to do that here. At least, I don't see it.
I'll get back to you on the Activity Monitor. Thanks.
jenny -
Before I go into a lengthy explanation of the problem: Can anyone help with Double Command issues. This a specific keyboard question and they do not seem to know.
Thanks much.
EmileChoose Force Quit from the Apple menu and close Mail from there.
(103661) -
Page Numbering in Master with double digit
How do I create pages in the master pages with double digits, say I want to start with 01,02,03,04,… without punching in the zero "0" manually and maintain the actual double digit pages as: 10,11,12,13,… and NOT 010,011,012,013,…?
Yup. I still can't believe it actually worked. I'm constantly testing and trying different ways and so far so good. Below are the steps that I did in case anyone want to try. If it's a glitch, I hope it's permanent.
STEP ONE:
Select pages 1-9, right-click to Numbering & Section Options (making sure to right-click on page 1), insert "0" in Section Prefix, check Include Prefix when Numbering Pages:
BUT…it also applied to the rest of the pages (the double-digits), so…
STEP TWO:
Select ALL the double-digit pages, erase info in Section Prefix and uncheck Include Prefix when Numbering Pages:
and VOILA! It worked. It was a lot of playing around and testing but so far so good. If anyone tries to do this and it doesn't work…maybe it was all by luck or I'm just having a good day today.
I'd like to know if this process worked for others as well (for us deprived CS3 users). -
How can i show details in ALV GRID with double click in a row?
Hello, ich try to show the details of a row with double click in the line,
but it doesn't work!?
I have a eventhandler for doubleclick and the program run this code, but what i have to do, to show the details!?
I try it with some methods like cl_gui_cfw=>set_new_ok_code, ...
i think about the methods cl_gui_alv_grid->show_detail, but this method is private,
i can create a class with inheritance of the cl_gui_alv_grid class and try this method!?
Have anybody any ideas!?Hello Lars
The following sample reports shows an ALV list with company codes. Double-clicking on any company code will open a second ALV list displaying all customers.
*& Report ZUS_SDN_ALVGRID_EVENTS_1
REPORT zus_sdn_alvgrid_events_1.
DATA:
gd_okcode TYPE ui_func,
gt_fcat TYPE lvc_t_fcat,
go_docking TYPE REF TO cl_gui_docking_container,
go_docking2 TYPE REF TO cl_gui_docking_container,
go_grid1 TYPE REF TO cl_gui_alv_grid,
go_grid2 TYPE REF TO cl_gui_alv_grid.
DATA:
gt_t001 TYPE STANDARD TABLE OF t001,
gt_knb1 TYPE STANDARD TABLE OF knb1.
* CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender.
ENDCLASS. "lcl_eventhandler DEFINITION
* CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD handle_double_click.
* define local data
DATA:
ls_t001 TYPE t001,
ls_col_id TYPE lvc_s_col.
CHECK ( sender = go_grid1 ).
READ TABLE gt_t001 INTO ls_t001 INDEX e_row-index.
CHECK ( ls_t001-bukrs IS NOT INITIAL ).
SELECT * FROM knb1 INTO TABLE gt_knb1
WHERE bukrs = ls_t001-bukrs.
IF ( syst-subrc NE 0 ).
MESSAGE 'No customers found' TYPE 'S'.
ELSE.
* Trigger PAI of dynpro '0100' and set new ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'CALL_SCREEN_0200' ).
ENDIF.
ENDMETHOD. "handle_hotspot_click
ENDCLASS. "lcl_eventhandler IMPLEMENTATION
START-OF-SELECTION.
SELECT * FROM t001 INTO TABLE gt_t001.
REFRESH: gt_knb1.
* Create docking container
CREATE OBJECT go_docking
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_docking2
EXPORTING
parent = cl_gui_container=>screen0
ratio = 90
EXCEPTIONS
OTHERS = 6.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Create ALV grid
CREATE OBJECT go_grid1
EXPORTING
i_parent = go_docking
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT go_grid2
EXPORTING
i_parent = go_docking2
EXCEPTIONS
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Set event handler
SET HANDLER:
lcl_eventhandler=>handle_double_click FOR go_grid1.
* Display data
CALL METHOD go_grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'T001'
CHANGING
it_outtab = gt_t001
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'KNB1'
CHANGING
it_outtab = gt_knb1
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Link the docking container to the target dynpro
CALL METHOD go_docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL METHOD go_docking2->link
EXPORTING
repid = syst-repid
dynnr = '0200'
* CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* ok-code field = GD_OKCODE
CALL SCREEN '0100'.
END-OF-SELECTION.
*& Module STATUS_0100 OUTPUT
* text
MODULE status_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
* SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE user_command_0100 INPUT.
CASE gd_okcode.
WHEN 'BACK' OR
'END' OR
'CANC'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'CALL_SCREEN_0200'.
go_grid2->refresh_table_display( ). " necessary
CALL SCREEN '0200'.
WHEN OTHERS.
ENDCASE.
CLEAR: gd_okcode.
ENDMODULE. " USER_COMMAND_0100 INPUT
Regards
Uwe -
Hi,
Does anyone know how to replace quotation marks with double angle quotation marks, still keeping the word in the middle?
For example: I search for a word with quotation marks by typing in: (")(\w+)(") in the "find what" field. What should I type in the "change to" field?
I'd be very grateful for answers!It's much simpler: find " and replace with " (make sure that 'Use typographer's quotes' is enabled in the preferences).
Peter -
Error ORA-01426: numeric overflow when Creating table with double data type
Hi,
I am using ODP.NET to create a table with data from SQL to Oracle. The problem is with double data type fields that is equivalent to FLOAT(49) in Oracle. My syntax is:
CREATE TABLE SCOTT.ALLTYPES
F1 NUMBER(10),
F10 DATE,
F2 NUMBER(10),
F3 NUMBER(5),
F4 NUMBER(3),
F5 FLOAT(23),
F6 FLOAT(49),
F7 NUMBER (38,5),
F8 NVARCHAR2(500),
F9 NVARCHAR2(500)
Th error is with field F6 but I am not sure what is the correct type equivalent to double in SQL.
I woul appreciate if anyone can help me with this problem.
SunnyDoes this simple test work for you?
In database:
create table float_test
f1 float(49)
);C# code:
using System;
using System.Data;
using System.Text;
using Oracle.DataAccess.Client;
using Oracle.DataAccess.Types;
namespace FloatTest
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
// connect to local db using o/s authenticated account
OracleConnection con = new OracleConnection("User Id=/");
con.Open();
// will hold the value to insert
StringBuilder sbValue = new StringBuilder();
// create a string of 49 number 9's
for (int i = 0; i < 49; i++)
sbValue.Append("9");
// command object to perform the insert
OracleCommand cmd = con.CreateCommand();
cmd.CommandText = "insert into float_test values (:1)";
// bind variable for the value to be inserted
OracleParameter p_value = new OracleParameter();
p_value.OracleDbType = OracleDbType.Double;
p_value.Value = Convert.ToDouble(sbValue.ToString());
// add parameter to collection
cmd.Parameters.Add(p_value);
// execute the insert operation
cmd.ExecuteNonQuery();
// clean up
p_value.Dispose();
cmd.Dispose();
con.Dispose();
}SQL*Plus after executing above code:
SQL> select * from float_test;
F1
1.0000E+49
1 row selected.- Mark -
Creating xml format file with double dagger ‡ as delimiter
Hi,
My source files are delimited with double dagger (‡) and I am using openrowset to load the files to SQL Server. When I am creating the format file by specifying the delimiter as ‡, the format file created has a different delimiter than the specified one.
The new delimiter appearing in xml format file is ç.
Any help?
TIA
Nitesh Rai- Please mark the post as answered if it answers your questionHow did you create format file?
Try this method and see if it works
http://visakhm.blogspot.com/2013/10/generate-format-files-based-on-table.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Hello,
I've had harsh time trying to figure out how to read a csv file with double quotes, I need to read a csv file in order to fill a spreadsheet.
I attach a csv file example to show the sort of file I'm working on.
Thank you
Raymundo Cassani
Solved!
Go to Solution.
Attachments:
test_file.csv 1 KBUpon closer inspection, you are right, it was a trick question. You need to look for commas that follow an even number of quotation marks for the separators. Since my previous snippet was not converted, I assume you have an earlier LV version so I have attached an example in 8.6. You can get rid of the quotes if you like (exercise for the reader).
Attachments:
ReadCSVwithQuotes.vi 9 KB
Maybe you are looking for
-
Access denied Error while calling Web Service form Infopath Form 2010.
Hi Dear All, I have been facing an error while calling an GetUserProfileByName() web service method from InfoPath 2010 from. i have FBA(Forms Base Authentication )configured . After Infopath form published to site collection when i select an user fro
-
What differences would be experiened if one saved documents created in say InDesign, Photoshop, FrameMaker (yeah, I know FM isn't in CS!) locally rather than over the network on a server disk? Clearly saving over the network on a server HDD has benef
-
Does the Magsafe Airline Adapter works with cars
Please I need to know if it is possible that the Magsafe Airline Adaptor works with cars also??? Because i am afraid to buy one and i cant benefit from it. thanks
-
Help please, the leds my t61 turn on though not even the BIOS appears on the screen
The title says all. After installing (dont know if it really have something to do) a modem usb and shutting down the laptop, the case, to transport it, i open it and the leds where turn on but no image appears. Then, i decide to force the reiniciate
-
Hi, Is it possible to do content caching for the custom component build using java?? Thanks