Line item description
Hi Experts,
I need to fetch the cost element or account number or ??? line item <b>description</b> for the posting without purchase order.
The description has to come based on the document type (BLART).
I have done for SA and KR document type (SA For GL Internal posting and KR for Vendor invoice) by fetching the right field from the table.
My problem is if i have more document type other than SA or KR, my description will not apper in my report output. The major problem is tat i dont have function guy or any functional input. My question is for a cost center will there be any other document type other than SA and KR document type. I found in a table t003t there are lot of document type, if all this comes in my report later point the description will not be listed. How to proceed with this?
Regards,
Senthil
Hi,
You can write the Select statement outside your loop statement as below.
1) Declare an internal table as below
data : begin of i_skat occurs 0,
spras like skat-spras,
ktopl like skat-ktopl,
saknr like skat-saknr,
txt20 like skat-txt20,
end of i_skat.
2)if not itab[] is initial.
select spras
ktopl
saknr
txt20
into table i_skat
from skat
for all entries in itab
where spras eq sy-langu and
ktopl = itab-ktopl and
saknr = itab-hkont.
if sy-subrc = 0.
sort i_skat by saknr.
endif.
endif.
3) The place you have written select statement there you write Read statent as below.
read table i_skat with key spras = sy-langu
ktopl = itab-ktopl
saknr = itab-saknr
binary search.
if sy-subrc = 0.
itab-txt20 = i_skat-txt20.
endif.
Similar Messages
-
Order To Cash - AR Invoice Line Item description change
Hi,
I have a requirement of concatenating some value to the Invoice line - Item description in the AR Invoice created thought Auto Invoicing.
Please could anyone tell me the best way of doing it.
Thanks & Regards,
GenooHi Luko,
Thanks for your response.
I noticed that Item Description is not a free text field in Sales Order Line..
My requirement is that I have a value which needs to be concatenated to Item Description, when we interface the Order to Receivables through Auto Invoice program.
Any possible ways please?
Thanks,
Genoo -
How to copy the line item description to other same line items - FBL5N
Hi All,
I have an issue while printing the description in the script.In the final internal table there are multiple same line items but the description is comming for the only one line item but my requirement is i want to copy the description text(bseg-sgtxt) to the other same line items also. I trying to use the control break statements but i am not getting the solution.
can any one please provide me the solution.
FYI.. please find the attched text doc..in the document the first four lineitems are same but description is comming for only one line item. I want to display the description to all the same line items.
Thanks in advance.
Regards,
koushikHi Bharat,
Can u just attach the code where populating the internal table with description.
Regards,
Shashikanth -
Printing line items in next line smartforms
how to print line item description in next line...
suppose
i have line item description as
"this is description of line item"
then i need to print as
"this is"
"description of line item"
in two lines......
so that no trunkation takes place please reply me ....Use offset
v_text(20)
in the second line use
v_text+20(40)
If this does not work
then declare two more fileds
and write the code
v_text1 = v_text(20)
v_text2 = v_text+20(40)
and print the new fields
Reward points if useful,
Regards,
Nageswar -
Item description not getting updated when material description is changed
Hi,
In a contract, line item description gets copied from material master. However, when material master is updated line item description does not get updated in a transaction. Is there a way to update this?
Thanks,
DeepakHi Deepak,
Line item description is not changed as when you enter the material in order and save, description is saved in table CRMD_ORDERADM_I along with other details. now if you change the material master description it is pretty obvious that CRMD_ORDERADM_I contents will not automatiically change. if you enter the same material again in order as new line item system will read from material master whereas for existing line items will be read from CRMD_ORDERADM_I . you can change the description using FM CRM_ORDERADM_I_MAINTAIN_OW
i hope it clarify your concern.
Thanks
sudhir grover -
In COGI error text "Multiple assignment of line item"
Hi Guru,
In COGI error text "Multiple assignment of line item"
Description:
ultiple assignment of a line ID
Message no. M7357
iagnosis
An item table, in which the line ID (LINE_ID)
was transferred to the function module MB_CRE
ystem Response
Processing is terminated.
rocedure
Contact the system administration.
rocedure for System Administration
There is an error in the calling application.
Please help me to resolved this issue.
Thanks and regards
PNUHi,
Thanks for reply,
It is possible to remove material from COGI list. We need to stop creation of this error.
Is there other solution to control creation of error "Multiple assignment of line item"
Thanx & regd.
PNU -
Invoice Smartform Printing Multiple Line Items
Hi Floks,
I have a billing Document with multiple items like labor ,material,miscellaneous and more .. i want to print all line items description and data also in smartform . It's possible to print all this requirement in Normal Windows or How is it possible to print .If any Standard form is there .
please Helpme Out.
Regards,
sureshHi suresh,
We are having standard smartform for the Invoice. Use LB_BIL_INVOICE. Copy it to Zform. You can get all the details by default.
regards,
Chandra.
Note: Please reward if helpful. -
How to improve performance on SD document with over 1000 line items
Dear experts,
A lot of our SD document contains 1500 to 5000 line items. Saving a simple change of one line item description would take 5 minutes (with or without pricing considerations). We are on ECC 5.0. Does anyone know of an existing snote or ways that would help to improve performance?
A related question on performance tracing. I have done some tracing and notice that the time to access SQL/buffer/enqueue/RFC only amount to less than 50% (sometimes 5%) of the total processing time. What has the system been doing for the "unrecorded" time?
Thank you and appreciate!
-cynthiaI would check which modules or which parts of code take the most of the processing time. You can use SE30 to check one order save.
If it's not SQL - then it may be internal processing like inefficient loops and so on. For example runtime of nested loops with big tables have grows exponentially.
It may be caused by SAP code - search OSS notes for based on the module names which consume most time.
OR it can be caused by the code in your userexits - then developers have to fix it and redesign using more efficient technique. -
Is there a way to change the Column location of the Row Set Line Item description? It defaults to the first column, but I would like each Row's description to be in the middle of the reports, say column 4, instead of column 1
ThanksMaybe you can try XML PUBLISHER.
-
Add cost centre name field or description in line item reports
Dear all,
How can the cost centre name or description be added in a report's lines (i.e. FBL1N). These fields (columns) are not included in the reports and need to add them. I have tried through special fields to include them but the table CSKSZ and fields KTEXT (Cost Centre name) and LTEXT (Cost centre description) are not included.
Regards,
GeorgeHello,
You must use business transaction event 1650 for adding special field to FBL*N reports.
Please refer OSS note below.
Note 984305 - Line item: Definition of special fields (T021S)
I hope it helps to you.
Regards,
Burak -
GL Description in Line item report FAGLL03
Hi All,
How can we polulate GL Description in Line item report FAGLL03? It looks like applying sap note 368310 could be an option (i am not sure) but is there a way to customize
Thanks
RonHi Ravi,
We don't have do anything in the Header rows. This transaction will help us to insert any description on the header rowa. But what we are looking at is to polulate the GL account description along with the GL account number. Now we are only getting the GL account number in the line items and not the Gl account description along with it
Thanks
Ron
Edited by: Ron on Dec 2, 2009 11:46 PM -
PLD: Grouping Item description: Line number is not sequential
Hi All,
I am facing a typical problem.
I have invoice PLD where I am grouping item description and other details like price and tax. Which is working correctly.
However Line number is also getting grouped.
ex line 1(sl No) : xyz (item description)
line 10(Sl No) :abc (item description) where in correct line number should be "line 2"
Please let me know how can we solve this.
Thanks In advance
Regards,
AdityaThanks Fasolis,
But I have added a column Linenum() both in repitative area and repitative footer where grouping is done.
the value it retrieves is not sequential since grouping is done. That is the problem, the Field Linenum() gives the output like 1, 15, 55 etc.. based on the starting of line of the item description from transaction which is grouped in PLD.
To be more clear example: there are 2 item codes with same description which is being grouped in PLD.
In transaction,
Line 1: itemcode 01: item name A Quantity: 3
Line 2: Itemcode 02: item name A Quantity: 5
Line 3: Itemcode 03: item name B Quantity: 10
Line 4: Itemcode 04: Item name B Quantity: 15
So in PLD
Line 1: Item name A Quantity 8
Line 3: Item name B Quantity 25
Desired result should be
Line 1: Item name A Quantity :8
Line 2: Item name B Quantity : 25
Regards,
Aditya
Edited by: Aditya Rao on Mar 7, 2012 10:10 AM
Edited by: Aditya Rao on Mar 7, 2012 10:35 AM
Edited by: Aditya Rao on Mar 7, 2012 12:48 PM -
Hi,
This is in 11.5.10.2.
For Balance Sheet review/clean up of GL Accounts, we are facing following Problems.
When we query a particular GL account the number of lines fetches are more than 6 lakhs line items due to which we are not able to extract complete dump .
The data Extracted is not getting classified into open and cleared items (Clearing) at GL level and therefore the data line items are enormous. Can you suggest something in this regard as to how to proceed further? IF you can share the methodology being adopted by any of you, it will be a great help.
ThanksHello.
Can you please try the following query? I'm not sure were are you keeping the data that indicates that the lines are not adjusted so i included the JGZZ_RECON_STATUS field but you can adjust the query to your needs.
SELECT l.effective_date,
h.je_source,
h.je_category,
l.description,
nvl(sum(l.accounted_dr),0),
nvl(sum(l.accounted_cr),0),
l.jgzz_recon_status
FROM gl_je_lines l,
gl_je_headers h
WHERE l.je_header_id = h.je_header_id
AND l.set_of_books_id = <your set_of_books_id>
AND l.effective_date >= '1-jul-09'
AND l.effective_date <= '2-jul-09'
GROUP BY l.effective_date,
h.je_source,
h.je_category,
l.description,
l.jgzz_recon_status
Hope this helps, otherwise repost.
Octavio -
How to get Characteristic Values assigned to the line item of Sales Order?
Hi,
I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
this fn. mod. giving all the Characters but not the assigned characteristic values.
Is there any other way to find characteristic values of sales order.
Thanks,
vinayak.
Message was edited by: vinayaga sundaramFor example, please see this example program.
It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
report zrich_0001.
* Internal Table for Characteristic Data
data: begin of i_char occurs 0.
include structure comw.
data: end of i_char.
data: xcabn type cabn.
data: begin of xcawn,
atwtb type cawnt-atwtb,
end of xcawn.
data: xvbap type vbap.
parameters: p_vbeln type vbap-vbeln,
p_posnr type vbap-posnr.
start-of-selection.
select single * from vbap into xvbap
where vbeln = p_vbeln
and posnr = p_posnr.
clear i_char. refresh i_char.
* Retrieve Characteristics.
call function 'CUD0_GET_VAL_FROM_INSTANCE'
exporting
instance = xvbap-cuobj
tables
attributes = i_char
exceptions
instance_not_found = 1.
loop at i_char.
clear xcabn.
select single * from cabn into xcabn
where atinn = i_char-atinn.
clear xcawn.
select single cawnt~atwtb into xcawn
from cawn
inner join cawnt
on cawn~atinn = cawnt~atinn
and cawn~atzhl = cawnt~atzhl
where cawn~atinn = i_char-atinn
and cawn~atwrt = i_char-atwrt.
write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
endloop.
Regards,
RIch Heilman -
S_ALR_87012247 - Customer Balances and Line Items in Local Currency
Hi All,
This report S_ALR_87012247 - Customer Balances and Line Items in Local Currency is not displaying line items for customers in ECC6. Is there any configuration required to get the line items? Please help
Thanks
SrideviIf you see this report S_ALR_87009950, you will get
Opening Balance at the start of fiscal year
Debits and Credit during the reporting period
and the Cumulative Balance.
Please note the above report will not give you line item details.
S_ALR_87012247 report is specifically for poland, in the description it is mentioned that the line items will be displayed, unfortunately, for other countries, there are no line items visible. Therefore, you may explore the possibility of copying this report and changing the code in order to bring the line items along with the totals.
Maybe you are looking for
-
Credit block SAP inbox message
Hello All, This is my actual requirement: When the sales order goes into a credit block, KRML output triggers SAP inbox message to the credit manager/credit representative as per the output records maintained. In standard SAP, the inbox message is re
-
some one know if apple tv works in ipad 1
-
Rollback fault thrown while invoking a Proxy Service
Hi, I am getting strange problem while invoking a proxy service. the operation on the service takes a list of customer numbers in the input. When the number of customer numbers is 10-20 it works fine but when I increase the customer numbers in the li
-
Windows 2008 R2 CPU Scheduling
I have a Windows 2008 R2 Vmware VM running one application published by Citrix. I noticed the CPU usage spiked to 100% while doing an EDI export to MS Excel 2010. I increased the CPU cores by one totaling 1 Socket 6 cores. Now core 0 is higher than t
-
Hi, I have applied drop shadow, in some places from the properties panel and in some places as AS3 code. Both are visible on laptop, but when testing on mobile - all shadows disappear. Does someone know why? With many thanks in advance!