Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers in fbcj
Hi all ,
I have a requirement to Post Cash Journal Document using FBCJ tcode.
Is it possible multiple line items debit & single line item credit and different cost centers and different profit centers
for exp:
pk GL a/c description amount cost center profit center
40 400101 telephone exp 500 1403 P 1000
40 400101 telephone exp 100 1404 P 2000
50 200100 cash in hand 600-
This is My requirement is it possible in fbcj
Please suggest me.ASAP.
Regards
Naresh.
Hi,
This you can do it in two ways:
1. Make three header under top level....one Product A, 2nd Product B ( as Billing element) and third as Common expense ( only cost). Now 1st & 2 nd WBS, you have to have sales order linking with individual lint item, for third you will accumulate all the common expense till the period end then make a reposting of the same in desired proportion to both products WBS hierarchy
(This is if you want to have a track on the common expense as well.......like planning, budgeting & control)
After this reposting, run RA for individual billing element and hence you will all the complement detailing and control over Revenue and expense with respect to Product A and Product B individually.
2. If you don't want to maintain that kind of detailing the common expense and keep track of it through project, then have cost centers accordingly and make an assesment/ distribution with respect to expenses accumulated at those cost centers for the period to the respective WBS under each product. Then execute the period end processes for the project.
Or
You can try with have two more line items in the costing sheet as an overhead against common expenses with respect each product.
I hope this should help you.
Regards
Avisek Bhardwaj
Similar Messages
-
Can I add multiple elements on a single line?
Can I add multiple elements on a single line?
Not yet. But this is something we plan to support. You can vote on this idea here: http://forums.adobe.com/ideas/1046
We use this to help prioritize our work.
Randy -
MessageTransformBean - SimplePlain2XML - Multiple records on a single line
Hi,
I am trying to convert multiple record from a single line to multipe rows in an XML message with the MessageTransformBean.
If the record look like this it's working:
RECORD1textETC
RECORD2textETC
But the incoming message are all on a single line:
RECORD1textETCRECORD2textETC
Is there a way to add a linefeed to my incoming message after X characters, or to tell the adapter to split by length instead of spliting on the end of line?
Thanks,
MartinI had to code a custom Module Adapter to do it.
Here's the main part of the module adapter EOLConvertBean...
Message msg = (Message) inputModuleData.getPrincipalData();
XMLPayload xmlpayload = msg.getDocument();
byte[] content = xmlpayload.getContent();
byte crlf = 0x0A; // end of line char
int current = 0; // current bytes read
ByteArrayOutputStream baos = new ByteArrayOutputStream();
int lines = content.length / recordLen; // record len = insert EOL after X recordLen
// TODO change for do while for 1x line record
for (int i = 0; i <= lines; i++) {
baos.write(content, current, recordLen);
baos.write(crlf);
current += recordLen;
xmlpayload.setContent(baos.toByteArray());
inputModuleData.setPrincipalData(msg);
Edited by: Martin Lavoie Rousseau on Oct 6, 2010 9:08 PM -
Sales order: Two schedule line items for single order item
Hi,
I have an issue with the schedule lines in the sales order. When we create a sales order with today as the delivery date, it creates two schedule lines for the single order item. But if we give future date as the delivery date, then it creates one schedule line only. The confirmed quantity for the first line item (with today we the delivery date) is zero and second line item confirmed quantity (with delivery date as tomorrow) is actual order quantity. So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do we have stock.
We donu2019t have availability check on and we use custom line item and schedule line categories.
Please give some hints on what might be the issue.
There was on post with this kind of issue, but it was closed without answer.
Thanks,
SriniHi Srinivas,
So as there is no confirmed quantity on todayu2019s date, it looks like it is creating new line item. But we do have stock.
As per my understanding although you have sufficient stock for the material system may be confirming the quantity in future date because of the forward scheduling. As you know system adds different times while evaluating the confirmed delivery date. Check the route which system is using. -
GR can not printed for PO-Multiple account assignment on single line item ,
Hi!
I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
Can I make a valuted GR against PO line item with multiple account assignment.
I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
Can you please let me have the solution ?
Thank snd regards,
Suranjana> I made a pr with single line item with 3 account assignment on percentage basis.I created a PO against .GR non valuated was automatically ticked so no account assignment was created at the time of GR posting.
When you are having the multiple account assignment, then the system will force you to have GR-non valuated indicator being flagged which results in the fact there is not any FI document at GR posting stage and this is the standard feature of SAP.
> Can I make a valuted GR against PO line item with multiple account assignment.
No, not at all. The disability of GR indicator can be set in OME9 with account assignment category
> I faced another problem .I displayed the GR and after ticking out put check box in the general data page of the GR doc. the output is being saved but the update is terminated immediately.and no output page is generated in this item level.This output problem is not there at the time of single account assignment at PO line item.
In fact, it is possible to maintain multiple account assignment for each and every PO line item by selecting the 'Multiple Account Assignment' button in the 'Account Assignment' View of the Item Detail of PO. However, for such multiple account assignment selection, no accounting document will be generated upon GR maintenance. This can only be done during IR via LIV process. -
Posting multiple tax codes for single line order in MIRO
Hi all ,
I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
This apparently can be a possibility for such things as training.
I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance / etc..HI, There is a possible solution for this scenario.
1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
2. While posting the Invoice (TRX - FB60) following steps need to be followed.
3. Amount has to be split into two line items
4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
created for 12.5%
5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that
was created for 12.36%.
Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
Regards
K.Sanjai Babu -
Measuring of Text with Multiple Fonts in One Single Line
I am following a request to write C++ code for a label that contains several text elements in one single line, varying by font, size, color.... Ok, that can be done easily in GDI+ by measuring each element's width and then execute a DrawString
for each of the text elements starting at its calculated position.
So far, I failed miserably.
The horizontal text positions did not appear to be correct. I reverted now to very simple text width measuring tests where the results are still puzzling.
Test 1 (GDI+): Use of MeasureString
With the same font, the width of the string "MM" does not match the double with of the string "M". This cannot be explained with eventual rounding problems.
Test 2 (GDI+): Use of MeasureCharacterRanges
Used the same font as for the first test. The width of "MM" is now exactly double of the width of "M". But: The width of the "M" ist lightyears away from the measurement result in the first test.
Test 3 (GDI): Use of GetCharABCWidthsFloat
Attempted to create a GDI font as close as possible to the GDI+ font in the previous tests. Unfortunately, this third test shows results which do not match the previous results at all.
I am appending the full example here; the results I found during the debug session have been added as comments:
void ApplWindow_TextDrawTest(HDC hDC)
Gdiplus::Graphics *G = new Gdiplus::Graphics(hDC);
G->SetTextRenderingHint(TextRenderingHint::TextRenderingHintClearTypeGridFit);
Gdiplus::StringFormat MyFormat;
MyFormat.SetAlignment(Gdiplus::StringAlignment::StringAlignmentNear);
MyFormat.SetFormatFlags(Gdiplus::StringFormatFlags::StringFormatFlagsNoWrap);
Gdiplus::Font TextFont(L"Calibri", 36, Gdiplus::FontStyle::FontStyleBold, Gdiplus::Unit::UnitPixel);
const wchar_t *Text1M = L"M";
Gdiplus::PointF TextOrigin1M(0, 0);
Gdiplus::RectF TextBounds1M;
const wchar_t *Text2M = L"MM";
Gdiplus::PointF TextOrigin2M(0, 50);
Gdiplus::RectF TextBounds2M;
//--- Test #1: using MeasureString ----------
G->MeasureString(Text1M, (INT)wcslen(Text1M), &TextFont, TextOrigin1M, &MyFormat, &TextBounds1M);
G->MeasureString(Text2M, (INT)wcslen(Text2M), &TextFont, TextOrigin2M, &MyFormat, &TextBounds2M);
//--- Results: Text 1 Width= 44.414 ("M")
//--- Text 2 Width= 76.828 ("MM")
//--- Test #2: using MeasureCharacterRanges ----------
Gdiplus::Status RCode;
Gdiplus::RectF LayoutRect(0, 0, 1000, 100);
Gdiplus::Region RegionsList[3];
Gdiplus::CharacterRange CRanges[3];
CRanges[0].First = 0; CRanges[0].Length = 1;
CRanges[1].First = 1; CRanges[1].Length = 1;
CRanges[2].First = 0; CRanges[2].Length = 2;
MyFormat.SetMeasurableCharacterRanges(3, CRanges);
G->MeasureCharacterRanges(Text2M, (INT)wcslen(Text2M), &TextFont, LayoutRect, &MyFormat, 3, RegionsList);
RCode = RegionsList[0].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M")
RCode = RegionsList[1].GetBounds(&TextBounds1M, G); // Result: Text 1 Width = 32.000 ("M"; the second char)
RCode = RegionsList[2].GetBounds(&TextBounds2M, G); // Result: Text 2 Width = 64.000 ("MM")
//--- Test #3: using the good old GDI ----------
int MapModeResult = SetMapMode(hDC, MM_TEXT); // MM_TEXT is equivalent to Unit::UnitPixel?
HFONT TextFont3 = CreateFont(36, 0, 0, 0, FW_BOLD, false, false, false, ANSI_CHARSET, OUT_TT_ONLY_PRECIS, CLIP_DEFAULT_PRECIS, CLEARTYPE_QUALITY, VARIABLE_PITCH | FF_DONTCARE, L"Calibri");
HGDIOBJ PrevFont = SelectObject(hDC, TextFont3);
ABCFLOAT ABCCharData;
BOOL RFlg = GetCharABCWidthsFloat(hDC, (UINT)'M', (UINT)'M', &ABCCharData); // Results: abcfA = 2.000; abcfB = 22.000; abcfC = 2.000
//--- End of Test ---
delete G;
Does anybody have an idea why I get so different results?
Thanks in advance.This is a development question and should be directed to a forum that assists in coding. The forum you posted to is for Windows 7 related questions.
Sorry I cannot help you
Don't forget to mark the post that solved your issue as "Answered." By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick - IT Professional -
Showing Multiple Colors in a single Line series Chart
Hi there,
I need to show some High,Low and Normal datapoints with different colors on a single series chart
I have to use line series.
Can anyone help me with this, I not even sure if this is possible
Please throw some light
Thank youFor the first variant.
You have a LineSeries for all data.
You manually divide your dataProvider for three providers: with low, hi and norm values. And Create additional PlotSeries for each part and set coloror what you want. So line will be shown by LineSeries and point will be shown and colored by PlotSerieses. Very simple variant but if you need to change the low and hi limits It's not so good. But if this limits are static and data is static it's very good.
If data and limits are dinamic or you want to create more correct solution. It's not so difficult to create itemRenderer for LineSeries (there is a style property itemRenderer). Read about renderers in docs^ http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/ -
Displaying data from multiple columns into a single line graph
Post Author: hollowmatrix
CA Forum: WebIntelligence Reporting
Hey,I have an issue with the WEBI reporting.I have a data source that has multiple columns say ( month1, month2, month3, month4,.....month 12, month 13, ....month24) with the sales data for each month.Now say I call the month 1 to month 12 as "current year", and call month 13 - month 24 as "previous year".I want to put a prompt in the report which allows me to select between "current year" and "previous year".Based on the prompt value we get a graph of the sales vs month ....as in if we select "current year", then we get a graph of the sales Vs time( remember that the sales data for each month is in a different column.)and if we select "previous year" then we get a graph of the sales Vs time for previous year..( sales vs time for Month 13, month 14, month 15....month 24).I am not able to pull data from multiple columns into a single object that I can use to populate the graphs.Any help on the same will be appreciated .Hi,
<p>
please click
here (asktom) and look for the words "how about the other way round"
</p> -
Multipl line item for single line item in smart form
Hi
I have an issue wwith smart form. i Designed a Smarform with main window but each line item have again multilpe line items.Example.My smartform should print like this
SNO.......Descriptions..................................................................Specifications
1.............. Pepsi.......................................................................500ML Bottle
................................................................................................Rs.20.
................................................................................................No sugar COntent
................................................................................................Buy one get one free.
2..............Coke.......................................................................1000ML Bottle
...............................................................................................Rs.$10.
...............................................................................................Added flavours COntent
...............................................................................................Buy one get 2 free.
IN the above example Sno and Descriptions are from one internal table and Specifcations are form
other internal table and both the tables are linked with one common field.
Any inputs please.
Regards
Farook
Edited by: farook shaik on May 15, 2009 11:56 AMHi Farook,
Either you cam merge in the driver program as said before -this is the best option.
OR in smartform:
Create a line type with columns for sno ,descr ,specification.
Use a DATA TABLE for the first internal table with the above line type and fill the first 2 columns.
and a LOOP inside the data table's 3rd column for specifications with the common field in where condition.
eg
first table - DATA TABLE
HEAD
MAIN
|___ linetype
|-cel1
|-Sno-text
|-cel2
|-Descriptions text
|-cel3-Specifications
|__loop for second table in where condition - match common fields.
|-text for Specifications
FOOTER
Regards,
Fonseca DC
Edited by: Fonseca Christina on May 15, 2009 1:10 PM -
Pulling multiple variables into a single line?
There really seems like an easy fix to this, but I'm just not finding it on my own here.
Here's my setup: I've got four variables that are pulling data from our system: Customer Address, City, State, and Zip - for some silly reason we do not have a single variable for all of these combined.
As such, I'm trying to include all of thee variables in one field, this is what I've got set up as of now:
Four Invisible fields that pull this data into the form individually
One field titled "Customer_Address Line"
A formcalc line with the following data:
Customer_Address_Line = CUSTOMER_ADDRESS + CUSTOMER_CITY + CUSTOMER_CATE + CUSTOMER_ZIPCODE
I've tried various different methods to try to get this to print correctly but in the end I've only managed to confuse myself.
The best I can get is only the zipcode to print.
What am I missing???
Any help would be GREATLY appreciated! ThanksRadzmar is right .....you need the concat function to add strings together in FormCalc. Your technique is used with Javascript.
The object names are case sensitive so make sure you have the right case. Also you can put yor cursor in the script editor wher you want the reference to the object placed, then hold down the ctrl key and move your mouse to the desired field (the cursor will change to a V). Now click on the mouse and a reference will be placed in the script editor.
Hope that helps
Paul -
Placing multiple records on a single line (variables)
Post Author: AeroProg
CA Forum: Formula
Hi, I am new to Crystal Reports, but I know Basic and other programming. I have Crystal Reports XI and am pulling data from our ERP/MRP system, Epicor Vista (Progress DB).I've been asked to figure out a Crystal Reports for our company (I get thrown into these projects). I know what the report should look like and I know how I would go about some VB code in a macro in Excel if all the data was in worksheets(i.e. like tables).Below is the data. Any help would be SO appreciated. So far I'm loving Crystal Reports and I can't wait to get some reports our company can start using but I'm stuck on understanding the timing and connection of formulas with the records.Table1 "JobMtl"Field "JobComplete":StringField "JobNum":StringTable2 "JobOper"Field "OpComplete":BooleanField "OprSeq":Number{JobMtl.JobComplete}FalseTrue{JobMtl.JobNum}20102011{JobOper.Complete}FalseTrue{JobOper.OprSeq}10203040Let's say I dragged all 4 fields into a report. It would look like this.JobNum JobComplete OprSeq OpComplete2010 False 10 True2010 False 20 True2010 False 30 False2010 False 40 False2011 False 10 True2011 False 20 False2011 False 30 FalseI would it to read like thisJobNum JobComplete PrevOp CurrOp NextOp2010 False 20 30 402011 False 10 20 30**Note: {JobMtl.JobComplete} will be used so I am only reporting jobs that are "not complete". I guess it means nothing to you guys, but I put it here because I was not sure if this will be involved in a formula.Thanks,AnthonyMy email is ls1z282002_at_yahoo.com (replace "_at_" => "@") if you would a *.RPT with the data I've shown.Post Author: GraemeG
CA Forum: Formula
I don't know if you can attach files... if you can I'll attach the sample. In the mean time, here's the rub...
(By the way, I use basic syntax in my formulae... old habits and all that!)
I created two tables (actually they were two sheets in a spreadsheet) called JobMtl and JobOper and put some records in in the format AeroProg described above.
Create a formula called aResetVariables:
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
'Set Variables to zero
CurrOpNo = 0
PrevOpNo = 0
NextOpNo = 0
'This next line is just to keep Crystal happy
formula = 0
Create one called bCurrentOp:
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if CurrOpNo = 0 and {JobOper_.JobComplete} = "false" then
CurrOpNo = {JobOper_.OprSeq}
end if
formula = CurrOpNo
Create one called cPreviousOp
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if {JobOper_.OprSeq} < CurrOpNo or CurrOpNo = 0 then
PrevOpNo = {JobOper_.OprSeq}
end if
formula = PrevOpNo
Create one called cNextOp
'Define shared variables
shared CurrOpNo as number
shared PrevOpNo as number
shared NextOpNo as number
if {JobOper_.OprSeq} > CurrOpNo and CurrOpNo <> 0 and NextOpNo = 0 then
NextOpNo = {JobOper_.OprSeq}
end if
formula = NextOpNo
In your Crystal report, group by the JobNum and put the aResetVariables formula into the group header. This will make sure that the variable are set back to zero every time the Job No changes. Suppress the group header.
Plonk what ever you want into the detail line but suppress that too.
Put the JobNum, JobComplete, cPreviousOp, bCurrentOp and dNextOp formulae into the footer. (Donu2019t suppress this section!)
Run the report and you should get a line for each job showing the previous, current and next operation. If you tinker with the status' it seems to work everything out okay. -
Convert multiple row field to single line
Firstly: Apologies I am not a developer and am learning how to use crystal by error and hardwork.. so I'm a little slow on the lingo and the uptake.
I am creating a report that has under "details" a field {jobTests.testTypeName} this currently finds all tests associated with the job and lists them one under another. i.e
(Job blah blah) Test1
Test3
Test7
Test9
Job info (blah blah) is displayed by a different field under the details tab, it is not associated.
Then it repeats with the next job until all jobs under a PO are completed, then it moves to the next PO and continues
To save space I need to list the Tests beside one another i.e Test1, Test 3, Test7, Test9.
I haven't been able to work out how to do this at all.
OR
If it is possible can anyone tell me how to take the list of Tests that are output and enter them under an IF THEN statement...
I can choose one TEST and rename (as shown below) but I need to be able to choose a group of specific tests i.e If Test1 + Test3 + Test7 + Test9 Then display "Group 1"
If {jobTests.testTypeName} = "TEST1" Then
"T1"
Else
{jobTests.testTypeName}
Thanks to anyone who can help. I hope my question makes sense.
Edited by: Kathryn Todd on Nov 11, 2008 4:01 PM fixed typoHi Kathryn,
If you haven't done so already, create a group on the Job.
In the Group Header for Job, create a formula like:
WhilePrintingRecords;
StringVar Tests := "";
In the Detail section, create a formula like:
WhilePrintingRecords;
StringVar Tests;
Tests := Tests & {jobTests.testTypeName} & " ";
Create a third formula in the Group Footer for the Job like:
WhilePrintingRecords;
StringVar Tests;
Here's what's happening. The first formula is in the Group Header to define and initialize the variable called Tests. The variable will be reset for each new Job otherwise you'd eventually get all the tests for all the jobs.
The second formula will create your string.
The last formula will display the string for each test.
Good luck,
Brian -
Hi Sir,
i have a table x which have data like below
ID
DEPT
10
SALES
10
PRESALES
10
MARKETING
20
IT
20
ADMIN
I want data like below
ID
DEPT
10
SALES,PRESALES,MARKETING
20
IT,ADMIN
i do not want to use the LISTAGG function.... kindly tell me if we can solve it by level or case decode function
Best Regards,
Prem kumar791884 wrote:
i do not want to use the LISTAGG function
Is that because you are not on 11gR2?
The following will work on 10g...
SQL> select deptno, ename from emp order by deptno, ename;
DEPTNO ENAME
10 CLARK
10 KING
10 MILLER
20 ADAMS
20 FORD
20 JONES
20 SCOTT
20 SMITH
30 ALLEN
30 BLAKE
30 JAMES
30 MARTIN
30 TURNER
30 WARD
14 rows selected.
SQL> ed
Wrote file afiedt.buf
1 select deptno, ltrim(sys_connect_by_path(ename,','),',') as enames
2 from (select deptno, ename, row_number() over (partition by deptno order by ename) as r
3 from emp)
4 where connect_by_isleaf = 1
5 connect by deptno = prior deptno
6 and r = prior r+1
7* start with r = 1
SQL> /
DEPTNO ENAMES
10 CLARK,KING,MILLER
20 ADAMS,FORD,JONES,SCOTT,SMITH
30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARD -
In file adapater how to divide the o/p to come on 2 lines from a single lin
Hi ,
Currently my o/p is coming like
2006/03/17,9:32:10,U123577,000000000000100338,24043350,X,Y,S,06,017,UL Int. PO-FGDR U created under the number U123577
i would like to break my output as
2006/03/17,9:32:10,U123577,000000000000100338,24043350,X,
Y,S,06,017,UL Int. PO-FGDR U created under the number U123577
which means i would like my o/p to come on 2 lines
how do i make this happenBut how do i now were i have to give nl .
the out put is just one string .
structure of my file is like this
DT_File_Output
Output
Data
Date
a
b
c
i want date and a to come on one line
and b and c to come on a diff line
ie i want my o/p to be like
date a
b c
date a
b c
date a
b c
is there a way can i specify a line to come after the out put
Maybe you are looking for
-
Importing internal table from one program to another program
Hi everybody, i have one small doubt. i am using submit statement and passing the values from this program to another program selection screen. in that program logic is written.In that program one internal table values are being exported to the memor
-
Connect airport express (my printer) to a new broadband setup (Wi Fi)
We just dropped our DSL and got broadband through our cable company. Motorola is now the WiFi in our house but Airport Express is used for our printer (making it a wireless printer). The old set up for the printer used a household network called Appl
-
Problem with Bleed, getting a white border I don't want
Hi, When I export my document, my 10mm bleed becomes this white frame. I have not found a solution on how to get rid of it. I've tried a bunch of different things, and now I'm hoping some nice person here can help me out. Here is how the bleed looks
-
In Mail (v. 7.1), I sometimes get mail addressed to me as "My Husband" and sometimes as my actual ID as it appears in my address book. How can I stop it from showing as "My Husband"?
-
I would like to buy an ipad for my nephew. Which one is better, ipad or ipad mini? He wants to play games, and put lots of app.