How to dispplay line items in script ?
dear experts,
i want to display the line items in box, but that box should be dynamic according the number of line items
thanks in advance.
Hi Munvar,
In the print program u have an variable to get the count of the number of line item.
By repeted testing u display the box according to that
variable value.
In the BOX comand ..in the hight addition use that variable as the hight.
For EG: u have 5 line items, item_count = 5.
make item_count = item_count * 20 ( hight of the
box u want)
In the script u use
BOX WIDTH 87 MM HEIGHT &item_count& MM FRAME 1
TW INTENSITY 0
Note : The field item_count must be of char ( check it i
am not sure)
Regards,
Santhosh
Similar Messages
-
Urjent-how to add line items in tcode-FBL3N
Hi Experts,
How to add line items customer, customer name, vendor and vendor name in FBL3N.
Thanks in advance.
mahe
Moderator message - Please do not use words like "urjent". Please ask a specific question. Please search the forum. This question has been asked and answered before. Post locked
Edited by: Rob Burbank on Apr 29, 2009 11:27 AM
Edited by: Rob Burbank on Apr 29, 2009 11:28 AMHi,
Check the BTE's:
00001020 POST DOCUMENT: Prior to final checks SAMPLE_INTERFACE_00001020
00001025 POST DOCUMENT: Final checks completed SAMPLE_INTERFACE_00001025
00001030 POST DOCUMENT: Posting of standard data SAMPLE_INTERFACE_00001030
00001050 POST DOCUMENT: Accounting interface SAMPLE_INTERFACE_00001050
Thanks & Regards,
Harish -
Hi
How to transfer Line Items from One GL account to another GL account.
We, at the time of changing Non Open Item Manged account to Open Item Manged account, how can we transfer Line items to make this GL account Zero, If suppose line items are more than 200.
Satish
Points assured.If you are attempting to change the account from Non Open Item managed, you need to make the account balance zero. The change will be be effective only for future transactions. You need not transfer all line items, find the balance and make an entry to debit or credit to make it zero, to a temporary account. Later, once you have activated, you can reverse that transaction.
The OSS 606977 refered may be helpful if you are looking for reverse activation. i.e from Open to Non Open. Here is a brief:
Symptom
In the G/L account master record, you can activate/deactivate the 'Open item management' indicator if the balance of the account is zero. In this case, the system does not check whether postings exist on the account.
If postings exist, this could lead to problems, for example, if the clearing is reversed after the change to the indicator is made.
Other terms
FS00, FS02, FSS0, FS02, FH190, XOPVW
Reason and Prerequisites
The transactions for the maintenance of the G/L account master record did not check whether postings exist on the account. Now the program checks whether postings exist in the current year or previous two fiscal years.
Solution
Implement the attached correction or import the corresponding Support Package. Since it could make sense to change an account with balance zero from open item managed to non-open item managed (and vice versa) - despite postings to the account - the message is delivered as customizable (with error as a default setting).
The check is also carried out, when open-item management is activated, is postings exist on the account.
If you implement the note you must also carry out the following:
Use Transaction SE91 to create message 190 in message class FH with the following text:
Account balance = 0; however, postings exist on the account
Use Transaction SM30 to insert the following entry into view T100S:
Application area FH
MsgNo 190
Allowed EW
Standard E
Afterwards, the message can be customized in View V_T100C. To do this, you can use Transaction OBA5. -
How to get line item net price and net value?
I have using "BAPI_SALESORDER_SIMULATE" to SIMULATE to create SO,
the return table
ORDER_ITEMS_OUT-NET_VALUE is not equals than created by VA01 .
how to get line item net price and net value?Hi,
Can u elaborate ur query ?
By this FM you cannot create a SO . Use FM --> BAPI_SALESORDER_CREATEFROMDAT2
Regards,
MAdhukar Shetty -
How to default Line item display in GL master record???
Hi..Guys
How to default Line item display selection in GL master creation.....When we create GL master it will automatically get selected.
Is it possible to do.
Plz reply .Hi
With sample account you can succeed your requirement
Give all the defualt fields whtatever you want then use this sample account while creating GL account
One more possibility is with SHD0 screen layout change with defaults (this thing i am not sure)
Reg
Vishnu -
How to display line items twice in a single page in sap script
HI,
I am working on check printing. I copied the standard driver program and form to Zprogram and ZForm. Which are RFFOUS_C(print program) and F110_PRENUM_CHECK(Form Name).
I want to display the line items twice in the same page and sub sequent pages.
Currently I am able to display line items only once.
Example:
PAGE1.
line item1
line item2
line item3
line item4
line item5
line item1
line item2
line item3
line item4
line item5
line items 1 to 5 which are in main window.
How to achive this problem.
Regards,
vinodHi
I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more.
Best regards
JD -
How to print line item 2times in two different main window in Sap Script
Hi,
I am designing check printing form using Sap script. I need to print line items 2times in different 2main window.can yu pls explain how print like this.
JKi cud not get ur query..pls elaborate
-
How to display line items in a script...
Dear All,
My internal table for script is having 5 line items.
But in output of script I'm getting 5 line items, 1 each in 5 different pages of script.
But I need them one below the other in the same page...
Plz give step by step procedure for the above requirement.
Thanks & Regards
NagarajHi,
Did u call any new-page command for every new line item?
KIndly provide the code...
Rgds,
Pavan -
Printing Line Items in Script without using driver program
How to print the line items of a internal table in sap script without using driver program? I am not supposed to edit anything in the driver program. Pls help me to solve this problem...
Hi,
You can try by creating a new driver program and a new FORM ENDFORM inside that for this purpose.
Regards,
Gaurav -
How to Update line items in a structure ?
Hi i am getting 3 line items retrieved from a Function Module. But while displaying in the script it shows only the last line item. How do i update all the line items??
The code is given below,
CALL FUNCTION 'FI_PRINT_ZTERM'
EXPORTING
I_ZTERM = EKKO-ZTERM
I_LANGU = EKKO-SPRAS
I_XT052U = ' '
I_T052 = T052
TABLES
T_ZTEXT = ZBTXT
EXCEPTIONS
ZTERM_NOT_FOUND = 01.
Loop at ZBTXT.
READ TABLE ZBTXT.
IF SY-SUBRC EQ 0.
PEKKO-ZBTXT = ZBTXT-LINE.
DELETE ZBTXT INDEX 1.
* UPDATE PEKKO-ZBTXT.
MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
ENDIF.
ENDLOOP.
And also how do i retrieve it in the script ?HI Navaneethan,
please try following code.
make PEKKO should be internal table with appropraite structure..
Loop at ZBTXT.
MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
append PEKKO.
clear PEKKO.
ENDLOOP.
loop at pekko.
write : / PEKKO-zbtxt.
endloop.
if above code is helpful, REWARD POINTS.
Regards,
Ranjith -
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 -
Order creation logic how to pass line items
experts
i have the following data in iternal table itab.
po number ,customer number, matnr,quantity ,order date.
1212838383 7494749 8383938833 20 20032009
1212838383 7494749 8383938832 10 20032009
1212838382 7494749 8383938833 20 20032009
1212838384 7494745 8383938823 30 22032009
1212838384 7494745 8584858588 05 22032009
now i want to populate this data into idocs orders segement .
for all po the customer will be the same and i need to create one order for that.
in the above data first 2 lines have same po so i need to create order with 2 line items.
sales org,division,distribution channnel,ordertype will be same for all the records.
loop at itab into workarea.
at new po. "for same po, same header data so i am using AT NEW
edi_dd40-segnum = 1.
edi_dd40-segnam = 'E2EDK14 '.
edi_dd40-mandt = sy-mandt.
edi_dd40-psgnum = psgnum.
e2edk14-qualf = '008' .
e2edk14-orgid = 'NN21.
MOVE e2edk14 TO edi_dd40-sdata.
append edi_dd40 to itab_output.
edi_dd40-segnum = 1.
edi_dd40-segnam = 'E2EDK14 '.
edi_dd40-mandt = sy-mandt.
edi_dd40-psgnum = psgnum.
e2edk14-qualf = '006' .
e2edk14-orgid = 'ni.
MOVE e2edk14 TO edi_dd40-sdata.
append edi_dd40 to itab_output.
endat.
now the item data comes , so i need to create items with same po.and afetr this i need to submit this data to fm before another diffent po comes.below same customer and po so need to consider as one sales order and submit to fm.
item1 1212838383 7494749 8383938833 20 20032009
item2 1212838383 7494749 8383938833 20 20032009
call function 'MAST_IDOC_DISTRIBUTE'
My concern is how to tell to the system for the same po create the order with multipl line items , do i need to use to AT NEW
or some other commands above?
endloop.i have used at end of po. but my matnr is becoming *************. no date is showing in the internal table while populating the matnr to segments.
Loop at itab into workarea.
at end of po.
here i am filling the matnr to the segment. here workarea-matnr is showing *********** only stars,
endat.
endloop.
If i remove the at end of po , then the matnr is comming .
Please sugggest me what to do.
my fields sequence are like this.
kunnr " customer
bstnk "po
matnr " material
currency
kwmeng "order quantity
podate
orderdate
so how to handle this please suggest. -
How to reject Line Items in a Service Contract?
Hello friends,
Can anyone help me understand how do we reject items in a Service Contract? I don't see any Reject field. Is it one of the Status I need to configure for Item Level Status Profile? Even if I add a 'Reject' status, how do I link it to Rejection Reason codes? (I know how to add Reason codes in customizing, but how they are linked to a Transaction type is something I am not finding...).
Please provide any inputs.
Thanks.HI Navaneethan,
please try following code.
make PEKKO should be internal table with appropraite structure..
Loop at ZBTXT.
MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
append PEKKO.
clear PEKKO.
ENDLOOP.
loop at pekko.
write : / PEKKO-zbtxt.
endloop.
if above code is helpful, REWARD POINTS.
Regards,
Ranjith -
How to clear line items in accounts not managed on an open item basis
We are getting ready to archive FI accounting documents from years 1993-2002. We encountered a great deal of documents that did not archive during testing because the documents have open items. We were given bad advice in the beginning on how to set up accounts. Several accounts were not set up on an open item basis and these accounts will not get archived until the line items are cleared. We have set up new accounts to replace these accounts that are now being managed on an open item basis. Our FI users are unable to clear the documents using F-03. Does anyone have a way of clearing these type of documents (not managed on an open item basis)? Thank you in advance.
One of our users has proven that the line items on GL accounts not managed on an open item basis are not holding up the archiving. The reason for many documents not archiving is that the item posted to the vendor is still open.
thanks! -
How to select line items in recording(BDC)
Hi All,
we are trying to Recording QP02 transaction ,we have inputs like material,plant,Group,Group Counter.
after entering these inputs we will get multiful line items(inspection characteristics).we need to check one field for each item.
How can we get this?
Please help me?
Thanks,
Peddi reddy.Hi Kamesh,
Thanks.
After selecting line items i am selecting control indicators Tab.
then Pop up screen called as (Edit characteristic control indicators) will open ,..then just pressing enter..the it will show another pop up ..here i am selecting one field(Long term Inspection)..the process has to do for all line items.
In My program i have copied BDC performs which i got from Recording.
Do i need to change tha performs or will it work?
i tested in foreground with another material .... upto 3 or 4 line items its working fine.after that sytem does.t say anything.
if i need to chage performs please help me .
Maybe you are looking for
-
PDFX1a 2001 - WebNative has detected message appears?
From within indesign CS5 I have to export HIRES pdf files using the above settings. But when I go to export the pdf I have a message appear 'WebNative has detected that the Exported PDF not work with the PDF imaged Replacement worflow. Compatibility
-
Moderator message: please do not use ALL CAPITALS in your subject Hi all, I have a requirement to pop up a long text editor screen on clicking a PO in ALV column. Please guide for the same. Thanks. Edited by: Matt on Dec 16, 2008 11:25 AM
-
How to cancel confirmation which is in error
Helly Guys, I have created a PO with wrong G/L account, and confirmantion has been done but with error. G/R couldn't be created due to the error. I was able to correct the PO in SRM with correct G/L account and it auto changed in ECC but when it
-
[svn:osmf:] 13633: Add build config file for SMILPlugin project
Revision: 13633 Revision: 13633 Author: [email protected] Date: 2010-01-19 14:23:44 -0800 (Tue, 19 Jan 2010) Log Message: Add build config file for SMILPlugin project Added Paths: osmf/trunk/plugins/SMILPlugin/SMILPlugin-build-config.xml
-
Font mapping: 'Sans Serif' and 'Serif'
Hi, I've got a trouble with my 'Sans' and 'Sans Serif' fonts (aliases?): they are mapped to one and the same undesirable Serif font. I've done some research, but still haven't got past vague suspicions. Something in /etc/fonts/conf.d, no? BTW, this d