Line item capture in Capex
We have created a business rule in Capex for calculating the cost of asset based on Asset category and the system creates single line item everytime the business rule is run,
the line is added thru Business Rule, I want to know if there is any way I can capture the line item number, that is being created by Business Rule,
to calculate the dependant calculations dynamically.
please suggest,
Thanks in Advance.
Sravan Kumar
hi
check out this MV50AFZ1
Similar Messages
-
Unable to capture field values in Master agreement Line Items
I am trying to get the field values from master agreement line items page. I have written the following code to get the line item details which is working fine to capture part number and quantity->
agreementBean = doc.getRootParentIBean();
lineItemCollection = agreementBean.getLineItems();
collectionsize = lineItemCollection.size();
for(i=0;i<collectionsize;i++){
collectionbean = lineItemCollection.get(i);
partNum = ""+collectionbean.getPartNumber() ;
Quantity = ""+collectionbean.getQuantity();
throw doc.createApplicationException(null,partNum + " , " + Quantity );
Now, my problem is that I am unable to capture the following field item values in the master agreement > line items page.
1. Price Unit
2. Unit Price
3. Product Category
4. Plant
Please help me to find the values.
Thankx in Advance.
Su
Edited by: subrataindra on Aug 10, 2010 11:11 AMThis will return the name of the plant.
.getExtensionField("PLANT").get().getDisplayName(session);
Check if this returns the product category
collectionbean.getExtensionField("ITEM_CAT").get().getDisplayName();
This will Return the Price
collectionbean.getExtensionField("PRICE").get().getPrice();
(return type :BigDecimal)
This will return the currency
collectionbean.getExtensionField("PRICE").get().getCurrency;
(Return type:String)
Similarly to retrieve other fields for which there are no standard functions, use .getExtensionField("Field ID")
Hope this helps
Regards,
Immanuel -
Unable to capture the Line items row in BDC kindly help
Hi All,
I am trying to run the Tcode CJ40 here after i enter the project id and press enter a tabular form appears and we need to select the appropriate line item in that table .
When i try to do teh recoding using SHDB tcode it is not capturing that line item at all :(.
I tried to do the recordig usig the page down and tehn selecting teh line item in the table but still it doesnt capture in teh recording ,
Kidnly suggest me what needs to be done.
Thanks in Advance.
Sana.Why dont you try with BAPI BAPI_BUS2054_CHANGE_MULTI
Check the Documentation -
Profit Center is not getting captured in Vendor line item from MIRO.
Dear Friends,
Profit Center is not getting captured in Vendor Line Items from MIRO Transaction for some New Business Users, where as for Old Users profit center is getting generated at Vendor Line Item.
We have provided the same authorization of old Users to new business users. (i.e. New user is a copy of old user)
Please help us how we can the get Profit Center in all transactions will be processed by New Business users.
I think we need to maintain user based authorization to get the Profit center in vendor Line items processed from T.Code:MIRO in SAP.
Looking forward for your kind cooperation in this matter
Thanks & Regards,
Naveen Kumar.Hello Naveen,
I am not very sure about your query, as you might be knowing that the Profit Center is only updated in New GL tables (FAGLFLEXA, FAGLFLEXT) and hence the Vendor relavant tables would not.
The profit center information in the split lines or the line of the 'General Ledger View' are only displayed within transaction FAGLL03 which read the 'new' table for the NewG/L.
About profit center wise reporting, when New GL is active Please review attached consulting SAP note:
- 826357 Profit Center Accounting and new general ledger in
I hope this helps. If not, please provide an example of your requirement.
Thanks and regards,
Suresh Jayanthi. -
Capture Inv. Party under Details Tab of MIRO for auto line items
I am unable to get the "Inv. Party" in FBL3N for automatically generated line items. For example, the entries generated based on Tax Code is not capturing the information entered in Assignment field. The date of transaction in yyyymmdd format is being captured when FBL3N is viewed. The layout option doesn't provide "Inv. Party" to be selected though it is appearing in the Details Tab of MIRO.
I am presently maintaining the details of Vendor items from FBL1N for all transactions, get the data for a particular GL Code, say VAT credit due, then using Excel VLOOKUP to match and get the Vendor code to submit to tax authorities.
Is there any simpler way out?Hi,
go through this...
https://wiki.sdn.sap.com/wiki/display/Snippets/Displaycustomerfieldsinheaderoflogisticsinvoiceverification+transactions
Thanks,
Shailaja Ainala. -
Hi
We have a scenario in which excise has not been calculated in certain Sales order at each line itemlevel. There are many such sales orders.Is there any way in which we can get the details of all such sales order? One way whic i understand is to look at the table where the excise line item details are captured.? Pls guide
Regards
Sanil BhandariHi
There is some issue in our config for pricing condition in salesorder due to which BED and ASE has not been captured for certain sales documents. The requirement is to get a list of Sales order , which would show the excise duty captured in each sales order.
Regards
Sanil Bhandari -
I want to capture data through I/O while posting to Customer Line items
Hi Experts
Can you please suggest me that while posting to Customer line items i would require to capture data through Internal Order, is this possible if yes please explain
Regards
SreenivasuluHi
Internal Order details can be updated to the P&L line item ie revenue line item in your case. From ECC 6.0 it will be available in the General Ledger view of the document.
Regards,
Lakshmanan Krishnan -
Want to capture data through I/O while posting to Customer Line items
Hi Experts
Can you please suggest me that while posting to Customer line items i would require to capture data through Internal Order, is this possible if yes please explain
Regards
SreenivasuluIf you are classic GL, this not a standard functionality.
If you are new GL, you can have profit center on customer / vendor line items.
Also activate document splitting.
Regards,
Ravi -
Excise is not captured for all or Second line item.
Dear Experts,
Excise is not updating for all the line items in while making Goods Receipt.
while making goods receipt excise is not capturing for all the line items.
but excise is captured at header level,its presumed that all the line items
are capturing excise,please suggest me,what might be the reason.
Thanks in advance.
VarunHello,
As i think, you are creating Goods receipt With Excise option "Only Part1" in MIGO, then system will update only J_1ipart1 table with qty and without internal document number, after J1IEX only system will Update J_1IEXCDTL table with all value and qty and internal document number.
Suppose you have done the GR -Option' 'No excise entry" then system will not generate any Excise realted tables. Then you should Capture Part1 entry with help of J1I5 t code, then system will update qty field , here also system will not update internal doc number.
Write a Updation program for J_1IPART1 table for qty field
Mahesh Naik -
Capture START and END installation date on order line item
Requirement: capture both start and finish dates for an installation program. Will likely require 2 new fields at order line item level.
USEREXIT_MOVE_FIELD_TO_VBAP???
Any suggestion for this enhancement???Hi
U need to enhance the VBAP table by APPEND structure in order to add new fields you need.
So in that exit you can fill your new fields:
MOVE <......> TO VBAP-Z<......>.
Max -
I have a requirement where in i have to display a pop up with all the line items given by user in ME21N . The pop up has to display when user presses CHECK .
I written the code in the exit EXIT_SAPMM06E_017 . its working fine for single line item.
In case of multiple line items the popup appears for every line item instead of showing all the line items in a single pop up since in the user exit there is no provision of capturing the LAST LINE ITEM . The field EKKO-LPONR which captures the last line item , is populated only after the exit is triggered which captures the value of EKPO-EBELP( line-item). I manage to capture the line items in internal table but unable to capture last line item and then display the internal table in pop up .
If the user gives two line items say 10 , 20 .
Line item 10 is populated to field EKPO-EBELP . After the control comes out of the exit the value of EBELP is assigned to LPONR . At next control LPONR = 10 and EBELP = 20.
Thanks .Hi Priya,
To show popup for the last line item, try with this logic:
You have an internal table with all line items, take an internal table with same structure. Take the number of lines and read the line iten into work area and append this work area into another table. after that read this second internal table with EBELN and EBELP, if it is matching then show the popup for all line items from first internal table.
Put this code:
<b>dsescribe int_first into ws_lines.
if ws_lines gt 0.
read table int_first into wa_first index ws_lines.
if sy-subrc eq 0.
append wa_first to int_second.
endif.
endif.
if not int_second is initial.
read int_second into wa_first with key EBELN = 'structure ebeln value'
EBELP = 'structure ebelp value'
if sy-subrc eq 0.
" put POPUP code
endif.
endif.</b>
Hope it will solve ur problem. -
Capture the Uploaded by in line item BP
Hello All,
Is it possible to capture the user name in the detail form(Line Item BP) , who uploaded the document in the line item
because i see that only Upload By feature is only for Document Attribute form.
Regards,
AnkitHi Master , sorry for the late reply and can you please help on this?
create table xxc_transactions(type_id number,trx_line_id number ,item_id number,org_id number);
insert into xxc_transactions values(null,null,null,null);
create table xxc_items(item_id number,org_id number,item_no varchar2(10));
insert into xxc_items values(123,12,'book');
create table xxc_headers(header_id number,order_id number);
insert into xxc_headers values(null,null);
create table xxc_lines(header_id number,item_id number,line_id number);
insert into xxc_lines values(null,null,null);
create table xxc_types_tl(transaction_id number,NAME varchar2(10));
insert into xxc_types_tl values(106,'abc');
create table xxc_uinon_table(item_id number);
insert into xxc_types_tl values(123);
SELECT union_id.item_id,
b.org_id ,
e.name ,
fun1(union_id.item_id) item_no --> to get item_no
FORM xxc_transactions a,
xxc_items b,
xxc_headers c,
xxc_lines d,
xxc_types_tl e,
( SELECT item_id
FROM xxc_uinon_table ) union_id
WHERE a.type_id= 6
AND a.item_id = b.item_id
AND union_id.item_id = b.item_id
AND a.org_id = b.org_id
AND c.header_id = d.header_id
AND d.line_id= a.trx_line_id
AND d.item_id= b.item_id
AND c.order_id= e.transaction_id ---106
AND b.org_id = 12
GROUP BY union_id.item_id,
b.org_id ,
e.name
ORDER BY union_id.item_id;
Note: xxc_uinon_table is a combination of UNION's
select 1 from dual
union
select 1 from dual
union
select no rows returned from dual;
I will get 1 from the above Query
Thank you in advanced -
What is the Table to Capture line item changes in PO?
Dear Guru's
what is the table in which i can find the report of ammendment in the PO at line item level OR is there any Standard SAP report ???
please help..
gauravGo through Following Link
Report on Purchase order header changes and Line item changes.
Vipin -
Vendor Line Item not cleared after F110
Hi Gurus,
We encountered an issue. The payment run was processed last April 18 and the vendor invoices were captured during the payment run and in the aging report, these invoices didn't appear as Open Item.
In between April 19 until August 19, these invoices are not part of the proposal list until the when they run payment on August 20. The value is zero and in the proposal list, there is a value in the Reason to Print Advice "A".
What is the reason for this?
Thank you.Hi Dianne Obviar,
For that invoice payment delete uncompleted payment
proposal.
U go through this path select F4 in run date field
There check it any un completed proposal is there and delete
that invoice line item will come for payable
Regards
Surya -
Business Area is not getting updated in "Main Bank Account" Line item (FF_5
Hi Gurus,
I am executing T Code: FF_5 for uploading the "Multi-Cash" Format. This transaction clears the Bank Clearing Account and post the entry to the credit of "Bank Main Account".
Now while i had executed F110, the Business area was properly captured in the Bank Clearing Account Line item. But while executing FF_5, the Business Area is not getting captured against the "Main Bank Account" Line item.
Can you please tell me how to capture the Business Area against the "Main Bank Account" Line item.
Rgds,
Prasad.Hi,
1. In case of Business where payments are made centrally it is important to report
Bank A/c Business area wise.
2. However I have solved the problem by doing "Sustitution", and its working fine. The Business Area is getting updated against the Main Bank Account Line item.
3. I am however getting one error while doing the upload in FF_5. The error occurs
only if Business Area is a "required" field in Bank Account's "Field Status
Group".
Error: (00 298) Formatting error in the field COBL-GSBER ; see next message.
But if I make Business Area as an Optional Field I am not getting an error and
also the posting is done to Main Bank Account.
Is there anyother method by which this error can be corrected.
I have assigned 2 points for your inputs. Can you help me to solve this error as well.
Rgds
Prasad
Maybe you are looking for
-
Publishing bw workbooks to the portal
I am trying to find out what portal role a bw designer would need in order to publish workbooks\queries to KM in the portal and also to publish reports as an iview. We have a few bw folks who are trying to accomplish this. In the portal I had assig
-
Power Mac G4 power button activates sleep instead of shut down.
I am setting up my G4 as a 'backup' machine for a macbook pro. The G4 will not have a monitor attached, so I will not have access to the normal 'Apple>Shut Down' menu or key commands. The power button on the G4 powers up the machine just fine, but pu
-
Adobeform Chinease Translation issue - Translated area coming as blank
Dear Gurus, I have beed facing an issue while translating adobe form from English to Chinese from SE63 transaction using PDFB. There are two section one is Source language and another is Target language. Now in my case the target language is coming a
-
I am having problems viewing email attachments with adobe reader? Help?
Hi there. Can anyone help me please?
-
Do keywords follow photos in export to PS & on into web albums?
Just returned from 3 month trip and am beginning to organize and assign keywords for about 10,000 images using LR for the first time (4.2). I did not assign keywords during import along the way. Ultimately after pp, these images will go into albums o