Brazil: Copy Transfer Order header text to Nota Fiscal
Good morning, all!
The company I work for has a process in which certain non-retail goods are transferred from one store (or distribution center) to another. The transfer order is created in ME27. After that, the user creates a shipping document and executes the Post Goods Issue in VL02N. This creates a material document, the number of which movement automatically creates a Brazilian Nota Fiscal.
We want to know how we might configure the system so that a header text in the shipping document or in the transfer order may be copied to the header text of the nota fiscal.
Any suggestions?
Thanks.
That space is specifically about the process of sending the invoices to the government electronically (e-invoicing or NFe in portuguese).
The functional process leading to the creation of the NF/invoice is either MM-related (if it's a purchase invoice) or SD (if it's a sales invoice). The transfer of invoice header text to the NF object (J1B3N) is specific to the Brazilian Localization of ERP.
Blake Matthews,
if you have someone from your Brazilian team, you can ask them to create a question in Portuguese in this space: Aplicações do SAP Business Suite (SAP Business Suite Applications).
Best regards,
Henrique.
Similar Messages
-
System should Not copy sales order header text
Hi all,
My requirement is system should not copy sales order header text while copying sales order to sales order with same order type.
for example i have order type OR - standard type with 500 line items with reference to that same sales order we are creating another order with same line 500 line items,but requirement is system should not copy source document header text in to target document header text,
Do you have any standard functionality to avoid this or we need to go exit
Regards
NishadHi,
You can do it via standard SAP configuration.
Transaction VOTXN.
In the access sequence you have the corresponding Text ID added with "Text Object" VBBK. That's the reason why you are copying text.
Change the entry.
Check below link on how exactly to do that. This doc says about how to copy customer text to the sales order. But procedure is same for you as well. Just the object is different.
[Text type config|http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html]
Hope it helps!
Best regards,
Rahal -
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 -
Third Party : Sales order Header text should copy to PO Header text
Hi,
I need to copy sales order header text to PO Header text
in the third Party sales order scenario.
Can anybody suggest how to do it.
Thanx in advance.
Regards,
RRS.I doupt that this is possible without using a user exit.
The 3rd sales order will create a PR, the PR has no header text (just a header note = internal use), the PO is created in reference to the PR. And it is not possible to copy PR header text to PO header text. -
Sales Header Text copy to Delivery Header Text
Hello,
We want to copy sales order header text to delivery header text.
We already did the configuration VOTXN in DEV client and it is working.
When transported to QA client, we're not able to copy sales order header text to delivery header text. It is still saying Access Sequence missing. Checked the configuration in QA, and the access sequence is there attached to the Text Field.
What else could have been missing?Hello,
Have you created Sales order Header Text by using transaction SO10.
if Yes,then Run the program 'RSTXTRAN' and attach the Text object to your TR.
Then Transport this Text to Quality.
There will be 2 workbench request and 2 Cutomising request.
Please take care of Sequence in order to move it to QAS(As per Condition Technique Determination)
Revert if not resolved.
Regards
Amit -
Transfer of Header text from Sales Order to Delivery
Hi Experts,
I had a requirement to populate Terms of delivery text in Sales Order Header text with some predefined value which I have accomplished using MV45AFZB - User Exit USEREXIT_CHECK_VBAP which transfers the text on save of the document to sales order header (terms of Delivery Text ) .
Now the issue is the same text is required to be copied to delivery - Terms of Delivery header Text. But this is not happening/Its occuring one out of 4 times . I am not able to find out the reason for this.
Please help in this regard.
ThanksThis can be set in conifugration. Transaction VOTXN. The delivery header text can be set to be referenced from the sales order.
-
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. -
Copying Purchase requisition header text to Purchase order.
Hi Experts,
Can you suggest me a way to copy purchase requisition header text to purchase order?
Best Regards,
ShailendraHi
PR header text cannot be copied to PO ....... its std SAP .... reason being many PR can be copied to same PO .... so how to decide which PR header text to be copied to the PO .... ??? -
Update Sale Order Header Text through Enhancement
Hi Experts,
I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save action is completed.
But I need to just fill the header text and that has to be saved during the save action only.
I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
Is there any user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
Thanks in advance
SathishHi Brad Bohn,
My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
Kindly Let me Know any thing could be done for this scenario.
Thanks in advance
Sathish -
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 -
Bdc for sales order header text
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesHi,
Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
CREATE_TEXT.
Here giving sample code. This code is written for Material master text. You change this code according to your requirement
REPORT ZMM_INSERT_LONGTEXT.
*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
* This routine used to create text in MM02 transaction
* Passed the parameter w_grun to P_C_GRUN
* and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
* SAVE_DIRECT = 'X'
* FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text*&---------------------------------------------------------------------*
*& Form upload_file
* This routine is used to upload file
* No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
* CODEPAGE = ' '
* FILENAME = ' '
FILETYPE = 'DAT'
* ITEM = ' '
* FILEMASK_MASK = ' '
* FILEMASK_TEXT = ' '
* FILETYPE_NO_CHANGE = ' '
* FILEMASK_ALL = ' '
* FILETYPE_NO_SHOW = ' '
* LINE_EXIT = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* SILENT = 'S'
* IMPORTING
* FILESIZE =
* CANCEL =
* ACT_FILENAME =
* ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
* This routine places the text in MM02 transaction
* No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext -
Error with sales order header text
Hi All,
I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I just moved them to Test system. I created a sales order by using the IDOC. I tried to go to order header texts and it is giving me the error saying 'Error in opening text file'.
"The SD_WORD_PROCESSING function module is for creating the "Maintain Text" dialog box. You have called up the function module with the wrong values so it is not possible to edit text properly.
Check the parameters for the SD_WORD_PROCESSING_PUT function module."
Please help me to solve this issue.
Thanks,
Veni.Hi Naren,
I was just checking my Transport organizer and found that there is one customizing request which is still in modifiable mode, not released yet. It is related to Access Sequence for text id's. I forgot to move this, is this the one causing the error.
Thanks,
Veni.
5 View Cluster Maintenance: Data
5 VC_SHPH
5 TTXERN
400VBBK BZ20021009
400VBBK BZ20022010
400VBBK BZ20023011
5 IMG Activity Define Text Types
5 View Cluster Maintenance: Data
5 VC_ORDH
5 TTXERN
400VBBK AZ10021009
400VBBK AZ10022010
400VBBK AZ10023011
4 TTXZ
4 TTXZT -
Hi All,
I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I moved them to Test system.
In Test system I checked the header texts, only the following text id's are comming. They do not have any data and remaining textid's are not comming.
DEV
Form Header
Header note 1
Header note 2
Shipping instructions EN
SAC code C000
SAC code I410
SAC code E740
Carrier requested by customer
PST EN
PED EN
ZTR EN
TEST
PST
PED
ZTR
I went to VOTXN and checked sales order header texts -> Textprocedure -> Z1-Order Text Procedure, Text Id's in this procedure, I see 11 ID's there in Dev and in test system I see only PST, PED and ZTR. I created these three in text object VBBK sales docu header. It is working fine in Dev and when I move these to Test system only these 3 id's are showing up. I wrote the code for this in ZXVEDU06. How come the remaining Id's are not showing here and values are not comming for these 3 Text Id's.
Can Someone please help me with this.
Thanks,
Veni.Hi Bhasker and Bill,
Thankyou for your valuable information.
Bhasker, I added all texts again and trasported. Now in test system I can see all of them.
I commented out all the code in ZXVEDU06 and created a sales order, as you said it picked up all the texts automaticaaly. This is the first time I am doing this work, so by someone's suggestion in SDN I created the include and wrote the code in ZXVEDU06.
It is working fine for this customer but if I try to create sales orders for other customers then I am getting the following error.
I/O error for text VBBK 0023 EN
I/O error for text &1 &2 &3 &4
Message no. TD607
Diagnosis
You want to read a text from the database, delete it, or save it to the database.
System Response
An error occurred when the database was accessed.
Procedure
Try repeating the procedure. If the error recurs, contact your system administrator.
Can someone please help me with this problem.
Thanks,
Veni. -
PM Order header text need to be transfered to PR header text.
Hi All
We have a requirement where PM Order header text need to be transfered to PR header text.
I went through this [LINK|Re: PR Header Text from PM Order] but couldn't get any solution for the same.
Please let me know if this is feasible or not.
Thanks in advance.
HarshThanks for your response Ocean.
A sample code will be really helpful here. Basically I am looking into parameters to pass to READ_TEXT while deriving PM Order header text.
Thanks in advance.
Harsh
Edited by: Harsh Talesra on Oct 20, 2011 5:27 AM -
Header text is not changing when ship to party has changed
Hello Team,
I am facing one issue when ship to party has changed in sales order the header text is not re determining automatically,
I have read some posts and found that using standard its not possible we need to write enhancement for that.
I have written below code to change the header text but facing some issues, can you please help me on to resolve this issues.
I am calling 'RV_TEXT_COPY' FM inside the include FV45PFAP_VBAP_FUELLEN_TEXTE ,
then its saving header text correctly, but this include is calling whenever I click on Header Text tab,
if suppose if I am changing ship to party and I am not clicking on Header Text tab then this FM will not call this is an issue
and one more issue is even in screen data is changing after calling RV_TEXT_COPY FM
but STXH table is not updating, its updating the first value when we created the order.
Can any one tell me how to solve this issue, Thanks in advance!Hi Mac,
I think the following user exits can help you. In the Include MV45AFZZ use the below exit points,
1) USEREXIT_MOVE_FIELD_TO_VBKD
2) USEREXIT_SAVE_DOCUMENT_PREPARE
try to write your code logic here.
Regards,
Satish
Maybe you are looking for
-
Second hand 15 inch powerbook advice
Got offered a second hand 15 inch g4 powerbook, 3 months old for US$1300 from a guy i know that uses it for business and did not need it. I think its the 1.5gig model. Anyhow, is there anything i should be aware of for this model second hand? Is the
-
Time Machine Backing up more data than I actually have
I have approximately 280 gigs of stuff on my hard drive. I have attempted to use TM to back up everything to a 1TB external hard drive multiple times. I let it back up overnight. When I come to the office in the morning it will say something like: "7
-
Linux Oracle8.1.7 can't create a database
I'm trying to install Oracle Enterprise R8.1.7 on Linux. I've found Miracle Linux (it's "made" for running Oracle on Linux), it's a Japanese distribution. http://www.miraclelinux.com/ Everything works perfect until I get to the point where I have to
-
Hi, I have SP 2013, and it was working properly. and workflows send emails perfectly. yesterday, i decided to build a fresh site collection so i deleted the old one and created a new one. now, workflows are unable to send emails. i'm sure it has noth
-
Hi, We are trying to migrate UIX pages in our application to JSP pages. We will be keeping out service layer same but, just wanted to replace UIX page with JSP. Can someone guide me to useful information for this migration ? like ...is there any plug