Smartforms : split lines
Hi Gurus,
Trying to find help on the forums, I didn't find solution to my problem.
The issue is the following : when editing PO in smartforms, last word of the header text is cut in the middle.
How can I avoid the last word of a line to be cut into 2 parts when passing to next line ?
Thanks much in advance.
Regards.
Hi friend,
Try giving continuous text to format the text in text editor. If this solves your problem then you can use character formats from smartstyles to format the text inside the displaying portion. Otherwise try increasing the width, so then all text can be accompanied in that divided portion itself.
Cheers...
Similar Messages
-
How to adjust splitted lines into one line in Text file?
Hi Guys,
I have a text file with 3 fields(comma separated): GLCode (Number), Desc1 (Char), Desc2(Char) and need to load it into BW.
My Text file looks like:
1011.00,"Mejor PC Infrastructure","This line is ok."
1012.00,"Telephone Equipment $","This line ends in next line.
1)Need to change the equipment immediately.
2)Take immediate action"
1013.00,"V1 Computer Server Infrastructure # Equip","For purchases
of components that make up the company's network, such as servers, hubs, routers etc."
1014.00,"Flash Drive","Need to provide all IT Developer"
This is how file looks like. Now I need the followings:
1. Need to remove the space and need to adjust the splitted line into one. Say here
line/record 2 is splitted into 3 lines and need to adjust in 1 line.
2. In Line 5 (Record 3) data splitted into 2 lines and need to make 1 line.
3. Need to remove bad characters.
Could someone help me please how to proceed ?
Regards,Not quite correct by my testing. Try:
$i=0
Get-Content .\test.txt | ForEach {
If ($i%2){
("$Keep $($_)").Trim()
}Else{
$keep=$_
}$i++
Good catch!
Boe Prox
Blog |
Twitter
PoshWSUS |
PoshPAIG | PoshChat |
PoshEventUI
PowerShell Deep Dives Book -
Substitution of Split Line Items that appear only in FI - New GL?
Hi,
The new GL incorporation has brought in a functionality to automatically split user entered line items during GL Posting to create ledger balance at Profit Centre(or Company code) level in-case line items have multiple Pofit Centres(or Co.Code) etc.
I have a requirement wherein I need to do substitution and validation of line-items created after splitting of document(which are visible only in general Ledge view of New GL). The line-items created after splitting don't show at runtime(ie during substitution using GGB1), we can only see user entered line-items that are present in BKPF and BSEG tables.
Is there any way by which we can get hold of system created split line items that are present only in FAGLFLEXA/FAGLFLEAXT table for substitution/validation ?
I need to substitute Transaction Type field BEWAR.
Message was edited by: Tabishul HaqueAll ,
As per SAP it doesn't allow substitution of fields after splitting of documents in new GL in case of Cross Profit Centre documents postings. -
How to use parameter option in smartform program line.
HI all,
how can i give parameter for matnr directly in smartform program line, it wont take gives a dump
i don wanna create a separate driver program for that.
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SF00000001============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "/1BCDWB/SAPLSF00000001 " in
include "/1BCDWB/LSF00000001F01 " in
line 539:
"You can only use "PARAMETERS" for programs other than type 1 between B"
"EGIN/END OF SCREEN."
The include has been created and last changed by:
Created by: "SAPUSER "
Last changed by: "SAPUSER "
how can i solved this.
Kavinath B.Hi,
You can not code
SELECTION-SCREEN BEGIN OF BLOCK.
SELECT-OPTIONS selcrit FOR (name).
SELECTION-SCREEN END OF BLOCK.
like this in smartform program line it wont allow
all you have to do is create a driver program
for smartform create a selection screen and call smartform by
n pass variables or internal tables.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname =
* VARIANT = ' '
* DIRECT_CALL = ' '
* IMPORTING
* FM_NAME =
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
I hope it will help u
Ketan.P -
Hi,
Is it possible to issue a smartform per line item in the outbound delivery process?
Thanks
LindyHi Lindy,
Could you elaborate the issue a bit then I would be in a position to solve your issue.
Cheers,
Saraswathi. -
Using '\n' to split lines
I've used '\n' to split lines of text but it doesn't work with all phones. Is there any other way to do it? I'm not using canvas.
append("Title"+'\n'+"something");Edited by: Sypress on Mar 13, 2010 11:12 PMUse an array of length 2 to store the Strings or if they are related use a Map<String,String> or use Map.Entry if only a sing pair is required or create your own pair class, or ....
The best approach though is to use an object to store them rather than relying on some delimiter and custom parsing method. -
Hi,
In my system, I have configured automatic batch determination for my delivery item category.
Now when the system determines the batch, even if there is one batch, the system creates a batch split line (with line number as 900001).
Is this a standard system behaviour?
Is there a way that we can have only one line if there is just one batch and go to a batch split line only when there are more than 1 batches.
pls let me know. Any help would be highly appreciated.
Thanks
ABHi Arijeet,
please do the follow .
SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORIES
Choose the item categories you use and check the flag "autobatchdeterm".
Make sure that you have the right item category determination for the delivery type with Usage: CHSP (take delivery LF as an example). The path is:
SPRO: LOGISTIC EXECUTION->SHIPPING->DELIVERIES->DEFINE ITEM CATEGORY DETERMINATION.
Then you have to activate the ATP check in delivery process:
SPRO: SALES..->BASIC FUNCTION->AVAILABILITY..->AVAILABILITY CHECK->AVAILABILITY CHECK WITH ATP LOGIC->CARRY OUT CONTROL...
you have to check the configuration for the combination:
CH Batches - B SD delivery and
02 Individ.requirements (if you use it in the MRP of you material master) - B SD delivery.
if you give me brief i can help you out more.
Thank you .
Regards
Ram -
How to display smartforms table lines useing different background colour
Hi all:
How to display smartforms table lines useing different background colour .
for example:
line1:green
line2:red
line3:green
line4:red
line5:green
line6:red
line7:green
line8:red
Any help is highly appreciated!!
启明星Hi,
Create a two lines one for header and second for data in the table.
1)In table painter we can find the pencil mark.
2)select the pencil mark
3)now select the line which you need to shade
4) now select the shading colour in the table painter and the provide the resolution up to 100% and select table pattrn for that line.
5) Now you can use this for the header now only the header gets shaded and the remaining gets unshaded.
reward points if useful
Thanks and Regards,
Nishant -
Om split line not split the charge
the stardand split sales order line(Sales Orders/line items/Actions/Split line) will split the charge,but my customer hope not split the charge. please help me!!! thank you
Unfortunately there is no way currently to make split view the default for any server-side page. Your best bet would be to post an idea on the Ideas tab (or support one that is already posted).
-
" split line on apple logo on startup screen?"
Why is there a split line on apple logo on startup screen?
If you are talking about the curved line, it just looks like that is how they made it.
-
SO order line haven't split line automatic when shipped with backordered
Hi
The order line qty 1300 for SO ,and inventory have only 800,after pick release and do shipconfirm. The order line haven't split lines and status is still awaiting recipt
when find the shippment transaction, input status 'interfaced' and 'order line' can find qty 800 ,and input status 'noshipped' and the same 'order line' can find qty 500
Could you help me why?
Thank you very muchThank you very much ,setup shipping tolerance as zero but not OK, for this SO have many order lines ,but only this order line can't split
-
Hi Guys
I have to split a line in a table painter in smartform, which I did by right clicking the mouse and choosing split from the context menu.
1. But the problem is that It does not show in the output
2. Even if it shows, how do I put data in it?
Thanks for reading .Hi,
Once you split the line.. you need to select the cell containing the line you just split.. and look for little icons on the top menu that look like boxes that are used to create borders.. click on the appropriate one depending on where yu want a line to be drawn.. yu could draw all four sides or just one side depending on what you want.
Putting data in it.. you need to double click on the text node that has the data yu need to display on the smartform.. under the output options tab.. right at the bottom you will see column and row boxes.. so this is where you need to specify the column and row number of the table.
Hopefully this helps! -
Smartform multiple line items in template
Hi friends.
I am passing a internal table to smartfrom.Now there are 2 line items that need to be printed.The data that is passed to the smartform is having correct 2 line items.
Now i have created 3 line types for my template.
In the first one i am passing the Header data.Its wrking fine...
In the third i am totalling the amount.Its wrking fine..
In the second i am looping and this line will contain the mulitple data from the internal table.
Now i am looping at my internal table into a work area.but only one line item is getting printed.The second one is overwriting the first line item.
So how to print all the line items in template.
i have created loop in template.Under that loop i have passed 3 texts and in them i hve passed the work areas.,,But overwriting is been done..
Regards
Plz share at earliest as its very urgent.Hi,
Template is a STATIC structure u cannot loop internal tables.
See link how to loop a internal table in TABLE in SMARTFORMS.
[Display a contents of a table on SmartForm with LOOP |http://www.sap-img.com/smartforms/display-a-contents-of-a-table-on-smartform-with-loop.htm]
Regards,
Ballack.
Reward Points if helpful. -
AR- Invoice- splitting line item positngs
Hello,
we have a scenario in the AR invoice. The business invoices the customer on a weekly basis, for the week at month-end few days if the week fall into the next month( for e.g Oct 28th week , thursday and friday fall into Nov month, they want that all the revenues to be automatically split on the same Invoice and fall in the appropriate period.
Personally I don't think there is posting date on line item , if we invoice it in nov then the total amount will post to november period.
Can anyone provide any inputs or some work around to split the line items month-wise on the same invoice.
thanks in advance.Win:
This issue should actually be resolved by an SD consultant. It is outside FICO domain.
For your scenario you need to modify "Billing Plan/Invoice Plan Type" which is configured in SD > Billing > Billing Plan > Billing Plan Type.
There are some options available in that config settings that should fulfill your needs for eg:
In
Milestone billing (a billing type) - the total value to be billed is distributed between the individual billing plan dates (the value billed on each date can be fixed amount or a percentage). I believe this should take care of your issue. You may need to get in touch with your Sales & Distribution team for configuring settings to satisfy your scenario.
You can find some descriptive notes on this under:
SD > Billing > Billing Plan, just read the documentation available to get a hang of the issue.
Vj
Assign points if info helps! -
In Smartform split the contractor code
In smartform how can we split the contractor code(adrc table) and display it in Template with 5 cells the field >_ADRC-POST_CODE3&
Hi
Why dont you create 5 data fields and move your post code into each of fields & display output in smartforms.
sorry if i got your question wrong
Maybe you are looking for
-
Advice request - which external HDD for Adobe Lightroom?
Hi, I'm going to buy myself an external hdd this week, and I would be very grateful for your advice. 1) I'm shooting with Nikon D70, Canon A520, and my mobile(;]). 2) After over 1 year of shooting I have ~130GB of photos taken with these cameras + I
-
How can i add message in "migo" ( good receipt ) ?
how can i add message in transction "migo" ( good receipt ) ? i tried userexit MBCF0002 but i can't see more then one line of the order and the user get 3 messages ( in case of order with 3 lines ) the badi's MB_DOCUMENT_BADI MB_MIGO_ITEM_BADI don't
-
when i transfer files from my mac to my PC small hidden files get transfered along with them. I understand what they are and the intention of this however when i Transfer mp3's into my music folder and import them using Creative source organizer it a
-
Hi all, We currently use a Cisco SCA for SSL off load. When adding client certificates to the SCA, there is an option to "Add Client Certificate Info" - which uses a check box to enable this feature. This feature, to the best of my knowledge, sends t
-
Oracle webcenter Portal: Spaces Features
Hi experts, I need an answer to the foll. ' We have several different applications integrated in Oracle Webcenter Portal: Spaces (11.1.1.8) via Portal builder. Can you list me the different features the portal can leverage to the underlying applicati