Can I make header text on a billing document read only?
We currently have a system where billing document header and line texts are created from the sales order. Subsequent changes to the sales order texts do not alter the invoice texts. (this is how we want it) The business now want to lock down the texts on the invoice for audit reasons. Is there a way that we can make the texts read only in VF02? (meaning that if they want to change the notes they need to cancel the invoice change the notes on the sales order then and then rebill)
Take a help from ABAPer in the User Exit that if user try to edit the text in VF02 > Header / Item ,it would throw an error.
Best Regards,
Ankur
Similar Messages
-
Can no longer select text in email template or read only field with mouse using IE or Firefox?
Hi Guys,
I can no longer select text in email template or read only field using my mouse in IE or Firefox anymore. We are using CRM 2011 rollup 18 applied with IE 11 and the latest version of Firefox. We only applied roll up 18 in Feb when this issue began.
Thanks
Dave
David KellyWhen you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
(1) Bypass Firefox's Cache
Use Ctrl+Shift+r to reload the page fresh from the server.
(You also can clear Firefox's cache completely using:
orange Firefox button ''or'' Tools menu > Options > Advanced
On the Network mini-tab > Cached Web Content : "Clear Now")
(2) Remove the site's cookies (save any pending work first) using either of these. While viewing a page on the site:
* right-click and choose View Page Info > Security > "View Cookies"
* Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
Then try reloading the page. Does that help?
These features rely on JavaScript, and it sounds as though you have scripting enabled if you get (the wrong) color changes. Some add-ons might alter the way scripts operate, so a standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
Help > Restart with Add-ons Disabled
In the dialog, click "Start in Safe Mode."
If those features work correctly, this points to one of your extensions or custom settings as the problem.
To also disable plugins, you can use this page:
orange Firefox button ''or'' classic Tools menu > Add-ons > Plugins category
Any change? -
How can I make the text bigger in iCal?
How can I make the text bigger in iCal? I've looked at Preferences and View.
Sorry, did not see that you are using 10.6.7
-
How can i make the text bigger?
How can i make the text bigger?
1. press "T" to bring up the text tool.
2. click the text you want to edit
3. highlight the text you want to change size with your cursur
4. If it's not already up, press Command + T to bring up the text tool box and adjust the size under the character group. The value you want to change will have a "TT" next to it.
If this doesn't help. More details will help us help you. -
How can i make the text go vertically in numbers
How can I make the text vertical in numbers? I have merged the cells and cannot find an option for making it go vertical as opposed to horizontal.
I already gave two tools to fit this kind of needs.
tip #1 :
--{code}
--[SCRIPT write_vertically]
Enregistrer le script en tant que Script : write_vertically.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Utilisateurs:<votreCompte>:Bibliothèque:Scripts:Applications :Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Saisir dans une cellule le mot à écrire verticalement puis le sélectionner.
ATTENTION, il ne faut pas sélectionner la cellule mais le mot qui doit apparaitre surligné.
Aller au menu Scripts , choisir Numbers puis choisir “write_vertically”
Le script colle dans la cellule le mot apès avoir inséré un return entre tous les caractères.
Pour mon usage personnel j'associe un raccourci à ce script grace à FastScripts.
--=====
L’aide du Finder explique:
L’Utilitaire AppleScript permet d’activer le Menu des scripts :
Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case “Afficher le menu des scripts dans la barre de menus”.
Sous 10.6.x,
aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
--=====
Save the script as a Script: write_vertically.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
In a cell, type a word to write vertically then select it.
CAUTION, don’t select the cell but the word which must be highlighted.
Go to the Scripts Menu, choose Numbers, then choose “write_vertically”
The script insert in the cell the word after inserting a return between every characters.
For my own use, I link a shortcut to the script thank to FastScripts.
--=====
The Finder’s Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the “Show Script Menu in menu bar” checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/12/17
2012/01/01 no longer use a local variable, use result
--=====
on run
Clear the clipboard *)
set the clipboard to ""
Copy the selection in the clipboard *)
my raccourci("Numbers", "c", "c")
Loop waiting that the clipboard is really filled *)
repeat
try
if (the clipboard as text) is not "" then exit repeat
on error
end try
end repeat
Extract the clipboard's content *)
the clipboard as text
Insert return between every characters *)
my recolle(every character of result, return)
Fill the clipboard with the edited string *)
set the clipboard to result
Paste in the cell *)
my raccourci("Numbers", "v", "cas")
end run
--=====
on recolle(l, d)
local oTIDs, t
set oTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to d
set t to l as text
set AppleScript's text item delimiters to oTIDs
return t
end recolle
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
==== Uses GUIscripting ====
This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
on raccourci(a, t, d)
local k
tell application a to activate
tell application "System Events" to tell application process a
set frontmost to true
try
t * 1
if d is "" then
key code t
else if d is "c" then
key code t using {command down}
else if d is "a" then
key code t using {option down}
else if d is "k" then
key code t using {control down}
else if d is "s" then
key code t using {shift down}
else if d is in {"ac", "ca"} then
key code t using {command down, option down}
else if d is in {"as", "sa"} then
key code t using {shift down, option down}
else if d is in {"sc", "cs"} then
key code t using {command down, shift down}
else if d is in {"kc", "ck"} then
key code t using {command down, control down}
else if d is in {"ks", "sk"} then
key code t using {shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "k" then
key code t using {command down, shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "a" then
key code t using {command down, shift down, option down}
end if
on error
repeat with k in t
if d is "" then
keystroke (k as text)
else if d is "c" then
keystroke (k as text) using {command down}
else if d is "a" then
keystroke k using {option down}
else if d is "k" then
keystroke (k as text) using {control down}
else if d is "s" then
keystroke k using {shift down}
else if d is in {"ac", "ca"} then
keystroke (k as text) using {command down, option down}
else if d is in {"as", "sa"} then
keystroke (k as text) using {shift down, option down}
else if d is in {"sc", "cs"} then
keystroke (k as text) using {command down, shift down}
else if d is in {"kc", "ck"} then
keystroke (k as text) using {command down, control down}
else if d is in {"ks", "sk"} then
keystroke (k as text) using {shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "k" then
keystroke (k as text) using {command down, shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "a" then
keystroke (k as text) using {command down, shift down, option down}
end if
end repeat
end try
end tell
end raccourci
--=====
--[/SCRIPT]
--{code}
tip #2 :
--{code}
--[SCRIPT rotate_cell_contents]
Enregistrer le script en tant que Script : rotate_cell_contents.scpt
déplacer le fichier ainsi créé dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
Sélectionner une cellule dont le texte doit être tourné de 90 degrés.
Aller au menu Scripts , choisir Numbers puis choisir “rotate_cell_contents”
--=====
L’aide du Finder explique:
L’Utilitaire AppleScript permet d’activer le Menu des scripts :
Ouvrez l’Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case “Afficher le menu des scripts dans la barre de menus”.
Sous 10.6.x,
aller dans le panneau “Général” du dialogue Préférences de l’Éditeur Applescript
puis cocher la case “Afficher le menu des scripts dans la barre des menus”.
--=====
Save the script as a Script: rotate_cell_contents.scpt
Move the newly created file into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
Select a cell whose contents must be rotated for 90 degrees.
Go to the Scripts Menu, choose Numbers, then choose “rotate_cell_contents”
--=====
The Finder’s Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the “Show Script Menu in menu bar” checkbox.
Under 10.6.x,
go to the General panel of AppleScript Editor’s Preferences dialog box
and check the “Show Script menu in menu bar” option.
--=====
Yvan KOENIG (VALLAURIS, France)
2011/06/23
2011/06/26 -- No longer use an auxiliary text box. Now keep the text attributes.
2012/01/31 -- edited for Lion
--=====
on run
local dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2
local le_texte, la_largeur, la_hauteur, myNewDoc
my activateGUIscripting()
Extract properties of the source/target cell *)
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
set selection range to range (name of column colNum1 & name of row rowNum1)
end tell
Cut*)
my raccourci("Numbers", "x", "c")
Trigger Preview *)
tell application "System Events"
if "Preview" is not in (name of every application process) then launch application "Preview"
end tell
delay 0.2 -- required
New document from the clipboard *)
my raccourci("Preview", "n", "c")
Rotate to left *)
my raccourci("Preview", "l", "c")
Copy *)
my raccourci("Preview", "c", "c")
Quit *)
my raccourci("Preview", "q", "c")
(system attribute "sys2") < 7
if result then
Click the [Don't Save] button in the warning sheet *)
tell application "Preview" to activate
tell application "System Events" to tell application process "Preview" to tell window 1
name of buttons
repeat 50 times
delay 0.1
if exists sheet 1 then exit repeat
end repeat
tell sheet 1 to click button 2
end tell
end if
Back to Numbers *)
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
-- just reset the focus on the table
end tell
Paste in the cell *)
my raccourci("Numbers", "v", "c")
end run
--=====
set { dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
on get_SelParams()
local d_name, s_name, t_name, row_num1, col_num1, row_num2, col_num2
tell application "Numbers" to tell document 1
set d_name to its name
set s_name to ""
repeat with i from 1 to the count of sheets
tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
if maybe is not 0 then
set s_name to name of sheet i
exit repeat
end if -- maybe is not 0
end repeat
if s_name is "" then
if my parleAnglais() then
error "No sheet has a selected table embedding at least one selected cell !"
else
error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
end if -
Text determination for billing document
pls tell me text determination for billing document.pls tell me each and every phace for text determination for header billing document;
when am creting text determination am getting so many problems,
i saw in text form in header text,but i didnot get it in out put invoice,
pl send each and every phace of the text determinations,if possible send screen shots for text determination,
its urjunthi
1) T-code VOTXN ,for the text object Customer>Sales and distribution>click the Text types-->create your 4 digit Text ID
2) Come back to initial screen of this t-code and again selct the text object Customer-->Sales and distribution and click change. Select the text procedure and double click on the Text IDs in text procedure.Here you create a new sequence and select the 4 digit Text ID you have created initialy.
3)Asign the Text procedure which you have selected in step2 and double click onText procedure assignment .Here you assign the Text ID to the Customer Accout group.
4) In the customer master,sales area tab>Extras menu>text,Select the text which you have created now and enter text into it. and save.
The text which you have created now ,can be used for multiple purpose(Ex.sales order,delivery,billing,pricing,inforecords,legal). for example in this case, You just want to display this text during sales order processing,then proceed as follows,
5)T-code VOTXN ,for the text object Sales document>Header>click the Text types-->create your 4 digit Text ID.
6) Come back to initial screen of this t-code and again selct the text object Sales document-->Header and click change. Select the access sequence and create new acces sequence(This access sequence is similar to that of in Pricing).Select this acces sequence and double click the access sequence for text ids.Here in the first column this is Serial no.second column is text object(This is the area from which text has to be refer.In our case we have created the customer Text object for sales and distribution area,so i.e.KNVV) and the next column is Text id,This is the id which we have created at customer text object for sales and distribution initialy,at step 1). The next column is partner function,it will identify for which parter this text has defined.Next 2columns are Languages(if you want to define for all langugage or specififed language),next column is for specified languge for partner function.if you have any requirement to be fulfilled you can create those requirements in the next columns or else leave blank,save and come back to text proceudure.id.
7)Select the text procedure(for ex.01-Sales header) and double click on the Text IDs in text procedure.Create new entries Fill in the sequence and the text id which we have created for sales document-header(in step 5).There is a small check box in the 3rd column which is used whether the text should be refered or copied(this is used if you want to modify the text during the sales order processing or just dispaly the originail text as it is),next column is whether the text should be displayed while creating or it is not obligatory, last column is acces s sequce,this is nothign but the sequence which we have created in step 6) and save.
8)in the final step assign the text proceudre id to the particualre sales order. -
Why I can't find the overall status in billing document!?
Hi,
Why I can't find the overall status in billing document? but I can find this status in table VBUK, some documents set 'B' in this field, some set 'C', all of them are Completed and the corresponding account documents are cleared. for this status is 'B',I can't archive these documents.
Thanks.Dear Lance
Check the field Document object i.e Document Status object .
A Order
B Purchase order
F Billing document
K Sales activities
L Delivery
T Shipment
V Shipping
X Others
Check if all your entries are F, if not find out which document and try to find out why it is not C.
Do revert with your feedback
If it is still a problem , check some SAP notes
For e.g. Note 142368 - Segment VBUK missing in billing document
Header status segment VBUK is missing in the billing document.You can check this with the general table display (SE16).
It is not yet known why this segment is missing.
correct many documents, you can use report ZZVBUK01.
Regards
Jitesh
Regards
Jitesh -
How can I make my form be a certified document?
Hi all,
In my form, I want to export xml by using the script "Reference_Syntax.exportData( [ STRING param1 [, BOOLEAN param2 ] ])",
for example, xfa.host.exportData("filename.xml",0).
However, it is invalid.
It says that "This parameter1 is only valid on certified documents where the user has sufficient
permissions".
But how can I make my form be a certified document, or how can I get the sufficient permissions?
Script "xfa.host.exportData("",0)" can be valid, but what I need is specifying the location and file name so that users can export xml just by clicking the button.
Can I achieve this function?
Waiting for your reply, thanks a lot!
ElliePlease take a look at this discussion. Also, are your end users using Adobe Reader? If so, your document must be Reader Enabled withed LiveCycle RE to use the import / export xml functionality.
-
Cannot make changes to the contents of this read-only folder
I recently got a new laptop and loaded Office 2013. We have three inboxes in Outlook and are using Cox IMAP. I get the following message when I try to delete emails from the primary inbox "Cannot make changes to the contents of this read-only
folder". Emails can be deleted from the other folders with no problem.
Does anyone know what could be causing this and how to fix it?Hi
As per the information and details provided by you, to solve the problem of Outlook inbox folder, please follow these steps: -
Step 1: - If you are unable to delete all emails from a given Outlook folder, most likely that folder is locked.
Restarting Windows should fix it.
Step 2: - If you are unable to delete only some emails, then your
Outlook data file might be corrupted.
Step 3: -
Empty your Deleted items mail folder, then try again to delete emails.
Step 4: -
Hard deletes the selected emails – While the emails are highlighted/selected, keep the
Shift key pressed and hit the Delete key.
Step 5: -
Restart Outlook in Safe Mode and try deleting the emails from there.
Step 6: -
Edit the culprit email (Actions > Edit Message), save it back and try to delete it.
I hope this information will be helpful for you.
Thanks and regards
Shweta@G -
Howto make created folders/ files from one teacher, read only for other teachers?
Hello there,
as an admin @ school I was wondering how to make created folders/ files from one teacher, read only for other teachers?
- In a 2008domain, created a group "teachers"
- created a folder "teacher data" where all teachers have read/write permissions
ideal,a teacher who make's a folder in "teacher data" should be the only oen who is able to add file's to that folder and dele that folder or files. Other teachers may be able to read the content of the folder.
Is this possible to set up and how?
many thanks.
Nico.
rdsHi Nico,
You could set the permissions below to resolve the issue:
For the root folder "teacher data": give the full control permission to CREATOR OWNER – "Subfolders and files only" and give the read/write permissions to the group "teachers"– "This folder only".
Best Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Make detail items in master/detail form read only
I want to make detail items in master/detail form read only for certain conditions (master STATUS = Closed). I see how to do this on the master record items but not on detail items.
Take a look at this thread: Re: Conditionally make a tabular form uneditable
You will need to modify the code, but it should help since a master detail is just a standard form with a tabular form attached to it..
Thank you,
Tony Miller
Webster, TX
Time flies like the wind, but fruit flies like bananas. -
Can I bring up siebel services while DB in read only / Standby Mode
Hi,
I am trying to bring up the siebel services while DB is in read only mode..
Can I bring up siebel services while DB in read only / Standby Mode ???Hi ,
Not sure. But I think you can, since bringing up the siebel service require some query from DB and some readings from the gateway.
Cheers -
Can we print header text in a tabular format...? urgent
Hi,
In the below program i need the text type payment history in a proper format.so plz help me regarding this.
this a just a test program,you just execute this program.its running.
i am feching the text payment history using the function module READ_TEXT.
GO TO (T.CODE IS VA42).-> GIVE A CONTARCT NUMBER THEN TEXT TYPE IS PAYMENT HISTORY. UNDER THIS TEXT TYPE WE HAVE ATEXT LIKE THIS:
Due date Invoice Amount Invoice no. Status Timing
8/1/2005 2,486.667.00 9887767798 Paid sept-Dec 05
12/1/2005 2,567,778.00 987662156 paid Jan-apr 06
i fectch all this by using read_text function module in the table t_item.(plz see in below program)
now the requirement is we want to print this payment history text as a proper format i.e in a tabular format...so is it possible....
actualy, we r not printing in the output screen.
we generate a flat file in this payment history is printed as a tabulr format.
can it is possible...if it plz reply me.
REPORT YTEST_ADD_DAYS_TO_DATE .
TABLES :tline.
TABLES :
vbrk,
vbrp,
vbpa,
kna1.
CONSTANTS :
c_re TYPE vbpa-parvw VALUE 'RE' . "Bill-to-Party
data: l_flag type c value cl_abap_char_utilities=>horizontal_tab.
*parameters: new_date type sy-datum.
data: timing type sy-datum.
*new_date = new_date + 31 .
*write: / new_date.
*CALL FUNCTION '/BEV4/PLPS__ADD_MONTH_TO_DATE'
EXPORTING
months = '01'
olddate = '20070101'
IMPORTING
NEWDATE = timing.
Write : / timing .
write: / sy-datum . .
CONSTANTS :
c_vbbk TYPE thead-tdobject VALUE 'VBBK' ,
c_zi03 TYPE thead-tdid VALUE 'ZI03' .
Types:
BEGIN OF ty_item ,
Pay_history(1000) TYPE c ,
END OF ty_item .
DATA :
t_item TYPE STANDARD TABLE OF ty_item ,
w_item TYPE ty_item ,
lt_item TYPE ty_item ,
t_tline TYPE STANDARD TABLE OF tline ,
w_tline TYPE tline ,
t_tlines TYPE STANDARD TABLE OF tline-tdline ,
w_tlines TYPE tline-tdline .
Type Definition *
Invoice header and item table
TYPES :
BEGIN OF ty_vbrk ,
vbeln TYPE vbrk-vbeln , " Billing Document
fkart TYPE vbrk-fkart , " Billing type
fkdat TYPE vbrk-fkdat , " Billing Date
zterm TYPE vbrk-zterm , " Payment key
netwr TYPE vbrk-netwr , " Amount due
END OF ty_vbrk ,
BEGIN OF ty_vbrp ,
vbeln TYPE vbrp-vbeln , "Billing Document
posnr TYPE vbrp-posnr ,
vgbel TYPE vbrp-vgbel ,
vgpos TYPE vbrp-vgpos ,
aubel TYPE vbrp-aubel , " Sales Document
aupos TYPE vbrp-aupos ,
matnr TYPE vbrp-matnr ,
arktx TYPE vbrp-arktx ,
END OF ty_vbrp ,
Partner table
BEGIN OF ty_vbpa ,
vbeln TYPE vbpa-vbeln , " Document#
posnr TYPE vbpa-posnr ,
parvw TYPE vbpa-parvw , " Partner funtion
kunnr TYPE vbpa-kunnr , " Customer#
END OF ty_vbpa ,
Customer master table
BEGIN OF ty_kna1 ,
kunnr TYPE kna1-kunnr ,
name1 TYPE kna1-name1 ,
ort01 TYPE kna1-ort01 ,
pstlz TYPE kna1-pstlz ,
regio TYPE kna1-regio ,
stras TYPE kna1-stras ,
END OF ty_kna1 ,
****Payment terms table
BEGIN OF ty_tvzbt ,
spras TYPE tvzbt-spras ,
zterm TYPE tvzbt-zterm ,
vtext TYPE tvzbt-vtext ,
END OF ty_tvzbt ,
BEGIN OF ty_t052 ,
zterm TYPE t052-zterm ,
ztag1 TYPE t052-ztag1 ,
END OF ty_t052 ,
****Document flow table
BEGIN OF ty_vbfa ,
vbelv TYPE vbfa-vbelv , " Contract number
posnv TYPE vbfa-posnv ,
vbeln TYPE vbfa-vbeln ,
posnn TYPE vbfa-posnn ,
vbtyp_n TYPE vbfa-vbtyp_n ,
END OF ty_vbfa,
***Contract Data table
BEGIN OF ty_veda ,
vbeln TYPE veda-vbeln ,
vposn TYPE veda-vposn ,
vbegdat TYPE veda-vbegdat ,
venddat TYPE veda-venddat ,
END OF ty_veda .
Data Declaration *
DATA :
t_vbrk TYPE STANDARD TABLE OF ty_vbrk ,
w_vbrk TYPE ty_vbrk ,
t_vbrp TYPE STANDARD TABLE OF ty_vbrp ,
w_vbrp TYPE ty_vbrp ,
t_vbpa TYPE STANDARD TABLE OF ty_vbpa ,
w_vbpa TYPE ty_vbpa ,
t_kna1 TYPE STANDARD TABLE OF ty_kna1 ,
w_kna1 TYPE ty_kna1 ,
t_tvzbt TYPE STANDARD TABLE OF ty_tvzbt ,
w_tvzbt TYPE ty_tvzbt ,
t_veda TYPE STANDARD TABLE OF ty_veda ,
w_veda TYPE ty_veda ,
t_vbfa TYPE STANDARD TABLE OF ty_vbfa ,
w_vbfa TYPE ty_vbfa ,
t_t052 TYPE STANDARD TABLE OF ty_t052 ,
w_t052 TYPE ty_t052 .
DATA :
ld_output TYPE btcxpm OCCURS 0 WITH HEADER LINE,
ld_status TYPE extcmdexex-status ," #EC NEEDED
w_underscore TYPE c VALUE '_' ,
doa0001(50) TYPE c . " Invoice Dataset
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_vbeln FOR vbrk-vbeln. "Billing Doc No
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkdat FOR vbrk-fkdat . "Billing Date
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkart FOR vbrk-fkart. " Invoive type
SELECTION-SCREEN END OF BLOCK blk1.
Start of initialization *
INITIALIZATION.
RANGES :
r_parvw FOR vbpa-parvw."Range table for partner function
CLEAR :
r_parvw .
r_parvw-sign = 'I'.
r_parvw-option ='EQ'.
r_parvw-low = c_re .
APPEND r_parvw .
End of Initialization *
START-OF-SELECTION .
SELECT vbeln
fkart
fkdat
zterm
netwr
FROM vbrk
INTO TABLE t_vbrk
WHERE vbeln IN s_vbeln
AND fkart IN r_fkart
AND fkdat IN s_fkdat .
IF t_vbrk[] IS INITIAL .
MESSAGE I005 .
EXIT .
ENDIF .
SELECT vbeln
parvw
kunnr
FROM vbpa
INTO TABLE t_vbpa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln
AND parvw IN r_parvw .
SELECT kunnr
name1
ort01
pstlz
regio
stras
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_vbpa
WHERE kunnr = t_vbpa-kunnr .
SORT t_kna1 BY kunnr .
DELETE ADJACENT DUPLICATES FROM t_kna1 .
SELECT spras
zterm
vtext
FROM tvzbt
INTO TABLE t_tvzbt
FOR ALL ENTRIES IN t_vbrk
WHERE spras = 'EN'
AND zterm = t_vbrk-zterm .
SELECT zterm
ztag1
FROM t052
INTO TABLE t_t052
FOR ALL ENTRIES IN t_vbrk
WHERE zterm = t_vbrk-zterm .
SELECT vbelv
posnv
vbeln
posnn
vbtyp_n
FROM vbfa
INTO TABLE t_vbfa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln .
AND vbtyp_n = 'M' .
SELECT vbeln
vposn
vbegdat
venddat
FROM veda
INTO TABLE t_veda
FOR ALL ENTRIES IN t_vbfa
WHERE vbeln = t_vbfa-vbelv .
AND vposn = t_vbfa-posnv .
data: w_name TYPE thead-tdname.
LOOP AT t_vbfa INTO w_vbfa .
w_name = w_vbfa-vbelv.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = c_zi03
language = sy-langu
name = w_name
object = c_vbbk
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = t_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5 .
LOOP AT t_tline INTO w_tline.
split w_tline-tdline at l_flag into table t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tlines .
APPEND w_item TO t_item .
write: / w_item.
ENDLOOP .
ENDIF .
ENDLOOP .
ENDLOOP .
SPLIT w_tline-tdline AT ',' INTO TABLE t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tline .
APPEND w_item TO t_item .
ENDLOOP .
ENDIF .
ENDLOOP .
write: / w_item.Hi,
Tcode SO10 can be used to attach standard text in sapscript.
For formatting, plz check the below link
Standard text editor SO10 -
Can we print header text in a tabular format
Hi,
In the below program i need the text type payment history in a proper format.so plz help me regarding this.
this a just a test program,you just execute this program.its running.
i am feching the text payment history using the function module READ_TEXT.
GO TO (T.CODE IS VA42).-> GIVE A CONTARCT NUMBER THEN TEXT TYPE IS PAYMENT HISTORY. UNDER THIS TEXT TYPE WE HAVE ATEXT LIKE THIS:
Due date Invoice Amount Invoice no. Status Timing
8/1/2005 2,486.667.00 9887767798 Paid sept-Dec 05
12/1/2005 2,567,778.00 987662156 paid Jan-apr 06
i fectch all this by using read_text function module in the table t_item.(plz see in below program)
now the requirement is we want to print this payment history text as a proper format i.e in a tabular format...so is it possible....
actualy, we r not printing in the output screen.
we generate a flat file in this payment history is printed as a tabulr format.
can it is possible...if it plz reply me.
REPORT YTEST_ADD_DAYS_TO_DATE .
TABLES :tline.
TABLES :
vbrk,
vbrp,
vbpa,
kna1.
CONSTANTS :
c_re TYPE vbpa-parvw VALUE 'RE' . "Bill-to-Party
data: l_flag type c value cl_abap_char_utilities=>horizontal_tab.
*parameters: new_date type sy-datum.
data: timing type sy-datum.
*new_date = new_date + 31 .
*write: / new_date.
*CALL FUNCTION '/BEV4/PLPS__ADD_MONTH_TO_DATE'
EXPORTING
months = '01'
olddate = '20070101'
IMPORTING
NEWDATE = timing.
Write : / timing .
write: / sy-datum . .
CONSTANTS :
c_vbbk TYPE thead-tdobject VALUE 'VBBK' ,
c_zi03 TYPE thead-tdid VALUE 'ZI03' .
Types:
BEGIN OF ty_item ,
Pay_history(1000) TYPE c ,
END OF ty_item .
DATA :
t_item TYPE STANDARD TABLE OF ty_item ,
w_item TYPE ty_item ,
lt_item TYPE ty_item ,
t_tline TYPE STANDARD TABLE OF tline ,
w_tline TYPE tline ,
t_tlines TYPE STANDARD TABLE OF tline-tdline ,
w_tlines TYPE tline-tdline .
Type Definition *
Invoice header and item table
TYPES :
BEGIN OF ty_vbrk ,
vbeln TYPE vbrk-vbeln , " Billing Document
fkart TYPE vbrk-fkart , " Billing type
fkdat TYPE vbrk-fkdat , " Billing Date
zterm TYPE vbrk-zterm , " Payment key
netwr TYPE vbrk-netwr , " Amount due
END OF ty_vbrk ,
BEGIN OF ty_vbrp ,
vbeln TYPE vbrp-vbeln , "Billing Document
posnr TYPE vbrp-posnr ,
vgbel TYPE vbrp-vgbel ,
vgpos TYPE vbrp-vgpos ,
aubel TYPE vbrp-aubel , " Sales Document
aupos TYPE vbrp-aupos ,
matnr TYPE vbrp-matnr ,
arktx TYPE vbrp-arktx ,
END OF ty_vbrp ,
Partner table
BEGIN OF ty_vbpa ,
vbeln TYPE vbpa-vbeln , " Document#
posnr TYPE vbpa-posnr ,
parvw TYPE vbpa-parvw , " Partner funtion
kunnr TYPE vbpa-kunnr , " Customer#
END OF ty_vbpa ,
Customer master table
BEGIN OF ty_kna1 ,
kunnr TYPE kna1-kunnr ,
name1 TYPE kna1-name1 ,
ort01 TYPE kna1-ort01 ,
pstlz TYPE kna1-pstlz ,
regio TYPE kna1-regio ,
stras TYPE kna1-stras ,
END OF ty_kna1 ,
****Payment terms table
BEGIN OF ty_tvzbt ,
spras TYPE tvzbt-spras ,
zterm TYPE tvzbt-zterm ,
vtext TYPE tvzbt-vtext ,
END OF ty_tvzbt ,
BEGIN OF ty_t052 ,
zterm TYPE t052-zterm ,
ztag1 TYPE t052-ztag1 ,
END OF ty_t052 ,
****Document flow table
BEGIN OF ty_vbfa ,
vbelv TYPE vbfa-vbelv , " Contract number
posnv TYPE vbfa-posnv ,
vbeln TYPE vbfa-vbeln ,
posnn TYPE vbfa-posnn ,
vbtyp_n TYPE vbfa-vbtyp_n ,
END OF ty_vbfa,
***Contract Data table
BEGIN OF ty_veda ,
vbeln TYPE veda-vbeln ,
vposn TYPE veda-vposn ,
vbegdat TYPE veda-vbegdat ,
venddat TYPE veda-venddat ,
END OF ty_veda .
Data Declaration *
DATA :
t_vbrk TYPE STANDARD TABLE OF ty_vbrk ,
w_vbrk TYPE ty_vbrk ,
t_vbrp TYPE STANDARD TABLE OF ty_vbrp ,
w_vbrp TYPE ty_vbrp ,
t_vbpa TYPE STANDARD TABLE OF ty_vbpa ,
w_vbpa TYPE ty_vbpa ,
t_kna1 TYPE STANDARD TABLE OF ty_kna1 ,
w_kna1 TYPE ty_kna1 ,
t_tvzbt TYPE STANDARD TABLE OF ty_tvzbt ,
w_tvzbt TYPE ty_tvzbt ,
t_veda TYPE STANDARD TABLE OF ty_veda ,
w_veda TYPE ty_veda ,
t_vbfa TYPE STANDARD TABLE OF ty_vbfa ,
w_vbfa TYPE ty_vbfa ,
t_t052 TYPE STANDARD TABLE OF ty_t052 ,
w_t052 TYPE ty_t052 .
DATA :
ld_output TYPE btcxpm OCCURS 0 WITH HEADER LINE,
ld_status TYPE extcmdexex-status ," #EC NEEDED
w_underscore TYPE c VALUE '_' ,
doa0001(50) TYPE c . " Invoice Dataset
Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_vbeln FOR vbrk-vbeln. "Billing Doc No
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkdat FOR vbrk-fkdat . "Billing Date
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_fkart FOR vbrk-fkart. " Invoive type
SELECTION-SCREEN END OF BLOCK blk1.
Start of initialization *
INITIALIZATION.
RANGES :
r_parvw FOR vbpa-parvw."Range table for partner function
CLEAR :
r_parvw .
r_parvw-sign = 'I'.
r_parvw-option ='EQ'.
r_parvw-low = c_re .
APPEND r_parvw .
End of Initialization *
START-OF-SELECTION .
SELECT vbeln
fkart
fkdat
zterm
netwr
FROM vbrk
INTO TABLE t_vbrk
WHERE vbeln IN s_vbeln
AND fkart IN r_fkart
AND fkdat IN s_fkdat .
IF t_vbrk[] IS INITIAL .
MESSAGE I005 .
EXIT .
ENDIF .
SELECT vbeln
parvw
kunnr
FROM vbpa
INTO TABLE t_vbpa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln
AND parvw IN r_parvw .
SELECT kunnr
name1
ort01
pstlz
regio
stras
FROM kna1
INTO TABLE t_kna1
FOR ALL ENTRIES IN t_vbpa
WHERE kunnr = t_vbpa-kunnr .
SORT t_kna1 BY kunnr .
DELETE ADJACENT DUPLICATES FROM t_kna1 .
SELECT spras
zterm
vtext
FROM tvzbt
INTO TABLE t_tvzbt
FOR ALL ENTRIES IN t_vbrk
WHERE spras = 'EN'
AND zterm = t_vbrk-zterm .
SELECT zterm
ztag1
FROM t052
INTO TABLE t_t052
FOR ALL ENTRIES IN t_vbrk
WHERE zterm = t_vbrk-zterm .
SELECT vbelv
posnv
vbeln
posnn
vbtyp_n
FROM vbfa
INTO TABLE t_vbfa
FOR ALL ENTRIES IN t_vbrk
WHERE vbeln = t_vbrk-vbeln .
AND vbtyp_n = 'M' .
SELECT vbeln
vposn
vbegdat
venddat
FROM veda
INTO TABLE t_veda
FOR ALL ENTRIES IN t_vbfa
WHERE vbeln = t_vbfa-vbelv .
AND vposn = t_vbfa-posnv .
data: w_name TYPE thead-tdname.
LOOP AT t_vbfa INTO w_vbfa .
w_name = w_vbfa-vbelv.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = c_zi03
language = sy-langu
name = w_name
object = c_vbbk
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = t_tline
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5 .
LOOP AT t_tline INTO w_tline.
split w_tline-tdline at l_flag into table t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tlines .
APPEND w_item TO t_item .
write: / w_item.
ENDLOOP .
ENDIF .
ENDLOOP .
ENDLOOP .
SPLIT w_tline-tdline AT ',' INTO TABLE t_tlines .
IF NOT t_tlines[] IS INITIAL .
LOOP AT t_tlines INTO w_tlines .
w_item-pay_history = w_tline .
APPEND w_item TO t_item .
ENDLOOP .
ENDIF .
ENDLOOP .
write: / w_item.Now answering newmacguru...
1. Why I want text to appear as an image?
Sometimes the graphical result is important. Most of the times, if you use a white or bright page background, what you see in iWeb is almost the same you see when browsing the page. No problem! But if the page background is black or dark, what you see when browsing the page can be different from what you see when developing the page with iWeb. And these differences can be important... Now if you tell iWeb to convert text to images, the result will be exactly the same you see in iWeb (the result you want).
Let me show you an example. This page was published with iWeb 1.0.1. In this case all text boxes were converted to images and the result you see is exactly what I want. Normally I choose opacity of 80% in the text color to reduce the contrast between text and background (this is the graphical result I most like):
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto101/
Now if you publish the page with iWeb 1.1.1/1.1.2 the result is the same for both, but different from the pages obtained with iWeb 1.0.1. I only get the result I want if the text is converted to an image (using shadow). You can also see that with a white background you get good results even if the text remains text:
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto111/
http://clientes.netvisao.pt/3ebt2006/iweb/TesteTexto112/
Thanks for the suggestion of the shadow. Sometimes using a non web safe font is not a solution, remember I want “that” graphical result...
2. Now, considering the search engines, I think I read in this forum that the search engines can do is work, even if text is converted to images, because the text still remains in the page (sorry I don’t remember where).
Sorry for my english...
Power Mac G4 - 867MHz Mac OS X (10.3.9) -
Hi, can anyone advise if standard SAP behaviour such that the billing header text is copy from SO instead of DO even though the same text id and access seq appears in SO and DO header yext control configuration as well? I found out this is bcos even i changed the value in the header text in the DO, the billing header text still takes from the SO for the same text id.
Thanks
PPHi, can u elaborate the second part? Even if i used another text id, it's still pointing to the text from the SO instead of the DO.
i tried using another access sequence based on the DO text id, but nothing comes out in the billing text.
Thanks
PP
Maybe you are looking for
-
How to remove magicjack plus osx 10.7.5
Hello, I am new to Mac and I am not a Unix system programmer. I purchased a MagicJack Plus for my sister and I set it up using my new iMac for her. Now I would like to remove the setup software from my iMac as I do not like to leave extraneous softwa
-
How to list the files I saved in //var/mobile/ApplicatiDocuments directory?
I want to list the JPG files in the directory of /var/mobile/Applications/XXXXXX/Documents. Have any API like [[NSBundle mainBundle] pathsForResourcesOfType:@"JPG" inDirectory:path]; to list the files? Thanks. Kevin.
-
Hello , Im having some problems submitting a pdf forms can someone tell me how to - tell adobe acrobat to send the form to a certain email address. I created a submit button with the parameters i thought would work , but it doesnt . -tell acrobat to
-
File Upload Download Application- Query cannot be parsed within the Builder
Posting for those who encounter this problem. In the section "Store the Document in a Custom Table", you will encounter a problem with the SQL: if ( :P2_FILE_NAME is not null ) then insert into file_subjects(id,NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE)
-
I've just bought an Iphone 5 - my first smartfone so all a bit new to me. I've downloaded an ring tone app from Itunes and sync my phone. The App shows up on the phone but I can't add the ring tones to the 'General' 'Sounds' area to select and link t