How to get each account balance in sapscript when using F.01
Dear Friends,
I had developed a sapscrit form for P/L statement ( TCODE F.01) printing Now I received a new requirement. I need to get the balance values for each account and check the credit/debit indicator in sapscript. Do anyone know how to do it?? Thanks in advance.
BR
Joe
You can identify amount is credit/ debit by checking the field <b>shkzg</b> (Debit/Credit indicator).
Reward points if useful.
Regards,
Sairam
Similar Messages
-
How to get On Account Balance for a Customer in Accounts Receivables(AR)
Hi,
Pls let me know how i can get the On Account Balance and Customer Balance for a particular customer in AR.
Pls let me if there is any SQL query or function availabe to get On Account Balance in AR.
Is On Account Balance and Customer balance is same in AR.
Pls let me know how i can get both the values.
regards
Udittry to join your query from these tables:
1.Customer - RA_CUSTOMERS_ALL
2.Customer Name - RA_CUSTOMERS_ALL
3. Ship to /Bill to & Location - HZ_CUST_ACCT_SITES_ALL and RA_TERRITORIES
4.Account Balance - AR_PAYMENT_SCHEDULES_ALL
5.Current Balance - AR_PAYMENT_SCHEDULES_ALL
if you additionally need aging try to set from here
a)1-30 Past - AR_PAYMENT_SCHEDULES_ALL
b)31-60 Past - AR_PAYMENT_SCHEDULES_ALL
c)Over 90 Past - AR_PAYMENT_SCHEDULES_ALL
This way you can achieve the outcome -
How to get rid of the "time out" when using DAQ AI in the example program
I try an example file called "AcqVoltageSamples_IntClkDigRef" (Visual C++ .NET). It works great. However, if the program has not recieved the data, it sent out a timeout message. How to get rid of the "time out"? I cannot find anywhere in the code. Is this a property I have to reset somewhere else?
Thank you,
Yajai.Hello Yajai,
The example program will use the default value for timeout, 10 seconds. To change this, you will have to set the Stream.Timeout value. I inserted this function into the example and set it equal to -1, and the program will wait indefinitely for the trigger signal without timing out. Please see the attached image to how this was implemented.
I hope this help. Let me know if you have any further questions.
Regards,
Sean C.
Attachments:
SetTimeout.bmp 2305 KB -
How to get the addition DML Error information when using PL/SQL?
Given the following statements:
drop table bob;
create table bob
col1 number(6,2),
col2 number(6,2) not null
insert into bob(col1, col2) values (123.12, null);
insert into bob(col1, col2) values (123.12, 12345.12);
commit;
I get different behavior from Oracle error messages.
Here is the sample output:
Table dropped.
Table created.
insert into bob(col1, col2) values (123.12, null)
ERROR at line 1:
ORA-01400: cannot insert NULL into ("BOB"."COL2")
insert into bob(col1, col2) values (123.12, 12345.12)
ERROR at line 1:
ORA-01438: value larger than specified precision allows for this column
Commit complete.
Note that in the first error (1400) the generated error message contains the name of the problematic column ("BOB"."COL2"). Also note that in the regurgitated statement the error pointer (*) is at the far left. In this case, the regurgitated statement is of no use to me because the error message identifies the culprit column.
However, in the second error (1438) the generated error message is very generic and does NOT indicate the problematic column. In addition, in this case the error pointer (*) of the regurgitated statement has moved to point to the troublesome column. In this case, I must use BOTH the error message and the regurgitated statement to completely understand the problem.
This difference in how error messages are constructed causes difficulty within PL/SQL. If PL/SQL happens to generate a 1400 error message, then simply capturing the error message and giving it to the user provides enough information for him/her to solve the problem. However, if a 1438 error is generated then the resulting error message has insufficient information for the user to pursue the problem.
So my question is, within PL/SQL do you know how to get your hands on Oracle's regurgitated statements so that they can be presented to the user to assisted him/her in problem resolution?
Thanks.I don't think it's that easy. Notice that if you put the insert into an actual pl/sql block, you don't get the correct column pointer anymore.
BEGIN insert into bob(col1, col2) values (123.12, 12345.12); END;
ERROR at line 1:
ORA-01438: value larger than specified precision allows for this column
ORA-06512: at line 1
Richard -
How to get higher cpu voltage during load when using "auto" with P67A-GD55?
I have a little question regarding cpu voltage: When i set vcore to "auto" i get a nice low voltage when idle but during load i only get 1.264 max and that is to low.
Is there a setting to increase the voltage during load and still have the cpu vcore set to auto?
Thanks
System:
P67A-GD55 with 1.8 bios
I7 2600k
8gb CorsairQuote from: Bernhard on 01-May-11, 15:25:22
OK, so you are able to set your CPU voltage manually. You need to consider that the auto voltages will compensate only up to a certain OC level, after which the user usually has to do manual adjustments. This auto compensation differs for each hardware combination. As HU16E suggested, try low VDroop and see if it helps. The other alternative is a BIOS flash, or manual voltage settings.
I tried low vdroop but it didn´t make any difference. But it´s ok, i can set the vcore manually but i was just investigating if i could get the best of both worlds with the powersavings auto vcore offers during idle -
How to get full screen width and height when using CustomItem not canvas ?
hi..
I have to append one Textfield and a CustomItem ( as canvas) for painting on a single form.
I have to draw a rectangle in CustomItem in full Screen width of mobile .
So I have to know the screen width of mobile for drawing a rectangle.
Please Suggest me. how can I do that ?
ThanksDid you check javax.microedition.lcdui.Form.getWidth() and javax.microedition.lcdui.Form.getHeight() methods?
Atul -
How to get why the validation has failed.when using isSchemaValid() ?
Oracle 11.2
to validate xmlType I use a procedure within isSchemaValid - function,
But when it returns 0,
where from to get why the validation is failed ?
regardsThats the reason why you should use SchemaValidate(), because its more informative
See for an example here: Re: catching error while validating an xml file -
How to Print the Account Balance in Outgoing Payment PLD
Hello Experts
How to Print the Account Balance in Outgoing Payment PLD
Dixit PatelHi,
you can use udf in the outgoing payment to record the vendor's account balance and then using the query FMS ;
select balance from ocrd where cardcode = $[$4.0.0]
Assign the query in the UDF so that each time after entering the vendor code, the balance appears.
After add the payment, the balance is recorded.
In PLD, you can create the UDF field to make the balance appears in the outgoing report.
Rgds,
JimM -
How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35
Hello,
Please provide your input for the below query:
How to distribute Reconcilation account balance from a Prft Cntr-FAGLGA35?
Regards,Hello,
Thanks a lot for replying.
I have done new posting KR (vendor Invoice), where in General Ledger View the Pofit Cneter got populated in the vendor line item because of the doc spliting.
Now when I hae trying the do assessment of the vendor balance as directed below, no sendor is getting selected.
Please help me how to do the assessment of reconciliation account.
Regards, -
how to remove an account balance of itunes, but my mind is Mexican American was before, and I want to change the country to see my purchases in the store hise U.S.
Buy something for more than the balance and charge the remainder to a credit card, or write Apple and ask them to keep the balance.
iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store -
How to get each value from a parameter passed like this '(25,23,35,1)'
Hi
One of the parameter passed to the function is
FUNCTION f_main_facility(pi_flag_codes VARCHAR2) return gc_result_set AS
pi_flag_codes will be passed a value in this way '(25,23,35,1)'
How to get each value from the string
like 25 first time
23 second time
35 third time
1 fourth time
I need to build a select query with each value as shown below:-
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 25 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q1,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 23 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q2,
(SELECT t2.org_id, RTRIM(xmlagg(xmlelement(e, t4.description || ';')
ORDER BY t4.description).EXTRACT('//text()'), ';') AS DESCRIPTION
from org_name t2, ref_org_name t3,code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 35 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date
group by t2.org_id) q3,
(SELECT t2.org_id, t4.description
from org_name t2, ref_org_name t3, code_table t4
where t2.att_data = t4.code
and t3.ref_code = t2.att_type
and t2.att_type = 1 and t3.code_type = t4.code_type
and to_date('01-JAN-10', 'DD-MON-YY') between t2.att_start_date AND t2.att_end_date) q4
Please help me with extracting each alue from the parm '(25,23,35,1)' for the above purpose. Thank You.chris227 wrote:
I would propose the usage of regexp for readibiliy purposes and only in the case if this doesnt perform well, look at solutions using substr etc.
select
regexp_substr( '(25,23,35,1)', '\d+', 1, 1) s1
,regexp_substr( '(25,23,35,1)', '\d+', 1, 2) s2
,regexp_substr( '(25,23,35,1)', '\d+', 1, 3) s3
,regexp_substr( '(25,23,35,1)', '\d+', 1, 4) s4
from dual
S1 S2 S3 S4
"25" "23" "35" "1"In pl/sql you do something like l_val:= regexp_substr( '(25,23,35,1)', '\d+', 1, 1);
If t2.att_type is type of number you will do:
t2.att_type= to_number(regexp_substr( '(25,23,35,1)', '\d+', 1, 1))Edited by: chris227 on 01.03.2013 08:00Sir,
I am using oracle 10g.
In the process of getting each number from the parm '(25,23,35,1)' , I also need the position of the number
say 25 is at 1 position.
23 is at 2
35 is at 3
1 is at 4.
the reason I need that is when I build seperate select for each value, I need to add the query number at the end of the select query.
Please see the code I wrote for it, But the select query is having error:-
BEGIN
IF(pi_flag_codes IS NOT NULL) THEN
SELECT length(V_CNT) - length(replace(V_CNT,',','')) FROM+ ----> the compiler gives an error for this select query : PLS-00428:
*(SELECT '(25,23,35,1)' V_CNT FROM dual);*
DBMS_OUTPUT.PUT_LINE(V_CNT);
-- V_CNT := 3;
FOR L_CNT IN 0..V_CNT LOOP
if L_CNT=0 then
V_S_POS:=1;
V_E_POS:=instr(pi_flag_codes, ',', 1, 1)-1;
else
V_S_POS:=instr(pi_flag_codes,',',1,L_CNT)+1;
V_E_POS:=instr(pi_flag_codes, ',', 1, L_CNT+1)-V_S_POS;
end if;
if L_CNT=V_CNT then
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS));
else
V_ID:=TO_NUMBER(substr(pi_flag_codes,V_S_POS,V_E_POS));
end if;
VN_ATYPE := ' t2.att_type = ' || V_ID;
rec_count := rec_count +1;
query_no := 'Q' || rec_count;
Pls help me with fetching each value to build the where cond of the select query along with the query number.
Thank You. -
My Apple TV was set up with a different Apple ID than I have for my ITunes Account. In other words I have multiple Apple ID's. How can get these accounts to sync up?
If you wish to use home sharing then you need to setup the Apple TV under your ID.
-
My dad has itunes on his PC. I don't have my own but I recently have an iPad mini and an iPod. I don't know how to get songs onto itunes on the PC, using a different account or at least private/ separate..
So how do I create a separate I tunes on a PC which already has itunes... Or if not can I plug my iPad to the PC and use itunes on my iPad, and drag mp3s from a computer.
I'm not sure what the equivalent of a desktop is on the iPad.. And I don't actually know how to use the icloud either...
Can anyone start me off, given it have a iPad and use of a PC - not mine with existing iplayer
I do have spotify soundcloud so I could potentially use these.. If there is a route of getting either mp3's etc to end up on my iPad or iPod.
Kind RegardsiTunes 11
If you have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
To import music into your iTunes library on the computer go to iTunes>Help>iTunes Help>Add items to iTunes and follow the instructions
To sync to your iPod go to iTunes>Help>iTunes Help>Sync your iPod....>Sync You Device and follow the instructions. -
How to get each node in tree?
how to get each node in tree?
Message was edited by:
NikisinProblemhow to get each node in tree?
Since (as far as I know) treeNode is an interface, the real question to me is how are you implementing your treeNodes? Are you overriding the toString() method? -
How to get a opening balance in fbl1n
how to get a opening balance in fbl1n as i copied it into zreport,
plz help
Moderator message : Spec dumping not allowed, thread locked.
Edited by: Vinod Kumar on Dec 1, 2011 3:07 PMhow to get a opening balance in fbl1n as i copied it into zreport,
plz help
Moderator message : Spec dumping not allowed, thread locked.
Edited by: Vinod Kumar on Dec 1, 2011 3:07 PM
Maybe you are looking for
-
Last night I bought Adobe XI Pro and this morning the serial number does not work.
Last night I bought Adobe XI Pro and this morning the serial number does not work. [removed by moderator]
-
Hello could anyone advise me please: I purchased CS6 Student edition approx 2 years ago, and I have been using it pretty much on a daily basis. Now it has suddenly started prompting me to register the software because the trial has ended. I did thin
-
How can I change the maps application (default application) back to miles. For some reason it is displaying in kilometers...
-
Bluetooth Kernel panic remains in Lion
Very pleased with Lion; but still after only 3 hours, I got a bluetooth kernel panic. Fixed with a restart; but I thought that issue would be fixed by now. Seems when Headphone batteries get low and you try to reconnect to bluetooth on the mac, somet
-
Hello, I want to create my own keyboard layout. I know how to do this with xmodmap and doing it through XKB doesn't seem hard either, but I'm looking for something a tad more advanced. I want to create extra modes (like caps-lock) and submaps, which