POWL Easy - Getting the marked lines
Hi,
I have a surrounding WD component which embeds a POWL Easy.
Now I want to get the marked lines in the POWL when triggering a POWL action.
I implemented WD-Component Interface POWL_DETAIL_COMP_IF where method UPDATE_DETAIL_DATA is triggered
when a POWL line is marked. Unfortunately this method only imports one single line.
I tried also to implement an event handler for event POWL_FOLLOW_UP. But this event handler is never called,
although I triggred a event (in debugging) in feeder class method IF_POWL_FEEDER~HANDLE_ACTION.
Does anyone know, how the event handler method POWL_FOLLOW_UP can be called?
Thank you and best regards, Edgar
Hi Madhu,
in my case the described solution is not working.
I am using a Easy POWL which means that I am using the WD Component POWL_EASY in my main component
and not POWL_UI_COMP (see also example WD component POWL_EASY_DEMO in your system).
When I raise a portal event in IF_POWL_FEEDER~HANDLE_ACTION as decribed
the method POWL_FOLLOW_UP is not called, although I registered for this event in my main component.
Best regads, Edgar
Similar Messages
-
F-53, Simulate time getting message "Correct the marked line items"
Hi All,
While posting the outgoing payment (F-53), at time of simulate I'm getting the message " correct the marked line items" & missing the vendor side line item but showing for enter amont( bank acccount line items) on screen.
when I trying to do the second time, I observed that, process open item screen, amount entered & Assiged amount both showing minus(-)sign
I guess the message getting because of the same sing(-) of vendor item & bank account,
Can some one help me out to understanding the why it showing same sign and reslove the issue
Thanks
RamakanthHi Ravi,
Yes, I have posted FB60 and in FBL1N showing credit balance of vendor but when clearing F-53 suprisingly showing wrong side amount I mean assigned amount( open item).
Is there any configuration missing or any thing i missing is system.
Thank you
Ramakanth -
Correct the marked line items in F-03
Hi Experts,
While using Tcode F-03 clear GL account we are getting Error as Clear the marked line itmes. There were 4 lines with blue color ie. Foreign exchange difference a/c with zero value and we were not able to post the entry.
How to overcome this issue.
Thanks in advance
NarayananDear:
This is not an error. This is standard system configuration. System pop ups a message whenever there is some amount left as balance or arises to due foreign exchange difference in clearing transaction. You jst have to double clikc each line item with blue color and fill in the some as narration in text field. System does so to keep to let you keep track of partial invoices or exchange rate changes arising from time to time. Hope this will clear now.
Regards -
Hi,
When I do F-54 (Clear Vendor Down Paments) after doing entering amount in Transfer posting and when I stimulate and try to save it gives me message saying "Correct the Marked Line Items" So it shows me on of the line itesm in blue color and when I double click it takes me to Item level and then I entered the Text and save the document. Then in FBL1N its gets clear by one document and the cleared document show its been open.
Can some one explaing me I am doing some thing wrong .
Regards,
Arvind.Hi,
What you are doing is absolutely right.
When you make a downpayment using special gl indicator, the vendor line time gets posted to SPECIAL RECONCILIATION ACCOUNT instead of normal reconciliation account assigned in vendor master.
F-54 is used for bringing the vendor line item from special recon account to normal recon account.
So the same vendor gets debited (spl recon-cleared) and credited (normal recon-Open)
This new credit items will be cleared with payment.
Assign Points if useful
Regards
Raghu Ram. -
Msg "Correct The Marked Line Items"
FI Experts,
I am trying to post an entry in GL when I try to save it tells me "Correct the Marked Line Items" I click on the blue items, it open up I do nothing but click save and I can post. This is fine when I have one entry to fix but not when I have multiple line items. The error does not tell me what exactly I have to correct.
Anyone has any ideas?
Edited by: Frank on Feb 4, 2009 2:26 PMAbdali,
For some odd reason problam came back again, after I took Cost Center from required to Optional thru tcode OBC4.
I then looked for another field that was requried this time an MM field I took it from reuired to Optional, and teh problem went away again. This has nothing to do with the message I am getting. I do see that the message always tells me to Correct The marked Line Item related to taxes"
But here is teh info you requested
SAP_APPL 600 0012 SAPKH60012 Logistics and Accounting
Thank You for your help -
Get the current line no.(similar to sy-linno in report) in Sapscript form
Hi everyone,
In ABAP reporting, you can use sy-linno to determine the current line no.
But if in sapscript form,
does any system field to get the currect line no. or y-origin. ?
Just say the program is now runing and have written several lines in a window of the form.
AS This is the first line
AS This is the second line
AS This is the third line
how to get the current line = 3 or yorigin '+3' LN?
Thanks for reply in advance.Hi,
you can also chk the sy-linno directly in your script.
Regards
Subramanian -
How to get the command line interface for WRT160NL router
hi,
How can I get the command line interface for WRT160NL router. please suggest.If you’re trying to access the web-based interface of your router, just use its default IP address (192.168.1.1). The Username is left blank and the Password is "admin". Here’s a quick link on how to do that.
-
Getting the Filter line by default in ALV.
Hi friends,
There is a requirement for me, wherein, i need to provide a default filter line when the page loads initially. Generally we get a filter line, when we filter on any of the fields available, but in my case, without filtering on any of the fields, i should get the filter line. Is that possible in real?
If yes, kindly provide me the appropriate code.
Thanks & Regards,
Akshay
Edited by: akshay0222 on Sep 15, 2011 1:00 PMHi,
Please try the below code.you can find more solution in sdn.
This displays both the filter line and the FILTER option(rightside top)
DATA:
lv_value type ref to cl_salv_wd_config_table.
DATA: lt_fields TYPE salv_wd_t_field_ref,
ls_fields TYPE salv_wd_s_field_ref,
lr_field TYPE REF TO cl_salv_wd_field,
lr_filter TYPE REF TO cl_salv_wd_filter_rule.
CALL METHOD lv_value->if_salv_wd_field_settings~get_fields
RECEIVING
value = lt_fields.
LOOP AT lt_fields INTO ls_fields.
lr_field = ls_fields-r_field.
CASE ls_fields-fieldname.
WHEN 'VBELN'.
CALL METHOD lr_field->if_salv_wd_filter~create_filter_rule
EXPORTING
included = 'X'
operator = 'NE'
low_value = space
high_value =
RECEIVING
value = lr_filter.
WHEN 'ERDAT'.
WHEN 'ERZET'.
WHEN 'ERNAM'.
WHEN 'ANGDT'.
ENDCASE.
ENDLOOP.
Thanks,
Lavanya. -
Read to get the last line from a File
Hi
I am sending in a clarification , hoping that I get an efficient solution from the group, should somebody have come across this scenario and implemented.
How to read or get the last line from a text file , which usually have a no of records, without actually reading or looping through all the lines
I know there is some solution with the RandomAccessFile, but given there can be some encoding issues or so.
Please let me know if somebody have implemented the same.
Thanks n advanceThe character encoding could, indeed, be an issue especially with UTF-8. I think what I'd do is to create a byte array with the encoded, expected end of line sequence in it and work on the file in bytes. For example, seek to the last 100 bytes of the file, read those bytes and look for an EOL sequence backwards. If not found read the previous 100, 200, 400 bytes etc. until you do find an end of line. Then seek to after the EOL and read normally. Remember an EOL sequence might cross a boundary.
UTF-8 would be a problem, especially with a unix format file because you might mistake part of a multi-byte sequence for '\n'. To be reliable on UTF-8 you'd need to go back three characters looking for sequence start markers (has the previous character got the top bit set, or the one before that the first two bits set, or the one before that the top three bits). Or you could just react to an encoding exception and try another position. -
How can we get the selected line number from JTextArea ?
how can we get the selected line number from JTextArea ? and want to insert line/string given line number into JTextArea??? is it possible ?
Praitheesh wrote:
how can we get the selected line number from JTextArea ?
textArea.getLineOfOffset(textArea.getCaretPosition());
and want to insert line/string given line number into JTextArea??? is it possible ?
int lineToInsertAt = 5; // Whatever you want.
int offs = textArea.getLineStartOffset(lineToInsertAt);
textArea.insert("Text to insert", offs); -
How do I get the shape/line 'properties window' on Photoshop sc4. (mac) It shows it on the help videos but I cannot find it?
For a crisp border of any color or any size, Just expand the "Canvas" by 0.5 inches or whatever dimension your file needs.
-
How to get the changed lines in POWL
Hi Experts,
I need your help on POWL. In the project I have set some fields as input field and they are editable. But I cannot get the lines which i have changed, and the method handl_action wasn't triggered after i pressing 'Enter' key. How can I solve it?
Since in WD ALV we can trigger the event data_check when user press 'Enter' after changing data. I think it also can be done in POWL.
Thank you very much!
JuliaHi, anyone can help me? thank you very much!
-
Getting the visible lines from a JTextArea
I'm using a JTextArea with a fixed size. I've used the setLineWrap(true) and setWrapStyleWord(true) methods on this JTextArea, so when the user types in some text longer than the visible width, it will wrap into the next line. I need to get each visible line from the JTextArea to create a String array of text lines.
I mean visible text lines (lines visibly separated in the JTextArea), not real text lines separated by a line break character as "\n".
How can I do this?This information is supposed to be contained in the View information of the component. But as far as I can tell it doesn't work for a JTextArea.
So if you can use a JTextPane then check out the "getWrappedLines" method in this posting:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=608220
Basically, a View exists for each line in the Document and then each line may have multiple views if the line needs to wrap. So the basic code just count the number of views within each line but you can change the code to get each view separately. Once you have each view you can get the start and end of the text from the document that this View represents.
Or if you need to use a JTextArea then you can calculate the starting offset of each each line with respect to the model. You can use the viewToModel(..) method to get the starting offset of each line. We know that each line in a text area is a fixed height, so the starting offset of the first line would be modelToView(0, 0); If the line height is 16, then the starting offset of the second line would be modelToView(0, 16), etc. Once you know the starting offset of each line you can subString out the text for each line. -
Whow to get the error line number in Oracle 9i
I am using Oracle 9i, In my procedure i am getting exception in When Others section, but unable to trace that from where it is throughing.... the procedure is about 2500 line of code. In Oracle 10g we can use dbms_utility.format_error_backtrace to catch the line number....
So, is there any workaround in Oracle 9i to get the line number ????
Thanks in Adance...Not sure, but the following might give you a good starter for ten....
create or replace procedure who_called_me( owner out varchar2,
name out varchar2,
lineno out number,
caller_t out varchar2 )
as
call_stack varchar2(4096) default dbms_utility.format_call_stack;
n number;
found_stack BOOLEAN default FALSE;
line varchar2(255);
cnt number := 0;
begin
loop
n := instr( call_stack, chr(10) );
exit when ( cnt = 3 or n is NULL or n = 0 );
line := substr( call_stack, 1, n-1 );
call_stack := substr( call_stack, n+1 );
if ( NOT found_stack ) then
if ( line like '%handle%number%name%' ) then
found_stack := TRUE;
end if;
else
cnt := cnt + 1;
-- cnt = 1 is ME
-- cnt = 2 is MY Caller
-- cnt = 3 is Their Caller
if ( cnt = 3 ) then
lineno := to_number(substr( line, 13, 6 ));
line := substr( line, 21 );
if ( line like 'pr%' ) then
n := length( 'procedure ' );
elsif ( line like 'fun%' ) then
n := length( 'function ' );
elsif ( line like 'package body%' ) then
n := length( 'package body ' );
elsif ( line like 'pack%' ) then
n := length( 'package ' );
elsif ( line like 'anonymous%' ) then
n := length( 'anonymous block ' );
else
n := null;
end if;
if ( n is not null ) then
caller_t := ltrim(rtrim(upper(substr( line, 1, n-1 ))));
else
caller_t := 'TRIGGER';
end if;
line := substr( line, nvl(n,1) );
n := instr( line, '.' );
owner := ltrim(rtrim(substr( line, 1, n-1 )));
name := ltrim(rtrim(substr( line, n+1 )));
end if;
end if;
end loop;
end;
/ -
How do I get the alignment lines to display on Pages 5.0?
Apple community,
I recently updated Pages to version 5.0
However some features have disappeared, and I fear have been lost due to Apple trying to have some kind of standardisation with less design-focused devices such as iPad, iPhone that also use Pages.
Is there any way to restore the 'alignment' lines that used to appear in Pages when placing objects, text boxes, shapes, etc? This was a valuable feature compared with Microsoft word, but now Pages doesn't seem to have much of an advantage over the competition.
- DavidAlignment guides do still exist in Pages 5 in preferences. You may want to click on the yellow-colored box to change the color. Also, there are less options.
Maybe you are looking for
-
I have an iPod touch that is synced with my library. I just got a new Nano and I want to sync that with the same library but I can't figure out to do it with iTunes 11
-
How do I transfer files from PowerBook to MacBook. (dead screen PB)
Problem is, the PowerBook 1400C has a dead screen. So I can boot it up, but that's it. Is there a way to hook up the MacBook to the PB so the PB is seen as an external hard drive? There are no firewire or usb ports on the PB 1400. Just want to get so
-
Scalability to Multiple Processors and Faster Processors
To what degree do Final Cut Studio's compute-intensive operations, such as rendering video or creating DVD content, scale by number of processor or clock rates of those processors. More to the point, to what degree would I expect going from a dual 2G
-
Is there a way to "save as" in Maverick? Why would they disable ths feature. I create invoices in Numbers every week using the prior week as a template. Sometmes only the date changes and then I click save as and rename the invoice for that week. No
-
Hi,I want to buy some apps today. While I was ready to purchase , the store ask me to answer my security questions. But I had already forgot my answer ! Now I can't purchase any app, help ! Thanks!