Header Text of Invoice
Hi All,
I need to retireve the Header text of Sales orders.
I am able to fetch the Text using READ_TEXT Function module with proper import parameters.
My requirement is to display such header texts against each sales order. If a particular sales order is not having any header texts, the ALV report should display blank column.
But now, if a sales Order is not maintained with header text, the report is displaying the Function Module's error.
How to avoid Function Module's error in such scenarios...???
Its very much urgent.......... Your help is sinceerely apprciated....
Regards
Pavan
Hi Pavan,
normaly your can catch the error by check the field sy-subrc after function call. You must activate the Exeptions if you call the function. After returning from the FM you check the field sy-subrc <> 0. In this case you clear the ALV-Grid field in the other case you fill the header text in the ALV-Grid field.
Regards
Dirk
Similar Messages
-
Routine for copying sales order header text to invoice
Hi friends,
My requirement is to copy header texts from sales orders when creating an invoice (VF01). In T-Code VOTX the system suggests two routines :
1 - DATEN_KOPIEREN_01 include LV45TE01
2 - DATEN_KOPIEREN_02 include LV45TE02
Does anyone already use one of these routines? When invoicing more than one sales order does the routines work fot this case ?
Best Regards.Hello.
.....goto transaction VOFM
Menue: Copying requirements -> Billing documents
...or maybe: Data transfer -> Billing documents
Put a break-point and the header routine......for long-text you should use transaction VOTXN
Edited by: Erik Hoven on Feb 24, 2009 12:28 PM -
How to change the header text on output type in sapscript
Dear All,
In the sapscript, I would like to changes the header text from invoice number to sales number on the output type z001.
Could someone can guide me?
Thanks.Hi,
Please go through following link :
http://forums.adobe.com/thread/870081#870081
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com -
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 -
Copying Shipment texts to Invoice texts
Hi
We are in ECC6.0 and are facing the following issue: We want to copy Shipment header texts to Invoice header texts. However, we are unable to define the acc seq in VOTXN since text object VTTK is not available in table RVTXOBJ
We tried finding where this table is used and couldnt come up with any way of creating entries in this table
My questions are: Is it advisable to add object VTTK to add this table and use acc seq to achieve the above. If so, using which program/ txn can we populate new entries in table RVTXOBJ
TIA
rgdsShipment is not involved in the billing process. Therefore, in standard SAP the texts can only be copied from the sales documents or a delivery to the invoice. I'd recommend to maintain the texts on deliveries instead of the shipments. Otherwise you'll most likely have to write your own program to copy the texts to the invoice.
There is another, easier, option though. If you don't have to store the shipment texts on the invoice, but just need to print them on a form, then consider adding the texts in the form itself. -
Reg sales order Header text VA01/VA02
Hi,
In VA01/VA02 ..
From menu bar
Goto -> Header -> Texts
In this texts tabstrip left side Form header, Header note1, Header note2 & Geo transmit status
These 4 elements are there.
Now the above 4 elements r working if u r double clicking on them, then u can enter the text.
but my requirement is that should work even if u press single click also...
How to achieve it..
Thanks in advance..
VRHi venkat,
can you please address my problem, as u got same problem like me... below is the details ...
I am facing some problem during the recording of hader text.. Details given below...
I need to do this by using BDC...
 VA01 Steps as follows:
1. Open VA01
o Enter G2 or L2 order Type
o Enter 9991 for Sales Org
o Enter 01 for Dist Channel
o Enter 99 for Division
2. Enter Customer SAP # from spreadsheet to ship to and sold to
(Enter some appropriate number)
3. Enter Material Code from spreadsheet to Material
(Enter some appropriate number)
4. Enter target quantity as 1
5. Enter Billing date as system date
6. Go to Sales Tab
7. Select Blank for billing block
8. Enter order reason 013 for G2 type or 012 for L2
9. Goto Header, Texts, Choose Invoice header text
10. Enter SVB# from file as well as Quarter Text from file in notes
11. Save
this is want i need to do in order to create invoice serivce request by using BDC.
I can able to get the fields till 8 th point ( i can able to write the program ), but from the 9 th point i m facing the problem..
Bcz it just i need to enter some text here..( may be it's bcz of click )
This is could not able to do it , can you please help me how can i do this ?
Please let me know if i m not clear with my explanation...
Looking forward for your response...
Regards,
Suresh... -
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. -
Print Invoice Header Text In Main Window of Smartforms
Helo Gurus !!!
I want to print Invoice header text in main window of smartform.
There are total 5 columns.
Item Quantity Description UnitPrice Amount
Now what I want is to print header text below Description column, there is a loop on the table in main window.
This header text will be printed only once. This is a standard header text
How to get this?
Points are assured !!!Hi Anay Kulkarni,
I understood that u need to print this header text
Item Quantity Description UnitPrice Amount
So please use TABLE instead of LOOP in the table we can prin header, main area, footer.
place the header text in header area in table... i am sure this can resolve it.....
feel free to contact me if issue is not resolved/.....
dont forget to reward points....
all the best...
Regards,
Sreeniasa Sarma K. -
Header text to get copied from order to Invoice
Hi,
we are creating an Invoice(through transaction VF01) giving the delivery document number and document type (Invoice F2).
we are maintaining Header text in Order through which the above mentioned delivery document number is created and this header text should get copied in the Invoice.
For this, I went into Transaction VOTXN, from there selected billing header, from here kept a break point for the routine BEDINGUNG_PRUEFEN_001 through which the text will get copied.
Now, when I'm creating the Invoice this routine is getting executed, but still the text is not getting copied.
Any pointers on this would be of great help.
Thanks and Regards,
Vamsee Priya.Maintain the Text ID @ Sales Documnet Header level and add it to your Text Procedure. Also ensure you assign the access sequence to your Text ID in your procedure.
Access Seuquence should have VBBK and the text ID number and check All Languages and use Requirement 1.
Then in the Delivery Header Text Procudure add this text ID and assign the same access sequence as above.
This will copy the Text ID from Sales Order to Delivery Order Header.
You can configure the output for packing slipduring the delivery process and in the output program read this Text ID and print it.
Note" Copy Controls do not copy text from preceeding documents to succeeding documents. Only the Access Sequences used in the Text Procedure will do that with the help of the reuqirement assigned in the same.
Thanks and Hope this helps.
Sai -
Invoice List Header text disabled (VF22) and note 357732 missing
1. Can any body please let me know the Invoice List text Determination? Presently, My Invoice list screen is showing the Header text tab is disable, if possible please let me know how to do enable so that I can enter into the Text.
2. I checked SAP Note # 943390. But this note has link to note 357732 which does not exist.
Please let me know if any work around.
Thanks in advance.Hi Laxmipathi sir,
as you said i went in the bussiness area account assignment and checked it and foound that the Sales area, distributin channel and division are assiogned to rule called 003 -Buss Area Det.from sales org/dist.channel item div.
but there are other two.which were not assigned.
001-buss area det.from plant/dividion(T134G)
002-buss area det.from Sales area (TVTA).
so do you think this is the reason it is not picking it up in the invoice list,
i have discussed with one of the SD person here he said even though you don't assign them it shoudn't bother because the buss area is getting picked in invoice
so could you please tell me what should i ask that person or what i have to tell them about this.
thanks
Jay -
Hi,
Can any body please let me know the Invoice List text Determination? Presently, My Invoice list screen is showing the Header text tab is disable, if possible please let me know how to do enable so that I can enter into the Text.
Thanks & Regards,
SachinPlease check whether the Text Procedure attached to Invoice List document type has any Text IDs in them (Transaction Code: VOTXN).
-
How to find out, whether any invoice is having header text or not.
HI all,
How to find out, whether any invoice is having header text or not. wheich table we have to refer.
Thanks
mahaboobHi,
You need to use FM READ_TEXT.
First you have to determine what text Object/ID/Language you want to read (you can have N text objects for an invoice header).
The easiest way to do this is to have an example document with the text you want to read.
For example in VF03.
1-Goto->Header->Header Texts.
2-Click on the text you want to read
3-Double click on the text (Right side box) This will take you
4-Goto->Header
This will give you the data you need to use in the READ_TEXT F.M. -
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 -
How can I list the head texts or texts of position of the invoices created
hello experts
I have a consultation.
how can I list the head texts or texts of position of the invoices created in module sap SD?
Up to now I can see them visualizing the document SD for transaction VF03, but I need to see a listing of invoices and don't unite in one.
he/she would thank their collaboration.
greetings,
Jorge SilvaDear Jorge,
You can use T-Code VF05 or VF05N to generate list of Invoices with range of selection criterias...
The concerned tables for the same are VBRK & VBRP.
Let us know should you require any further help..
Hope this helps...
Give points if useful..
Thanks,
Jignesh Mehta -
Order header text needs to be copied to Invoice Header text
Dear All,
i am putting some header text in the sales order,i want the same to be copied to the invoice header text,pls guide how to do the same as soon as possible.
Regards,
AKDDear AKD,
If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
When you want to copy the Text from Sales order to delivery the Access sequence will place a role
Through VOTXN you need to do the Text determination settings to the Sales order header,delivery header and invoice header.
If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
I hope this will help you,
Regards,
Murali.
Maybe you are looking for
-
i damaged my iphone 5 and have been sent a new one, but i do not have enough storage to back up my phone and do not want to pay for more storage. can i get all of my contacts, photos, etc. on my new phone just by logging into my icloud account?
-
Can anyone help me with iPod/iTunes syncing problems after recent software update?
Hi there, I wonder if anyone can help me. Last week I updated my iPod to the latest software (8.2). Today I deleted some albums from iTunes and added a few others. I also made some changes to a few of my playlists. I then synched iTunes and my iP
-
Android remote iTunes app no longer works after 10.5.2 upgrade.
Until the 10.5.2 iTunes update, I was able to use the Android app, Remote for iTunes, to enable my Android tabs to control iTunes on my Windows 7 machine. After this upgrade, my tablets no longer show up as "devices" in iTunes. Am I the only one to
-
I had turned on Find my iphone almost an hour after it was stolen, but it didnt have data service active when it was stolen (cus I always used wifi), any location was shown, so i decided to turn it off, a message told me that if i deleted the iphone
-
Installing Windows XP sans Bootcamp error
I have a MacBook Pro running OSX 10.9.1, but I miss all my old games I used to play, so I tried partitioning the harddrive and installing Windows XP on the other half. I did this before on my old MacBook, but that was 4 years ago, and now bootcamp wo