Customer Hierarchy Determination in Sales Order Header
Hello Gurus,
I am trying to determine how the customer hierarchy is being determined in the sales order for our instance of SAP. I can see 1D..1H get populated as partners so five levels are being bought in with 1H being the highest. The confusing part is how come 1A..1C is not being populated with any data. Wouldnt the system start at 1A and populate to 1E the five levels. Instead the partners for hierarchy are starting at 1D. How does the system not populate 1A as start point? Is each hierarchy nodes somehow linked to 1A..1H?
Did the hierarchy been assigned in t.code OVH4? If not, assign and test by creating a new sales document.
Regards,
Similar Messages
-
Customer not determine in sales order
Hi all,
While i'm creating sales order,i'm getting error like "no customer exit for sold to party 7000000" . Please sort out my problem as soon as possible. I have checked entire partner determination procedure. There all setting is fine.
Thanks & regards
keshavHi,
while u r creating partner determination procedure there don't copy partner functions use standard functions like sp,bp.py sh.
then in partner functions in procedure step use standard functions with ur partner procedure....
then account group -functions assignment step also use standard functions....then ur problem is going to solve..
thanks
Mohan -
Automated Custom Delivery Block on Sales Order Header
Hi Experts,
Please advise how to add Custom Delivery Block and assign to Header Level Configuration (take note configuration). Please, I know the table TVLSP and TVLS but I don't know how to modify them. I know also how to develop and assign the value to User-Exit. However, the existing Delivery Blocks are not approriate so I need to create a new Delivery Block (as maintained in TVLS). And also it is not possible to change only VBAK-LIFSK in user-exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT_PREPARE) as written in SAP quote:
"The delivery block at header level is only effective if this block is assigned to the corresponding delivery type in the Customzing table (TVLSP). Regardless of the settings in Customizing, the delivery block is always effective at schedule line level."
Please advise if this is possible to configure.
Thanks a lot for your answers!
Edited by: Cecilio Cruz II on Jan 10, 2011 10:32 AMHi,
You can try creating the block in SPRO >> Logistics Execution >> Shipping >> Deliveries >> Define reasons for Blocking in Shipping >> deliveries : Blocking reasons / Criteria
and Delivery Blocks.
In the first one, you create your delivery blocks and in the second you assign them to deliveries. They are created in table TVLSP.
Hope this helps
Regards,
Mukund S -
Subsinvprocess in the sales order header --- billing tab and in the custom
Hello All
there is a field SubsInvProcess in sales order header - billing- tab and in the customer master - billing tab
what was the functionality of this field. I never worked with it
kindly help on this one.
Thanks,
prasadDear Vara prasad,
The value of this field is if you want to print the invoices that are being posted manually you can activate this field.
It will be directly proposed from customer master to sales document, where you can change.
Please let me know if you want any further clarifications.
Please go through this thread also for further reference.
Clarification for usage of Subsequent Invoice Processing in Customer Master
Thanks&Regards
Raghu.k -
Hi,
Can somebody explain the Use of customer group 1, 2 , 3, 4, 5 in Sales order Header ? Is it only meant for reporting?
ThanksTry:
Sales and Distribution -> Master Data -> Business Partners -> Customers -> Sales -> Maintain reserve fields in customer master
Help to this topic says:
There are reserve fields in the customer master record which are not used in the standard system. They are available for use and are as follows:
Customer group 1 (View: V_TVV1 Field:KVGR1)
Customer group 2 (View: V_TVV2 Field:KVGR2)
Customer group 3 (View: V_TVV3 Field:KVGR3)
Customer group 4 (View: V_TVV4 Field:KVGR4)
Customer group 5 (View: V_TVV5 Field:KVGR5)
You can find the fields in the customer master record under the sales and distribution data in Sales. Choose additional data under Environment.
It is advisable to change the field description (Data elements KVGR1 to KVGR5).
This is described in the system modifications in the Reserve fields unit of the customer master record:
Reserve Fields in Customer Master
Record
In this step you maintain the valid entries for the individual views.
Did this help you?
Greetings
Martin -
Customer PO from sales Order Header
I want to get the customer PO(VBKD-bstkd) from Order header, Iam trying with the following select but it doesnt work. any suggestions, or code snippet help?
SELECT SINGLE bstkd INTO rt_outtab-bstkd
FROM vbkd WHERE vbeln = rt_outtab-vbeln
AND posnr = '000000'.
Thanks
SPHi,
Please check my last reply to your earlier post..It was working fine for me..
Check this link for the lastest reply of mine..
Adding Field to the output of the Report
Thanks,
Naren -
How to determine a change to a Sales Order Header Text?
Hi All,
Is it possible to compare text entered on a Sales Order Header with what was stored previously?
I know I can use READ_TEXT to retrieve previously stored text but how do I compare with what was entered at VA02?
I'm at VA02, I'm selectin 1 line item. then I'll go to menu Goto->Header->Additional Data B -> Text tab.
when i click save..how do I compare the text entered with what was stored previously?
Any ideas? thanks alot....its kinda urgent.
Message was edited by:
Slow ABAPerHi
Try this in a exit:
TABLES: STXH.
DATA: T_LINES LIKE STANDARD TABLE OF TLINE,
T_OLD_LINES LIKE STANDARD TABLE OF TLINE.
* Read current text
STXH-TDOBJECT = <OBJECT>
STXH-TDNAME = VBAK-VBELN.
STXH-TDID = <ID>.
STXH-TDSPRAS = <LANGUAGE>.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
ID = STXH-TDID
LANGUAGE = STXH-TDSPRAS
NAME = STXH-TDNAME
OBJECT = STXH-TDOBJECT
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER =
TABLES
LINES = 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.
* Read the old text (before saving)
DATA: BEGIN OF STXL_ID,
TDOBJECT LIKE STXL-TDOBJECT,
TDNAME LIKE STXL-TDNAME,
TDID LIKE STXL-TDID,
TDSPRAS LIKE STXL-TDSPRAS,
END OF STXL_ID.
STXL_ID-TDOBJECT = STXH-TDOBJECT.
STXL_ID-TDNAME = STXH-TDNAME.
STXL_ID-TDID = STXH-TDID.
STXL_ID-TDSPRAS = STXH-TDSPRAS.
IMPORT TLINE TO T_OLD_LINES
FROM DATABASE STXL(TX)
CLIENT SY-MANDT
ID STXL_ID.
IF T_OLD_LINES[] <> T_LINES[].
* A change was made
ENDIF.
ENDIF.
Max -
Customer not displyed in sales order
Hi all,
I'm facing problem with customer not displyed in sales order. While i'm creating sales order sold to party and ship to party fields both are grey mode ( fileds are not accepting any values). I set up partner detemination procedure for customer, sales header and item level. I don't know where i did wrong . Please solve my problem as early as possible.
Thanks & regards
KesavDear Kesav,
Did you assign Partner procedure to sales document header??
Please do this Go to SPRO>SD>Basic Functions>Partner Determination>Set Up Partner Determination-->Set Up Partner Determination for Sales Document Header
Here select the Procedure and then click on Partner Determination Procedure Assignment and assign procedure to sales document type.
Thanks,
Raja -
Partner determination for sales doc header
Dear all
I assigned 2 SH to 1SP in customer master but in sales order system allowing manually to select any SH which is not assigned to SP.
waiting ur replyHi Lucky,
To map your requirement please use the following path:
IMG> Sales and Distribution> Basic Functions > Partner Determination> Set Up Partner Determination--> Select (Set Up Partner Determination for Sales Document Header). Here Select the Standard order & select Partner function in Procedure. Here against Ship-to-party Line you can see the ORIGINAL TABLE coloumn Here select "C" - Partner function from customer master (table KNVP).
By doing the above settings the system will allow only partners from Customer master records.
Hope this works for you.
REWARD if it helps you!!
Regards,
Ajinkya -
User exits for route determination in Sales order & Deliver creation
Hi Gurus,
I need to do some change in the route determination for both sales order & Delivery creation.
Can anyone suggest me which user exit I have to use.
Appropriate answers will be awarded.Hi,
You can use the following exit for route determination - EXIT_SAPL0VRF_001.
The FM documentation is below. Check the functionality:
"The customer exit can be used for customer-specific route determination or to modify the inbound data for the company's own route determination.
The following data is transferred to support customer-specific route determination:
I_VBAK current order header (for route determination in sales order)
I_VBKD order business data (for route determination in sales order)
I_VBAP current order item (for route determination in sales order)
I_VBPA current sales partner
I_LIKP current delivery header (for route determination in delivery)
The following data can be modified and transferred back to the standard route determination or used for a specific route determination:
C_ALAND Country of departure
C_AZONE Departure zone
C_LLAND Destination country
C_LZONE Receiving zone
C_VSBED Shipping condition
C_TRAGR Transportation group
C_GRULG Weight group
C_FLAG_GEN_VT Flag: Route determination with generic shipping
requirements/transportation group.
C_FLAG_INCR_GRULG Flag: Increase weight group if no route
If you want to use a standard route determination with different parameters, trigger the exception 'CONTINUE_WITH_STANDARD'.
In the log table C_PROT, the log data from the customer-specific route determination can be transferred back. In this case, the log entries always refer to customer-specific messages. To add a message to the log table, the function module SD_ROUTE_DET_LOG can be used (see below).
If a route is determined in the customer-specific route-determination, it can be transferred back in the E_ROUTE field. If no route was found, the exception 'NO_ROUTE_FOUND' is to be triggered."
Thanks. -
Route determination during sales order creation!
Hello all,
I am having a problem with route determination in sales order. The issue is when I remove delivery block (LIFSK) on the sales order and select 'under minimun' in orther reason (AUGRU)field, the route is not getting determined when the partner at the header level is changed.
When if there is a delivery block and other reason is empy, the route is correctly determined when the partner (intermediate consignee) is changed.
Why is it behaving this way? Any siggestions?
Thanks,
Message was edited by:
Naren SomenHello all,
Looks like if there is credit block for a customer, the sales order is not getting updated. Is there anyway to get around this?
Thanks, -
VA01 Sales order - Header-- Accounting tab need to add a field
Dear All,
The requirement is,
1. I need to add a field in Sales order.
Path for the same is as follows:
VA01> Goto> Header--> Accounting tab
2. The field will be a date field that needs to calculate date on.
a)create a new field. ex - zchdt (chq due date)
b)when customers enters value in Assignment,
i.e vbak-zuonr
after that trigger logic is
3.vabk-kunnr = knvv-kunnr
a)sy-date + knvv-kvgr2 (exclude sundays)
example - 14 sept + 30 days = 14th october
should populate value - 14th october i.e. field (zchdt)
4. This activity needs to be triggered before the sales order is saved.
kindly know whether this is possible or not.
if possible how & which exit & also with example code.
if you could give me your contact(cell no).
Regards,
Nagendra D.S.
Mobile - +91 9819899082Hi All,
VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
when customer enters value in Assignment i.e zuonr & after that trigger logic is
1. vbak-kunnr = knvv-kunnr
2. sysdat + knvv-kvgr2 (exclude sundays)
example - 16 sept + 30days = 16 oct
in field zchdt value 16 oct as to populate
Pls help me in the code.
Regards
Nagendra -
How to update TEXT in Sales order header
Hello ,
I have requirement in which I am creating SO via IDOC calling BAPI_SALESORDER_CREATEFROMDAT2.
Question: Can any one help me in finding a solution to update the TEXT in sales order header which is confogured IN TEXT CONTROL in SD.
I have tried various option using CREATE_TEXT but it is only updating STXH table , the text is not coming in the sales order.
If someone knows about this , <removed by moderator>.
Edited by: Thomas Zloch on Nov 15, 2010 4:20 PM - please do assign priorities > normalSounds like a text determination config issue - have you assigned the text in VOTXN? Have you run the text determination analysis from VA02 in the document?
-
Storage location determination at Sales Order
Dear All,
Could we storage location determine at sales order level ?
As per my requirement. Stock is available a particular plant example below
Plant
Storage Loc
Stock Available
Batch
1305
1300
10
1000190
1305
1300
10
1000890
Got order from customer is 15 Quantities and the sale order is confirmed because stock is available but at the time of delivery storage location is determined on the particular material so batch is picked automatically on base quantity other other is showing open. So could u plz give me solution for storage location determination on sales order level.
Thank You!
ChakradharaBeing an old member of the forum, I dont want to highlight the importance of adhering to forum rules. This topic has been discussed many times here and if you search in SCN or Google it, you would accept this has been discussed many times. Please adhere to forum rules and avoid posting such repeated queries.
G. Lakshmipathi -
Partner determination functions are not determine in sales order
Dear Sap Gurus,
I have made a new partner function (P2) and have been configure it in partner determination procedure, although i hv made new customer master for the same account group. All th partner function are showing in the customer master data but these are not determine in sales order, one error is coming...this partner procedure is not defined.......kindly give me advide how to resolve this problem.
Regards
Parul DeshwalHi
Have you assigned the Partner determination procedure to your sales document type?
Also have you assigned the Partner function to your Partner determination procedure.
Also do the same to the sales order item partner determination
regards
Prashanth
Maybe you are looking for
-
Swing application with network event handling
Hello, hope this is the right place for this post. I'm the design phase of a client application in java which talks to a remote server written in C via sockets. I have a design problem: I want my Swing app to have a GUI with buttons and all for norma
-
What works in 2008R2 is not working in 2012 SP1
Setup: Visual studio 2010 and 2012. Database: both 2008R2 and 2012 SP1 Issue: I have a CLR routine that does bulk update. I have trigger on the tables that are being updated. Using the same code and the same data, This bulk update query works in 2008
-
Hello everybody, I am working on uploading file from page to another one using HTP package, but whenever I submit the form, it only takes the filename without the full path. for example : if i sent 'c:\dir\a.txt' , the other page receives file parame
-
Hi , how do i find and remove duplicate videos and photos on my ipad2 , please help
Hello , i have an apple ipad 2 , and iphone 4s and 5s . I have transferred all videos and photos on both these phones to the ipad to make space on my iphones. I have no doubt that there is now multiple duplicates on my ipad . How can i find and remov
-
JDBC receiver MS SQL Server encryptation
Hi all, I have to configure a communication channel from a PI 7.0 to MS SQL Server 2005 database to execute updates. I have already deployed the com.microsoft.sqlserver.jdbc.SQLServerDriver driver. I have been asked whether SSL encryptation can be us