BAI code map to two different GL's based on currency
For a BAI code ex:195,if i have to post to two different Gl accounts based on the currency for the incming payments.How do i map it in EBS.One BAI code to two different gl's based on currency.
Please advice.
In the EBS config, you assign BAI codes to posting rules. Posting rules use account symbols. GL Accounts are assigned to account symbols. When you map account symbols to GL accounts, you can create different entries by currency. So you would set up multiple entries for the account symbol(s) - one entry per currency - and assign the appropriate GL account for the currency.
Regards,
Shannon
Similar Messages
-
Display amount in ALV Grid with different Decimal Places based on Currency
HI Experts,
Working with ALV Report i have one Amount field NETWR which is having Length 15 and Decimal Places 2.
we have two different types of currency's AED and KWD and AED having 2 decimal Places and KWD having 3 decimal places.
im using FM: REUSE_ALV_GRID_DISPLAY for Display. value storing in Table was like this
AED---22.56
KWD---225.65
i need to display values like AED : 22.56HI Experts,
Working with ALV Report i have one Amount field NETWR which is having Length 15 and Decimal Places 2. we have two different types of currency's AED and KWD and AED having 2 decimal Places and KWD having 3 decimal places.
im using FM: REUSE_ALV_GRID_DISPLAY for Display. value storing in Table was like this
AED---22.56
KWD---225.65 (converting this value to 22.565 using BAPI_CURRENCY_GETDECIMALS according to currency in my Report)
i need to display values like AED : 22.56
KWD---22.565 but here field is NETWR with 2 decimal.
Need to Display amount in ALV Grid with different Decimal Places based on Currency
Regards,
Dileep Kumar Reddy -
Filename seperately & Putting data from Hash Map to two different columns
The following code produces the output as :
$ java getNamefile
File Name : reaper.txt
File Name : Testing
Is it possible to just get the file name "reaper" from it instead of reaper.txt
import java.io.*;
class getNamefile
public static void main(String[] args)
File f1 = new File("C:/javamyprograms/reaper.txt");
File f2 = new File("C:/javamyprograms/Testing/");
System.out.println("File Name : " + f1.getName());
System.out.println("File Name : " + f2.getName());
}Secondly I am trying to put the values from a HashMap into ".xls"
PrintWriter out = new PrintWriter (new FileWriter("Unique_words_count" + file) + ".xls");
and out.write(key + " " + hm.get(key));
This put the values in the same columns. I want the results to be two different columns like
column1 column2
key1 value1
key2 value2
Please do advise. Thanks in advance.Is it possible to just get the file name "reaper"from it instead of reaper.txtActually, I ran a test, and
System.out.println( "file name portion == " + ( f.getName().split( "\\." ) )[ 0 ] );works also:
This has the same effect as:
String fileName = f.getName();
String splitFileName[] = fileName.split( "\\." );
System.out.println( "file name portion == " + splitFileName[ 0 ] );Now that I think about it, the second form is more easily understood. There is really no reason to do it the first way. Just interesting to note that you can. -
How to compare the codes written in two different windows?
Hi ,
I have a long code written for a FM.
Now I have got the same code in a notepad.
I want to check weather the codes in the two windows are exactly alike.
Is there any easy way to do this?hi Harshit Rungta ,
T-code SE39 - ABAP split screen editor use to compare 2 different programs ,function modules ,class
just create a function module that available in notepad and compare the code which u have already .
choose the function radio button while checking the function module .
regards
chinnaiya -
Mapping issue: Two different IDOC P19 segment to one flat file line
Hello,
Scenario: For each P01 segment (without uepos) in an order idoc I want to create one line in a plain text file.
Problem: One P01 segment has two P19 segement with different qualifiers. I want to map both P19.IDNTR (with different qualifiers) fields to the same record in my plain text file.
How can I do this?
My "if statement" does noet work. I check the qualifier in the P19 segment. But when one field in the record of the plain text is filled with an P19.IDTNR the second P19.IDTNR field is empty.
Please advice.
Best Regards,
Erik van LisdonkErik,
you should get both values if you change the Context of your INPUT-Fields one level higher (for the IDTNR and for the Qualifier that is checked in the IF-statement).
The Context needs to be set to P01 for all fields and I assume it is set to P19.
Greetings
Stefan Hilpp -
Two different drill down based on values in rtf
Hi All,
For a column in rtf, can we have multiple drill down path based on the values of the column. For example, if the value is > 10,000 navigate( hyperlink) to Report A otherwise navigate(hyperlink) to Report B.
In obiee answer in action link we can put condition, but in BI Publisher using rtf is there a way to perform multiple drill down for same column.
Thanks,
SushilThanks for your kind reply.
where to create conditional hyperlink in rtf. When we insert hyperlink we just place the url. I have a sample column1 with three values A , B and C. If the value is A then display www.google.com and if value is B then display www.yahoo.com and if value is C then display nothing. Where we place the condition while inserting the hyperlink in rtf.
Thanks,
Sushil -
Getting DISTINCT count from two different columns
Hi all,
I have following query which gives currency code from two different tables. I would like to get the distinct count of currency codes from these two different columns.
SELECT eb.person_seq_id, eb.bonus_amount, eb.currency_cd, ed.currency_cd_host
FROM fr_emp_bonuses eb, fr_emp_details ed, fr_periods p
WHERE eb.person_seq_id = ed.person_seq_id AND ed.period_seq_id = eb.period_seq_id
AND ed.period_seq_id = p.period_seq_id AND p.period_status = 'CURRENT'
AND eb.bonus_amount >= 0 AND eb.person_seq_id = 3525125;
This query gives following result
3525125 240000 USD INR
3525125 0 USD INR
3525125 60000 USD INR
3525125 50000 USD INR
There are two distinct currency codes (USD, INR) and total amount is 350000. So I am looking for a query to give me the following result
3525125 350000 2
Thanks in advanceHi,
Here's one way:
WITH original_query AS
SELECT eb.person_seq_id
, eb.bonus_amount
, eb.currency_cd
, ed.currency_cd_host
FROM fr_emp_bonuses eb
, fr_emp_details ed
, fr_periods p
WHERE eb.person_seq_id = ed.person_seq_id
AND ed.period_seq_id = eb.period_seq_id
AND ed.period_seq_id = p.period_seq_id
AND p.period_status = 'CURRENT'
AND eb.bonus_amount >= 0
AND eb.person_seq_id = 3525125
, unpivoted_data AS
SELECT person_seq_id
, bonus_amount
, currency_cd
FROM original_query
UNION ALL
SELECT person_seq_id
, 0 AS bonus_amount
, currency_cd_host AS currency_cd
FROM original_query
SELECT person_seq_id
, SUM (bonus_amount) AS total_bonus_amount
, COUNT (DISTINCT currency_cd) AS distinct_currency_cds
FROM unpivoted_data
GROUP BY person_seq_id
;There may be a shorter, more efficient way to get the same results, but without knowing more about your tables, I can't tell.
The tricky thing is getting two columns (currency_cd and currencuy_cd_host in this case) counted together. You can't simply say
COUNT (DISTINCT eb.currency_cd) +
COUNT (DISTINCT ed.currency_code_host)That happens to get the correct result with the sample data you posted, but what if you had data like thEe following?
currency_cd currency_cd_host
INR USD
USD INRHere, the count of distinct currency_cds is 2, and the count of distinct currency_cd_hsots is also 2. Does that mean the grand total is 2 + 2 = 4? No, the 2 codes in one column arte the same 2 codes as in the other column. We need to get both currency_cd and currency_cd_hsot into the same column, and then do COUNT (DISTINCT ...) on that combined column. A UNION, as shown above, will certainly do that, starting with your query as you posted it. The query you posted isn't necessarily the best frist step towards this result, however, so there may be a much better approach, depending on your tables.
Edited by: Frank Kulash on Feb 1, 2012 6:21 PM
Here's a slightly shorter, and probably more efficient way to get the same results:
WITH cntr AS
SELECT LEVEL AS n
FROM dual
CONNECT BY LEVEL <= 2
SELECT eb.person_seq_id
, SUM (eb.bonus_amount) AS total-amount
, COUNT ( DISTINCT CASE
WHEN c.n = 1
THEN eb.currency_cd
ELSE ed.currency_cd_host
END
) AS distinct_currency_cds
FROM fr_emp_bonuses eb
, fr_emp_details ed
, fr_periods p
, cntr c
WHERE eb.person_seq_id = ed.person_seq_id
AND ed.period_seq_id = eb.period_seq_id
AND ed.period_seq_id = p.period_seq_id
AND p.period_status = 'CURRENT'
AND eb.bonus_amount >= 0
AND eb.person_seq_i = 3525125
-- NOTE: no join condition involving c; we really do want a cross-join
GROUP BY eb.person_seq_id
; -
Use two different Bapis into one interactive form
Hello. I'm creating a form in which I need the result from two different bapis, but the interactive form element in the layout of the view allows me only one data source node.
The form i want to create is one in which appears some data from one employee (so I use BAPI_EMPLOYEE_GETDATA). The problem is that I also want to show the qualifications shown as result of the BAPI_QUALIFIC_GETLIST bapi. Those qualifications should correspond to the employee.
I have one solution in my mind. That one is: I could create a node containing the structure with all the elements I need from the two bapis. Then I could copy there the results from the context nodes that are mapped to the bapis.
I believe this is a common situation. Not only to my specific example but to many other forms.So, I think there should be a way to do it without programming it myself. Or perhaps a better solution than mine. My worry comes to my mind because all the facilities Web Dynpro and LifeCycle offer to create interactive forms and common web applications.
Thanks to anyone with some answers.}
Of course, I'll reward for them!Hello Alejandro Monteverde,
There is one and only one data sink for an interactive form and that is the data source node for you. There is no possibility that we can define a second or third datasource node for our application. Having the above statement in mind, the only way we can fulfill our requirement is to have a common parent node as the datasource node which in turn may have any number of nodes (in your case you would probabaly think of segregating the results from two BAPIs to map to two different nodes). A third node can be added tomorrow if you need so.
The solution that you have mentioned will also work equally good. In your approach you will have all the related information will be contained within one node. Fair enough.
Its a matter of how do you want to best represent your data structure.
Thanking you,
Krishanu -
Ability to set same Start date for two different discrete Job in ASCP
We have two ATO Items and these to be built & shipped together which have different leadtimes, How we can have achieve same start date when we release from ASCP.
E.g: ATO_Model1*24234 SO Line 1, the rolled up LT=10Days
ATO_Model2*325325, the rolled up LT=3
So, under normal scenario ASCP will suggest two different release dates based on LT. So, I would like to start both Job togther considering the max leadtime.
Hoping for your expert advice.
Thanks
Edited by: user604737 on Nov 10, 2010 9:55 AMHi,
964188 wrote:
It is a date
Such as
10/31/2012 11:55:03 PMThen, as Hoek says, you don't want TO_DATE. For example:
WHERE TRUNC (start_datetime) = TRUNC (SYSDATE - 7) or the more efficient
WHERE start_datetime >= TRUNC (SYSDATE - 7)
AND start_datetime < TRUNC (SYSDATE - 6)Also, it doesn't look like the EXISTS sub-query is corelated to the main query. That's almost certainly a mistake.
If you're still having trouble, post your revised query, a little sample data (CREATE TABLE and INSERT statements). Point out where that query is givimg the wrong results, and explain how to get te right results.
See the forum FAQ {message:id=9360002} -
Error while running code template mapping between two oracle tables
Hello All
Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
ORA-06512: at line 4
Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
ORA-06512: at line 4
Quick help is highly appreciated.Dera Dallan
its only a target user for the workspace where you are deploying the mapping from.
I have two repositories for two different projects. each repositary has its own workspace.
ex:-
Project 1
Work space bpms_rep_owner
Repositary owner bpms_rep_owner
Repositary user bpms_rep_user
Project 2
Work space dem_rep_owner
Repositary owner dem_rep_owner
Repositary user dem_rep_user
Reg
S.Gyazuddin -
Two different vendor supplier for the same code
Hi,
We have the two different suppliers supply the material with same code with different values,
since they are customized products as per customer requirement,we are stuck up with how could it map into the BOM,
PPC persons always try it with change BOM or change in order,
How could be simplified?
With Regards,
DevendraHello Devendra
On the standard ERP, there is no way to map this scenario, however, using the DIMP industry solution there is a functionality called Parts Interchangeability.
Take a look on the following links where this functionality is described:
A&amp;D Manufacturer Part Number - Discrete Industries and Mill Products - SAP Library
Interchangeable Manufacturer Parts in MRP - Parts Interchangeability - SAP Library
BR
Caetano -
How to enter invoice with two different tax codes in one line?
Dear friends,
I have this PO for which I enter the invoice.
I recieve later a subsequent debit for this PO from the transporter. This subsequent invoice has got extra debits, one with 21% VAT and one with 19% VAT, which means two items with two different tax codes.
I want to enter this subsequent debit for each item of the PO, and I want to enter both debits in every item of the PO.
How can I enter in one row in MIRO a debit with two different tax codes.
Thank you.I want in the same line item to enter two tax codes.
Do you Know if there is any way to do this?
It is a subsequent debit and it has two items with two different tax codes. I want to enter the subsequent debit for a PO with many items and enter the value of the whole subsequent invoice. So there is the need to enter one line item with two tax codes.
How can this be done?
Thank you? -
Using Same Bank Account for two different company code
Can we use the same bank account number and ABA key for two different company codes? Both the company codes are in USA and with the same currency.
Scenario is to separate one division of the company code to a separate company code. Client wanted to know if we can use the same bank account so that they dont have to open another bank accountThe system will allow the same ABA and bank account on two different company codes. However, if you use electronic bank statement (EBS) functionality (or plan to use it in the future), you will not be able to import bank statements for the account if it exists on two company codes. The EBS program uses the house bank/account ID tables to assign a company code to the bank statement. If the account exists for more than one company code, the program cannot assign a company code and it will give an error.
Regards,
Shannon -
Inter company STO wtih two different company codes
Hello expert,
I am doing inter company stock transfer between two plants that belongs to two different company code. Can someone tell me if my settings are correct
Plant-A (S.org- X, DC-10, D-00) and CC-A
Plant- B (S.org-Y, DC-10, D00) and CC-B
Deinfe shipping data for Plant u2013A
u2022 Plant u2013A
u2022 Customer u2013B
u2022 Sales Org-X
u2022 DC 10
u2022 D 00
u2022 Under Control data tab, Vendor = A
Define shipping data for plant u2013B
u2022 Plant u2013B
u2022 Customer u2013A
u2022 Sales Org-Y
u2022 DC 10
u2022 D 00
u2022 Under control data tab, Vendor = B
Customer Master for Plant -A
u2022 Customer-A
u2022 CC-B
u2022 S.org-Y
u2022 DC -10
u2022 D-00
Customer Master for Plant -B
u2022 Customer-B
u2022 CC-A
u2022 S.org-X
u2022 DC -10
u2022 D-00
Vendor Master for Plant u2013A
u2022 Vendor u2013A
u2022 CC- B
u2022 P.org = 1000
u2022 Additional purch data/Extrac = A
u2022 Under control tab, Customer = A
Vendor Master for Plant u2013B
u2022 Vendor u2013B
u2022 CC- A
u2022 P.org = 1000
u2022 Additional purch data/Extrac = B
u2022 Under control tab, Customer = B
When i try to create a STO with document type NB, it says shipping data can't be determinded. Ofcourse , the material is being maintained for both plant with sales data. thank you so much for ur help.this is because of of shipping point is not determined, maintain shipping point for the following combination
1)The shipping conditions from the customer master record (Shipping screen)
2) The loading group from the material master record (Sales/Plant Data screen)
3)The delivering plant
Regards,
Bala -
my phone saves the same number twice, once with a 1 before the area code and one without it. It causes two different threads in my texts even of they're saved as the same contact
My wife is having the same problems as a reciever. She works in a school as a teaching assistant and her teacher sends messages that are mixed with previous texts from ages ago.
Can anyone shed some light on this problem or is it only her and this poster?
2m42s
Maybe you are looking for
-
Trying to update apps on iPhone, ask for different iTunes account password
I've been using the same appleid since day one. I have a icloud email as back up, but never changed account info except address. When attempting to update apps on my iPhone, I click on UPDATE button. depending on the app, I will be ask to signin to
-
Did you have buggy Mavericks issue after installing on Macbook Air Mid 2012?
Before I have upgraded my OS X Mountain Lion 10.8.3 to Mavericks 10.9 it runs so smoothly and no issues or hanging that I encounter. But just this morning when I installed Mavericks, I have the following issues: 1.) When I was adding a book(pdf and e
-
My home page is MSN. From the menu I select bookmarks, choose the one I want, and it opens, but only in a tiny sidebar to the left, on the MSN home page. It just started doing it. It has been opening in full view to the bookmark page.
-
Insert flex component in flash .fla file
hello, Is it possible to dynamically load a flex component, compiled as a swf file into a .fla file. Originally, this flex component can be loaded as a standalone flex application with parameters to connect to the appropriate server. But now a custom
-
Best way to determine if document is truly unsaved
Is there a preferred method for determining whether a file is truly unsaved? I'm distinguishing between files that have have been saved and then had some changes made to them (but have a valid name and filePath) and files that have just been created