Erroneous Shipping Header Text in the Sales Order
Hi ,
We are facing one problem.Can you please help us..
We seemed to have a recurring issue in SAP Production wherein an erroneous shipping text and supply location header text
suddenly appears on the sales order header text. As of this stage, our interim solution is to manually clear the erroneous text via invoking
the SAVE_TEXT command directly in Production to clear out the text. The problem with this approach is that we are "reactive"
to the event meaning we only get to know of the issue after the National Order Centre reports the issue and by the time it reach
IT it already affected quite a few sales and stock transport orders.
I
a) an investigation to be conducted as to identify the root cause of this issue
b) permanent solution to be put in place to rectify the issue
here's the text ID that got affected
Text ID = Z022 (Shipping Text)
Text ID = Z029 (Supply Location)
Language = EN
Text Name = XXXXXXXXXX
Text Object = VBBK
a list of programs that calls SAVE_TEXT and updates
the above-mentioned text ID. We have gone through the SD user-exit MV45AFZZ.
The sample you see below is an STO. As you know the STO is created inside the sales user-exit and uses the
shipping instruction default from the originating sales order to pass on the text to the STO shipping text.
We are unable to re-create this issue so this sorts of adds a layer of complexity.
I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
Can you please help us where the text is exporting ..We need to find out the root cause of this issue and solution..
Thanks in advance.
Satish kumar.
I found SAPLSTXD memory id..It is importing from this id..But there is no export in the program..
Chances are it is set and exported at some point, then abandoned after processing for that document...it needs to be cleared probably, since your user is remaining in the same user context and therefore when another import is executed, the text stored there is brought in, even though not for that order/document....believe you'll find this is a programming error, need to export space or clear the ID after it is used...
Check the other MV45AFZ* objects also...MV45AFZZ is not the only SD user exit...look at the inlcudes (named like mv45afz* ) in SE80 for program SAPMV45A. I can't see SD (don't run at my employer), but you might also check copy requirements in transaction VOFM entries? Some of the SD wizards can advise on that part.
Try ABAP Scan program RSRSCAN1, probably as background job, if you don't find in MV45AFZ* members. Sorry, that's the old program (but it might find for you). Current version is program RPR_ABAP_SOURCE_SCAN.
Edited by: BreakPoint on Sep 22, 2010 4:16 PM
Similar Messages
-
How to restrict header text changes in sales order level
Dear Experts,
how to restrict header text changes in sales order level change mode
thanksHello Chandu,
how to restrict header text changes in sales order level change mode
In order to restrict changes to Sales Order Header Text, the appropriate User Exit would be USEREXIT_MOVE_FIELD_TO_TVCOM_H. With the help of ABAPer, you can include the simple logic on the basis of Header Text type such that whenever any changes are incurred on the Sales Order header text, updates would be prevented.
Please try out this approach and let us know your latest observation on this issue.
Regards,
Sarthak -
How to update the sales text in the Sales Order.
Dear all,
I want to Update the sales text in the Sales Order. I used the "CREATE_TEXT" but i couldn't update using it.
Can u please guide me, how to use the Function Module to update the sales Order line item text values.
Thank U
UwanthiHI
Check this link
User Exit to update Sales order text (Terms of delivery) on saving it
Regards,
Krishna -
How to find the text id for the text in the sales order
Hi all,
How to find the text id for the item-text in the sales order?
There are different Text available in the sales order under item like Warehouse instruction, CSR instruction...
I want to know the corresponding Text id for the text ELECTRONIC ORDER COMMENT.
Table TTXID contains the validation of the Text id.
Please help me in knowing the way to identify the text-id from the text list..
Thanks foryour help
Suresh KumarU can fetch the texts for the items using
Read_text.
Example:
g_f_tdname = xvttp-vbeln.
g_f_obj = p_obj.
g_f_langu = 'DE'.
REFRESH g_t_lines.
CLEAR g_t_lines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = p_var
language = g_f_langu
name = g_f_tdname
object = g_f_obj
TABLES
lines = g_t_lines
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 <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The Required fields are,
Text-id ,language,name,object.
Let me know if you further require help.
Regards -
Tree OOPS ALV - Need to display header & items of the sales order in oops
HI,
I need to display some of the header fields of the sales order & items in the oops alv, could you please let me know how to achieve this. I know FM - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' but how to achieve this through oops alv.
Thanksit is not possible with that function in OO .
you can try with class cl_salv_hierseq_table
Just check this Rich's article
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0f03986-046c-2910-a5aa-e5364e96ea2c
if you don't want that then you may have to use ALV tree. -
Modification of the ship to address in the sales order at item level
SAP ECC6
Sales order. Transaction code VA01/VA02
Creation/modification of the ship to address at item level/Allowed by SAP when sold to ≠ ship to/Impossible when
sold to = ship to
Hello All,
I would like to set up an enhancement on the sales order.
> What we want : we want to have the possibility to modify the ship to party address at item level. Indeed, we sometimes make slight modifications to address, such as adding the words "to the attention of"
> What we don’t want : create a new ship to, to take into account the address modification or manage this modification in an item text
> What SAP allows : At item level (as at header level) SAP allows you to modifiy the ship to address when the sold to ≠ ship to. BUT, SAP forbids the modification of the ship to address when the sold to = ship to
Is there a means on the customizing to authorize these modification address at item level each time the sold to = ship to ?
Many thanx
Best regards
Vincentsold to party=ship to party
goto item and tab partner
select partner function ship to party, again enter same code and press enter
now see item partner automaticlly selcted.
now double click on ship to party and change addrss etc accordingly.
Hii Vincent,
It is possible to change address of shipt to party at item level and it doest matter if sold to part & ship to party are same or different at header level.
Please see above images.
All you have to do is to select ship to party again in item tab-partners and enter code.
Please check item you are using is activated for business data.
Regards,
Nouman -
Copy header text of mult sales orders in a billing document
Hello Gurus,
My requirement is to pass the header text from Sales order to a Billing document.
However, if I create a billing document with reference to just one sales order, it is getting copied correctly in header text of a billing document.
In case of multiple sales orders for one billing document VF01, it copies header text elements of only first sales order, and not the other ones.
Kindly tell me how to copy the header texts of all the Sales Orders in a billing document.
Thanks....Use the user exit "RV60AFZC" to populate the header text.
Regards
Vinod -
Adding Variant in Header Level in the Sales Order
Field "Card Verification Value" (CVV) is part of the Standard from Support Package SAPKH47028 onwards. But if you like you can use a variant for screen SAPMV45A4440 and set
field "Card Verif.Code" to invisible in this variant.
This is the reply from SAP after implementing the new support pack. Now there is an additional field in VA01 that I am trying to remove.
I can add the variant in Table Settings but that is on Item Level in the Sales Order (VA01). How do I do it in Header Level?Hi,
Go to SHD0 ,write down the Transaction code , transaction variant then go to Tab " With Processing'.
Now you will be in T Code VA01 ,press enter and you will get all the variants maintained in Header Level.
Now you can activate / deactivate as per your requirement.
Best Regards,
Ankur -
Get Header Texts from a Sales Order when you push 'Save Button'
Hello,
I am developing a user exit run when you push 'Save' Button in Sales Document and I do not know how to retrieve current header texts.
I cannot access to database tables because they haven't been saved yet and I cannot the sales document number.
Does anyone have any ideas?
Many thanks!!Hi Fernando,
use the below sample code to get the run time header text.
write the below code in USEREXIT_SAVE_DOCUMENT_PREPARE.
DATA : begin of wa_tline,
tdformat like tline-tdformat,
tdline like tline-tdline,
end of wa_tline.
data it_tline like table of wa_tline.
data temp_vbeln(70) type c.
temp_vbeln = xvbak-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'Z053'
language = 'E'
name = temp_vbeln
object = 'VBBK'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
tables
lines = IT_TLINE
* 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 <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Thanks,
Sumanth P -
Remove Header text from a sales order, created with reference to quotation
Hi all,
I have a sales order(in VA01) which is created with reference to quotation (in VA21).
If header text (Notes for logistics, Note for responsible person, Header text Doc & Declaration) in texts tab is maintained in the quotation they are getting copied in Sales Order which is NOT the requirement.
I need suggestions on how to disable the text that is getting copied.
Any pointers would be of great help.
Regards,
Vamsee Priya.Hi Nilesh,
I created a routine in vofm and this solved my problem.
Now, I'm having a similar problem where I'm 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.
Also at the end of your previous mail, you are telling about SPRO - text assignment. Can you please let me know how to I should navigate to this text-assignment??
Thanks and Regards,
Vamsee Priya. -
Header text to be copied from the sales order to delivery
Hi Gurus,
I have a requirement in which header text "Customer order text " needs to be copied from the sales order to the delivery.After copying the text we need to print on the packing slip.
Can anyone advise me as how to copy the text from the sales order header to delivery and then print on the packing slip.
Thanks ,
Smitha.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 -
Copying text from CMIR (KNMT) to the Sales Order Line Item
We need to copy text from the CMIR (KNMT) to the Sales Order Line Item with two steps in the access sequence. First to look up by the Ship to Partner Function. If doesn't exist, then look up by Sold to Partner Function. Have setup a new text id (ZPRN), a new access seq (9011). The access seq has one seq =5 for KNMT, ZPRN, all languages and that saves fine. When I set the Partner Function to be SH. I get the following error msg:
"The Language does not come from the partner function AG for MVKE".
Any ideas? This access seq does not reference MVKE. It only references KNMT.
Thanks!Hi Lisa,
Just stumbled on this post, as I am searching for something similar.
What you are attempting to do isn't possible in config.
This is because as standard Customer Material Info Records are not even considered for ship-to party in the sales order.
They work for sold-to only.
Therefore, this funny error message is SAP's way of saying, "Why are you trying to enter a partner here, because the data is determined for sold to only?"
You can change this with development for other fields (ie, to determine delivery plant, tolerances etc at ship-to) by using
the exit MV45AFZB with the USEREXIT_CUST_MATERIAL_READ form.
However, even if you do this, Text Determination is still sold-to only and still doesn't behave.
I am currently looking myself for a solution for this problem and I will let you know what I find.
Cheers
Chris -
Multiple ship to party address default setting in the " sales order creat
we use the SAP ECC 6.0,
I've a problem about the "ship to party" in the sales order creation,
the customer have 3 ship to party,
the pop up "Partner selection", default show is: "Title" , "Name1"....
But I want to default to show the "Street"
I check the sap notes: 302835, and add the "SD_VARIANT_MAINTAIN" = A in my user profile.
But seems can't working,
when click the right mouse button. A menu can't displayed.
Does anyone have the experience, Thanks.It seems so strange ...
First of all you need to set the ALV administrator parameter among the parameters of your user-id
System-> User Profile> Own Data> Parameters
add the parameter "SD_VARIANT_MAINTAIN" = A in your user profile and SAVE
After that, execute VA01 again; when the ship to party selection pop-up appears, place your cursor at a point on the screen and just the hotspot appears , click with the right mouse button in order to open the context menu.
The "Administration" function would serve only to set the default display variant; the functions "Current Layout", "Save Layout" allow you to create the variant with the needed fields (the popup is an ALV .... )
Try to execute the described steps and give us asap a feedback...
Regards,
Andrea -
Ship-to address overwritten in sales order/delivery
Hello,
We have a peculiar problem in our production.
Our user created a sales order, then two deliveries out of this order. No PGI had been done and the ship-to code in the SO/deliveries was not changed.
The user then changed the ship-to address in one of the deliveries. The address in the other delivery was overwritten with the same address and so was the ship-to address in the sales order.
Any idea what went wrong?
We tested this in our test environment and there was no such problem.As per my knowledge by changing the address in SO or delivery does not impact any where. Usally we change the address in partners tab at header level by double clicking on the code. If client required any specific address ( not CMR ) in excise output or commercial output this new address we can get by making some changes in smart form and print it out.
Regards
Jagan -
Changing ship to party address in sales order
Hi All,
We have a scenario herein in sales order, the ship to party address is copied from some other ship to party address. Put simply if the ship to party in sales order 1 is A, the address of A will be copied from ship to party B. The ship to party B is in sales order 2. The ship to party in sales order 1 will remain A only but the address is copied from B ship to address
i just need to know where this kind of development must have been done. i.e the include program, exit etc.
i am trying to see exit EXIT_SAPLV09A_001, but i could not see it in se38?
regards
sachinHi,
In first place why you want to have such a requirement. Why can't you have the correct address in the Ship to Party master record in the XD01 and assign correct ship to party at the sales order line item, so that correct address flows to the sales order line item.
Eg:
Sold to Party A
Ship to Party A & Ship to Party B (Both are assigned in the Partner tab of Sold to Party A)
Ship to Party A has Address A & Ship to Party B has Address B (Ship to Party B was created with Account Group SHIP TO)
On the sales order line item, change the ship to party to Ship to Party B
So that you have correct address in the relevant line item.
As per your requirement, you have to have a Z table to keep the logic between hip to Party & relevant address.
If not, check below link for all User Exits in SD>
https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
Find a correct one for your requirement.
Best regards,
Anupa
Maybe you are looking for
-
Development- InfoCube on Attributes in Solution Manager
Hi everyone, I am new to development in BI as a whole but I have a question... I am trying to create an InfoCube (than query) that will generate a list of the attributes of documentation in Solution Manager. Does anyone know if this is possible or n
-
Lack of BT Sport Support - passed around for three...
Hi All I have been activated as a BT Sport customer, so why won't it work on my system? I registered a call to BT on Wednesday of this week, having made sure my card had been acivated, apparently though as an Infinity user I don't need a card for th
-
How do i enlarge album artwork in iTunes 11
How do I enlarge album artwork in iTunes 11?
-
Finding the right keyframe in canvas
When doing a keyframed animation for individual glyphs, it seems to be very difficult to move the last keyframe in canvas. When trying to move it, the playhead in timeline jumps two or three keyframes backwards. Which means that the place that I poin
-
Hi, Please let me know in which table i can find the parked line items which are deleted. Thanks, Sri.