Header Text in Billing Document MANDATORY
HI Gurus,
Can you please let me know if we can make the Header text field in the Billing Document---> Header Level as mandatory. Is there any possibility to do that or not?
Thankyou,
Rakesh Tummala.
Hi,
Goto the Transaction code VOTXN and select the SALES DOCUMENT HEADER radio button
and goto the change mode inthe application tool bar
Choose your text determination procedure as defined for Header
and in the TEXT IDs in the text procedure in the control tab choose your TEXT ID and maintain the TEXT AS OBLIGATORY
save it and now create the sales order and check the text .
hope it clarifies your requirement
thanks
santosh
Similar Messages
-
Transfer document header text from billing document to FI document
Dear all,
Where do I specify that the document header text out of the billing document should be transferred to the corresponding FI document?
Currently, the FI document header text (BKPF-BKTXT) remeans blank after transfer from billing document. We need this field to be filled in, but I haven't found how to have this filled in.
In copy control from sales doc to billing doc, there is the possibility to transfer the Reference number & Assignment, but nothing about document header texts.
Some say that it would only be possible via coding, but anybody has any idea if it might be possible via standard SAP?
Many thanks!
Best regardsHi,
We also had a bit same requirement, which is to copy the billing header text to FI item text (BSEG-SGTXT). The solution we took is to use FI Substitution (t-code GGB1), so that every time a FI document created from SD... the substitution reads the billing header text and put it in the FI item text. I think the same method could be used for FI header text (BKPF-BKTXT). Below is the solution for your reference.
Prerequisite:
Document Type = 'RV' AND Reference <> '' AND
( Transaction code = 'VF01' OR Transaction code = 'VF02' OR
Transaction code = 'VF03' )
Substitution:
Using exit which coding is as below.
*& Form u900
Copy Billing Header Text to SGTXT
-->P_SGTXT FI Item Text
FORM u900 USING p_sgtxt TYPE bseg-sgtxt.
DATA: lv_name TYPE thead-tdname,
lt_line TYPE STANDARD TABLE OF tline,
lw_line TYPE tline.
lv_name = bkpf-xblnr.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = 'Z001'
language = sy-langu
name = lv_name
object = 'VBBK'
TABLES
lines = lt_line[]
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc EQ 0.
READ TABLE lt_line
INTO lw_line
INDEX 1.
In Billing Header Text, the sign '&' (ampersand) is automatically
added some characters so it becomes '<(>&<)>'.
The logic below is to fix that issue.
REPLACE ALL OCCURRENCES OF '<(>' IN lw_line-tdline WITH space.
REPLACE ALL OCCURRENCES OF '<)>' IN lw_line-tdline WITH space.
p_sgtxt = lw_line-tdline.
ENDIF.
ENDFORM.
Regards,
Teddy Kurniawan -
Copying header text from Billing document to Accounting document
Hi
I have created a new text id in billing document using VOTXN, is it possbile to copy the header text maintained here to an accounting document field -> doc header text or any other text field when the billing document will get posted to accounting.
Please guide.
Thanks,
VaishnaviHi,
with a substitution (GGB1) for FI document header (BKPF-BKTXT) it can be possible. A user exit is required in the substitution to read the SD table.
Regards,
Joosz -
Tables where header text of sale document and bill document is stored
dear all,
i need a table and field in which header text of sale docu is stored .i need to print a text entered by user at the tie of vf01 .
so plz tell me the table and way how to print that text in print of invoice
if any function is there for that please also tell me
waiting for positive response
regards & thanksTake a look at OSS <a href="hhttps://service.sap.com/sap/support/notes/600408">Note 600408 - Smart Forms: header texts and item texts</a>, it may be useful for you
<i>Symptom
The system does not print header texts and item texts of the billing document in the Smart Form standard form LB_BIL_INVOICE.
Other terms
SMARTFORMS, print, text, completion note, invoice
Solution
The following solution describes how to include a 'header note' on header level and an 'item note' on item level in the form.
If you want to insert other texts into your form, you must adjust the access key (text name, text object, text ID) which you create under point 4 or 11 correspondingly.
The formatting characteristics of the text are transferred from the billing document to the output. That is, you can change the character format only in the document.
to correct the form, proceed as follows:
1. Display form LB_BIL_INVOICE in the change mode of Transaction SMARTFORMS.
2. Expand the navigation tree on the left side and choose the following path: 'Pages and Windows -> FIRST -> MAIN'.
3. After text node TITLEINVOICEDETAILS, insert text node HDTEXT with description 'Header text'.
4. Maintain the general attributes of this node as follows:
o Text Type: Include Text
o Text Name:
o Text Object: VBBK
o Text ID: 0001
o Language:
o No error if no text exists: X
5. Create the following variable under 'Global Definitions':
Variable name Reference type
GD_IT_TXT_KEY TYPE TDOBNAME
6. Choose the following path: 'Pages and Windows -> FIRST -> MAIN -> TABLEITEM'. Expand the 'TABLEITEM' table node.
7. Below the 'TABLEITEM' node (after node IT_REFVG2_COL2_A), insert program line node ITEM_TEXT_KEY with description 'Key for item text'.
8. Maintain the following parameters for the node:
o Input parameter: GS_IT_GEN
o Output parameter: GD_IT_TXT_KEY
9. Insert the following program lines:
clear gd_it_txt_key.
move gs_it_gen-bil_number to gd_it_txt_key.
move gs_it_gen-itm_number to gd_it_txt_key+10.
10. After the new program line node ITEM_TEXT_KEY, insert text node ITEM_TEXT with description 'Item text'.
11. Maintain the following general attributes of the node:
o Text Type: Include Text
o Text Name:
o Text Object: VBBP
o Text ID: 0002
o Language:
o No error if no text exists: X
12. Make the following settings under 'Output Options':
o New Line: X
o Line Type: IT_DESC
o New Cell: X, 1 Skip Cells
13. Activate your form.</i>
Regards -
How to check if a user fills a header text in billing invoice
Hi everybody and thanks in advance.
My consultant wants to oblige all users to fill a header text when they create the billing invoice (vf01).
I was looking for several user exits when I can manage this requisite.
My problem is that when the user creates the invoice and push save button, I try to look for in the table STXH if the user created the header text. But I have not found anything, because the invoice has not created yet.
Only when the billing invoice has saved, the header text is stored in the table STXH.
I has been trying to find a structure wich contains the header data like xvbrk contains the data about type of invoice, etc.
I have studied this user exits:
userexit_number_range (module pool saplv60A, program rv60afzz)
userexit_account_prep_komkcv (same module)
userexit_account_prep_kompcv (same module)
userexit_fill_vbrk_vbrp (same module)
v60A0001 (Customer functions in the billing document).
My question is: In which structure is the header text of billing invoice manage before push the save button?
If I knew where it is, I could manage the data and check if the user filled the header text.
Thank you very much, and sorry for my pour English.David,
Place this code into USEREXIT_NUMBER_RANGE:
DATA: CATALOG LIKE TCATALOG OCCURS 0 WITH HEADER LINE,
MEMORY_ID(30).
data: c_MEMORY_ID(30) VALUE 'SAPLSTXD'.
DATA l_head type THEAD.
DATA wa_head type THEAD.
data: l_lines type table of TLine.
data: l_line type TLine.
DATA l_CATALOG type TCATALOG.
IMPORT CATALOG FROM MEMORY ID 'SAPLSTXD'.
loop at catalog into l_catalog.
if l_catalog-IS_REFTEXT is initial
and l_catalog-keep is initial.
concatenate c_memory_id l_catalog-id into memory_id.
import thead to l_head
tline to l_lines
from memory id memory_id.
loop at l_lines into l_line.
message i000(zz) with l_line-TDLINE.
endloop.
endif.
endloop.
It will expose the text entered into the text ids in a message box (for now). You will want to replace the MESSAGE statement with your own logic.
You may also need to change the message numver/class from ZZ - as seen here "message i000(zz) with l_line-TDLINE." with an appropriate message on your system.
DON'T forget those points. -
Hi All,
In the Accounting Document of Intercompany Invoice (Document Type- V1-Inter-com AP Invoice) ,Header text is getting copied from Header Text of Invoice Documents (Where ever the Text is maintained -for any text type/ID).
How can we stop flow of Header Text from Invoice to Accounting Document as the Text entered by Delivering Company is featuring in the Accounting Documents of Ordering Company.
Thanks in Advance.
Regards,
VikasHello Amit,
you could use the user exit to write the code to populate the information in the accouitng document
the exit is EXIT_SAPLV60B_001
through this, the billing document will always carry the value that you want , even if this is created manually also and not through bdc
Hope this helps
Thanks
akasha -
How we will maintian Header Text in Purchase Order Mandatory?
Dear All,
How we will maintian Header Text in Purchase Order Mandatory?Please suggest a Solution..
Thanks,
Rajuhi
in standard it is not posible u need to use User exit: EXIT_SAPMM06E_012 of enhancement MM06E005. check details with ABAPer
Vishal... -
Printing of header text msgof billing doc in Invoice.
Hello Gurus,
Goodevening,
I have requirement from client.
This is the requirement ,
He will give the text in billing docment header in billing document but when takes the invoice the header text to be printed in invoice.
Is it possible ? looking for your inputs
Thanks & Regards
Venkat.
Edited by: K.Venkata Chalapathi on Jul 15, 2010 5:08 PMHiii
Billing Header text can be print in your billing document, If it is developed smartform then you can take the help the ABAPer to print the text. For the same you have to create the text ID whichever you want to print in smart form then ABAPer will mapped the ID in his smartfrom on required place.
Regards
Shambhu Sarkar -
Text in Billing document should determine into output
Dear Friends,
Help me to determine billing document item text into printout as a line item description.
My Scenario is:
Generally in printout item description is determined.But i need to determine the billing item text as a item description.
Thanks in advance,
Regards,
RaviHi Ravi
If you want the billing item text as item description then you have to take your ABAP team help and ask your ABAP team to include the logic that billing item text has to come as item description As these changes can be done in the Smartforms.
Also give NAST, STXFTXT tables which may help your ABAP team
Regards
Srinath -
Change Item Text and Header Text in Posting Document
Hi Experts,
When Travel Document is posted in FInance -
i) Document Header is blank.
ii) and Item Text is *Trip from 01.09.08 To 01.09.08 to Mumbai
I want to change the Header Text with Expense Schema and Item text with Schema and additional Text.
Regards,
Kamal Rawalhi,
There is a BADI available for the same.
BADI definition name: TRIP_POST_FI
Thanks,
Rajkumar.S -
Carry text from billing document to the accounting document items
Hi,
We have a requirement where we want to post text to the line items in the accounting document generated from a billing document. Can someone help please!! Can this text be created from the billing document itself??
Thanks!
Regards,
AngadIt says OTX3 does not exist. We are on R/3 4.7.
Edit: Is t.code VOTXN what you are talking about?
Regards,
Angad
Edited by: Angad Nagpal on May 28, 2009 11:40 AM -
How to copy MIRO header text to account document line item automatically
HI Experts,
I really need your help or advices , my question is as follows, thanks.
After goods receipt , I do invoice verification at t-code MIRO , and it'll produce an account document by system.
at MIRO, I key in the purchasement description on the header text column (INVFO-SGTXT) ,
and after posting , the header text only appear in account document's account payable item ,
it's blank in GR/IR and tax item.
How to do could let the GR/IR and tax item have the header text too at column BSEG-SGTXT which produced by system?
p.s.
I have try to use BADI: AC_DOCUMENT , Method: CHANGE_AFTER_CHECK
and declare a couple of parameters to check the value, as follows
DATA: WA_HEADER TYPE ACCHD,
WA_ITEM TYPE ACC_DOCUMENT-ITEM,
WA_ITEM_AMOUNTS TYPE ACC_DOCUMENT-ITEM_AMOUNTS.
WA_HEADER = IM_DOCUMENT-HEADER.
WA_ITEM = IM_DOCUMENT-ITEM.
WA_ITEM_AMOUNTS = IM_DOCUMENT-ITEM_AMOUNTS.
but, in the parameters , I don't see any column to access INVFO-SGTXT value.....
Thanks a lot in advanced.
Best Regards,
YacoaHI SAPFICO,
Thanks for your advice,
I have follow the link , and create an function model named ZSAMPLE_INTERFACE_00001025(copy from SAMPLE_INTERFACE_00001025),
and also run the setting in FIBF....
I write some code in my function , as follows, but it doesn't work after I do MIRO
and it's still blank of the account document's line item.
p.s. even make a breakpoint at the function , it doesn't stop and stay at the breakpoint when I execute MIRO, so werid....
FUNCTION ZSAMPLE_INTERFACE_00001025.
""區域介面:
*" IMPORTING
*" VALUE(I_BKDF) LIKE BKDF STRUCTURE BKDF OPTIONAL
*" TABLES
*" T_AUSZ1 STRUCTURE AUSZ1 OPTIONAL
*" T_AUSZ2 STRUCTURE AUSZ2 OPTIONAL
*" T_AUSZ3 STRUCTURE AUSZ_CLR OPTIONAL
*" T_BKP1 STRUCTURE BKP1
*" T_BKPF STRUCTURE BKPF
*" T_BSEC STRUCTURE BSEC
*" T_BSED STRUCTURE BSED
*" T_BSEG STRUCTURE BSEG
*" T_BSET STRUCTURE BSET
*" T_BSEU STRUCTURE BSEU OPTIONAL
DATA: C_SGTXT TYPE BSEG-SGTXT.
IF SY-TCODE = 'MIRO'.
READ TABLE T_BSEG INDEX 1.
C_SGTXT = T_BSEG-SGTXT.
LOOP AT T_BSEG.
IF T_BSEG-SGTXT IS INITIAL.
T_BSEG-SGTXT = C_SGTXT.
MODIFY T_BSEG.
ENDIF.
ENDLOOP.
ENDIF.
ENDFUNCTION.
Edited by: Yacoa Chen on Mar 30, 2011 9:54 AM -
Hi Friends,
Where can I set that the texts in the billing document are determined from the corresponding delivery document and not from the sales order?
Thanks in advanceIn the IMG under Sales and Distribution -> Billing -> Billing Documents -> Define Billing types (transaction VOFA) you can set the 'Delivery text' indicator for the corresponding billing type.
With this assignment the texts of the billing document are determined from the appropriate delivery and not from the order.
Please check and advise whether it is working -
Temporary text on billing document and delivery
Dear all,
I have the following question:
Is it possible to add a temporary text on the billing doc and delivery doc? For example:
'Closed between Christmas & New year'
thanks,
Tonhi,
goto VOTXN t.code and configure a text as Christmas. at the delivery and invoice level enter the required greetings against this text id and you will get the same printed on your delivery and invoice doc's. Take the help of your abaper to capture that text into the required output types.
regards -
hi,
I had to prepare report but not able to find the details .
Header text of billing document like truck no , gr no . in which table we can found
plz do help me .
thanks for earlier reply.Hi Suresh,
You can find the assosciated text table for any table by going to :
<b>SE11->Goto->Text table</b>
In this case, if you know the table for truck no and gr no, you can find the corresponding text tables in the above mentioned way,
Hope this helps.
Regards
Anil Madhavan
Maybe you are looking for
-
Issue with product tops not moving after Upgrade Filesystem installed
All: I have just installed the R12 tech stack and db in preparation for the upgrade. After this is completed it (rapidwiz) creates an environment file in $APPL_TOP. My issue is that some of the products, based on this environment file, still point to
-
PLS_INTEGER v/s Other Numbers ?
Hi Gurus. Following is a excert from Doc. "When you need to declare an integer variable, use the datatype PLS_INTEGER, which is the most efficient numeric type. That is because PLS_INTEGER values require less storage than INTEGER or NUMBER values, wh
-
Middle part of the trackpad isn't working
Hi, So earlier, I dropped ONE drop of water on my trackpad, and now the middle part, around a centimeter and a half, doesn't work. For example, if I drag my finger from the top to the bottom of the trackpad, the pointer would go down, then stop at th
-
How to put "flats" in sheet music
I am new to working with any sheet music and GB. I am trying to take shhet music that has already been written, and put it into GB so I can play it. What is stopping me is tha the sheet music is annotated with a number of "flats" prior to the time
-
I am trying to install Adobe Premiere Elements 13. File seems to download okay, but when I click on the executable, the program gets hung up. (Windows message: "non-responsive".) I've tried this a number of times, rebooted, etc. and have had no suc