Sales order Payment term modify Userexit
Hi Experts,
I am working on sales order VBKD modify userexit, in this based on customer, customer group & one maintained z field from MARA they created Ztable to pick Payment term.
For line item which doesn't have payment term (KONP-ZTERM) at condition record (XKOMV), I have to pick from Ztable & update header payment term (line item 000000).
This was working fine but problem arise for couple of material, inside userexit when line item is coming XKOMV is not filled inside userexit. when this should possible?
Points will be rewarded.
Thanks,
When the payment term is changed in the Sales Order level it DOES NOT change the BP's default payment terms.
Ans 2: only for the present Order
Ans 4: The payment term setting at the order level is only for exception where someone authorized can change it at the order level. If you prefer not to let the user change the payment term at the Sales Order level then you can manage this through Authorizations
Nothing at the document level will change the MASTER. Only changes made at the Master level are permanent from that point on.
Similar Messages
-
Sales Order 'Payment Terms' conversion error after 8.8 Upgrade
Hello All,
We recently upgraded from 2007A PL49 to 8.8.
The Installation went smooth, until we opened up our first new Sales Order. We are getting the SQL error listed below each time we open up the sales order module. This doesnt prevent us from adding a new Sales Order, but the fact that it throws the error each time we open the module is scary.
Any ideas as to what might have changed from PL49 to cause this?
Error:
1). [Microsoft][SQL Native Client][SQL Server]Error converting data type nvarchar to numeric.
'Payment Terms' (OCTG)
Thanks,
MattHi,
Can you check wether there is any formatted search involved in the Sales Order?
You can also check Note No. : 1402855. Check if it helps.
Kind Regards,
Jitin
SAP Business One Forum Team -
Different field mode(display/change) in sales order payment terms (VA02)
Hello All,
In the VA02 transaction, when we are changing the sales orders, in the billing document of that material shows different modes for different fields.
VA02->DOUBLE CLICK ON THE MATERIAL->BILLING DOCUMENT->FIELD PAYMENT TERMS.
For some orders, field is in display mode and for some orders, it is in changeable mode.
Could anyone please let me know about this..?
thanks and regards,
MERVINDear Jignesh
As you would be aware Payment Terms will flow in SO both at header level and at item level.
So in order to control the item level changes, go to VOV7, select the item category and untick the box [Business Item] By doing so, whatever header level datas flows into SO, that will be copied to item level also and you will be controlling the changes at item level and end users cannot make changes at item level.
Now you have to control at header level for which you have to apply User exits in the program MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK
thanks
G. Lakshmipathi -
Block sales order - payment terms
Hi Experts,
have a scenario, where we have to block the sales order if the payment terms has exceeded w.r.t to individual division. say for eg: customer "A" sales area 1000/10/01 - payment term - immediate
sales area 1000/10/02 - payment term - within 30 days. have maintained diff payment terms sales area wise in customer master. but still sales order is created without block. have defined credit limit as well and clicked on "blocked" as well. Pls help this on priority.
Rgds,
Anitha JHi friends,
got the answer after lot of R&D. in the configuration, automatic credit control, if critical fields is checkd, then it allows to create the sales order and delivery, but doesn't allow to do PGI, which is what is required. so customer cannot receive goods in future, once its blocked.
thanks everybody and spl thanks to hans as he is the only person to respond. Thanks a lot!!!!!!!!!!
Rgds,
Anitha J
closing the thread -
Hi All:
When the Sales Order is created with reference to the quote, the payment terms should be determined and defaulted from the Customer master and not from the quote.
They have changed the Customer Master Payment terms in the mean time.If i create a Sale Order w.r.t Quotation the older Payment terms comes from the Quote. But they need to take a new payment terms from the customer master(KNVV-ZTERM).
i have found that one BADI: BADI_SD_V46H0001
Package: VA
But it did not work.since it is not checked as " Multiple Use " and it has already an implementation .
And the I have also found a Enhancement: V46H0001
Package: VA
We have also verified this Enhancement which contains two Exitu2019s 1. EXIT_SAPLV46H_001
2. EXIT_SAPLV46H_002
These Exits are not triggering when we create the sales document with respect to Quotation.
Please throw some light on it...
Thanks,
VenkyHi,
When the Sales Order is created with reference to the quote, the payment terms should be determined and defaulted from the Customer master and not from the quote.
I guess the Customer numbers on the Quotation and the Sales order would be the same while creating the SO with ref to Quotation ? So the data will be picked up appropriately.
regards,
Advait -
Error while updating Sales Order : Another user Modified Table (RDR1 )
Hi All,
I am getting an error message while running the following steps.
Steps
1) Pull an entry from sales order.
2) Add new data to line.
3) Update the sales order.
a) Sap updated the data.
b) Through code using DI API we updated some UDF.
4) With out closing / Pressing OK button
5) We added new data to line.
6) Then Press update.
An Error will through by B1 as Another user modified the table(RDR1 ). Before going to the code where we are handling the update of UDF.
But after the 3rd step above when we do
4) Close the window or pressed ok
5) take the sales order window again pull the data
6) Add new Data to line.
7) Update sales order then it will go smoothly.(Updating by B1 and from code )
Can anybody tell me why this happens?And any workarounds to solve this?
Deepeshare u adding a matrix row thru the code? I get this error when I am adding rows and I get the rownumber out of sync.
if so get the max (lineid) from rdr1 and then check against the matrix.rowcount before adding a row. if lineid is greater that matrix.rowcount take lineid + 1 and assign it to the matrix.row, else take the rowcount + 1
if not, and as a workaround, then you can try using the SBO_SP_transactionnotification stored procedure. -
Payment Terms modified in Vendor master data
Hi,
I feel enduser have modified the payment terms in the vendor master data. kindly let me know how to check which user have modified.
Rdgshi SAPFICO,
GO to FB03 and Select the document number and Go to the Menu
ENVOIRNMENT--> Document Changes here you can see who has changed the document and also the date....
Hope this will helps u...
Cheers
Ranjit -
Liquidity forecast - purchase order payment terms
Dear Experts, I have the following issue,
We are using liquidity forecast, but we are having a problem because the system does not take into account when a Purchase Order is created with Installment Payment Conditions. The Liquidity Forecast shows the Planning Date equal to Delivery Date of the Purchase Order, not taking into account the division of the payment term and the days of delay of every partial payment. I would like to know if there is workaround for this issue.
Best regards.Hi Cristobal,
The splitting of payment commitmentment accrding to the instalment dates are not possible. However it is possible to have the first instalment payment date instead of delivery date. But for this the Payment Term definition should take the baseline date as any of the 3 defaults possible ( Doc date/Posting date/Entry date). That means it should not be "No Default".
Below reproduction from note 497381:
"In the installment payment terms, you can enter 'Fixed day' and 'Additional months' for the calculation of a baseline date. In this case, the system updates the entire payment commitment as at the calculated baseline date (fixed day and additional months)."
Please try this and also share your results with us
Shony -
User Exit to update Sales order text (Terms of delivery) on saving it
Hi Experts ,
I have a requirement where I want to update the sales order header text (terms of delivery) on saving of PO with Partners details such as first name , and last name etc,
Please suggest an user exit or any other enhancement where I can update the header text automatically w/o going into the texts.
Thanks .Hi,
Any texts have to be maintained making use of FM SAVE_TEXT.
For eg if i want to update the Order Confirmation text, i will use the FM as follows:-
data : header type THEAD.
data : lines type standard table of TLINE .
data : wa_line type tline.
header-TDOBJECT = 'VBBK'.
header-TDNAME = '0000003561'. "sales order number or text name
header-TDID = 'Z007'. " Confirmation text - text id
header-TDSPRAS = sy-langu.
wa_line-TDFORMAT = '*'. "paragraph format
wa_line-TDLINE = 'This is 1st line of text'.
append wa_line to lines.
wa_line-TDFORMAT = '*'.
wa_line-TDLINE = 'This is 2nd line of text'.
append wa_line to lines.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
header = header
tables
lines = lines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here the details of
TDOBJECT, TDNAME, TDID and TDSPRAS can be obtained by double clicking on the particular text in the sales order. It will open the text editor and then from menu go to Header.
In this way you can save any text.
Similarly if you want to read any text then make use of FM READ_TEXT.
I hope you understand.
Regards,
Ankur Parab -
How can a drop ship sale order make a modifier to the intercompany transaction
if i want to make a internal modifier for a dropship sale order ,who can i do it
I am sorry, my mistake. I am pretty new at Labview. I am generating an output signal with labview to a PCB and I am trying to read back its response. The response "outputs" would then be considered inputs from the perspective of Labview. I look at it from the PCB point of view, which has inputs and outputs, and so you can probably see where I was mixed up. I use a sequence to generate the outputs going to the PCB. I want to make sure that the correct pattern of responses is given. In this case, I have Relay A and B. When I activate Input 1, I should then get the activation of Relay A N.O. and Relay B N.C., a pause, and then visa versa. When I activate Input 2, I should receive Relay A N.C. and Relay B N.O., and then again, after a pause, visa versa. Input 3 is only to see Relay A N.O. and Relay B N.C. activated, while Input 4 should see Relay A N.C. and Relay B N.O. activated. I need to somehow "watch" the order of the relay logic activations and make sure they are in order. I am able to access the state of each N.O. and N.C. contact. I attached a sample .vi with other garbage in it that you can ignore. (The programming is done on a laptop with Labview and not the computer that I am using at the moment, and so it is not as easy for me to remove code.) The top of the block diagram shows the sequence that I use to trigger my DAQPAD, which is attached to my PCB.
I greatly appreciate your help in this matter,
-Zack -
Hi all,
I have a requirement of adding description of Payment terms in the sapscript . Earlier the script only prints terms without description. It use to get the value from , &'Terms of payment: 'PEKKO-ZBTXT& in the sap script MEDRUCK.
Now i added table T052u in the print program to get the description of payment term, the field is T052U-TEXT1.
While creating payment term from tcode OBB8,Eg: Payment term is Z001 and we enter No of days and percentage . Suppose i enter 10 days , how is the script printing as "Within 10 days due net ".
I want to know where this field is stored, Pekko is a structure so iam not able to see this.
Please do tell me which table do i get to see this payment term w.r.t to PO
Waiting for ur Reply's
Regards,
ShujaCheck table :<u><b>T052U</b></u>
Hope thisll give you idea
<b>P.S award the points.</b>
Good luck
Thanks
Saquib Khan
"Some are wise and some are otherwise" -
I am an sd consultant and have no idea of fi methods.Can anyone give me the detailed steps for the payment procedure of the customer once we have created the invoice .Kindly give me the T-codes and tables been hit by the transaction so that I can track payments recieved by the customer.Thanx
So this means that payment is not taken refrence to any doucment such as an invoice.The only reference is the customer right?So how do we get know how much we need to recieve from the customer for the earlier invoice
-
Can anyone give me the detailed steps for the payment procedure of the customer once we have created the invoice .Kindly give me the T-codes and tables been hit by the transaction so that I can track payments recieved by the customer.Thanx
Hello Sam,
The basic process of payment when you have created an Billing document (With Accounting Document) is as follows:
You have to essential run a transaction code on SAP system called F-28 so that the finiance related standard table are impacted and uncleared accounting document are cleared. These tables are BSID and BSAD.
After peforming this above step, then kindly run a transaction code called "FBL5N" to check the net receivables/Overdues for a customer or else you can also use the t-code S_ALR_87012172 for viewing the net pending amount for a customer in local currency .
Hope this information helps in clearing your concept about payment.
Regards,
Sarthak -
SAP WCEM sales order payment type replication to CRM
Hi All ,
The payment type added in WCEM3.0 is not getting replicated to CRM UI .
Any suggestion ?
Regards,
Naval Bhatt.Hi Naval
Can you provide a bit more detail. It is difficult to try and think what the problem could be without sufficient information
Regards
Brian Maunde -
Need a BADI for Manipulating Purchase Order Payment Terms?
Anybody know of one? We are on 4.6C....Thank-You.
Hello Sudheer,
This would be great only I do not see "Call method cl_exithandler=>get_class_name_by_interface " to put a break point in the GET_INSTANCE Code....below. Also, I only see one Method in cl_exithandler and it is GET_INSTANCE. I would really like to do what you say but can't figure out where to pit the breakpoint........Thank-You
METHOD get_instance.
CLASS cl_abap_typedescr DEFINITION LOAD.
DATA: exit TYPE REF TO object,
temp TYPE abap_abstypename,
int_ref TYPE REF TO cl_abap_refdescr,
type_ref TYPE REF TO cl_abap_typedescr,
interface TYPE seoitfname,
exit_name TYPE exit_def,
clskey TYPE seoclskey,
mult TYPE seex_boolean,
subrc LIKE sy-subrc,
abs_type_classname TYPE string.
The absolte type name of the changing parameter instance
is got via dynamic describe
CALL METHOD cl_abap_typedescr=>describe_by_data
EXPORTING
p_data = instance
RECEIVING
p_descr_ref = type_ref.
IF type_ref->type_kind NE type_ref->typekind_oref.
RAISE no_reference.
ENDIF.
CATCH SYSTEM-EXCEPTIONS others = 1.
int_ref ?= type_ref.
ENDCATCH.
IF sy-subrc = 1.
RAISE no_reference.
ENDIF.
CALL METHOD int_ref->get_referenced_type
RECEIVING
p_descr_ref = type_ref.
IF type_ref->type_kind NE type_ref->typekind_intf OR
type_ref->absolute_name NS '\INTERFACE='.
RAISE no_interface_reference.
ENDIF.
Get the interface name by the absolute type name
SPLIT type_ref->absolute_name AT '=' INTO temp interface.
Get the exit_name for the interface name
SELECT exit_name FROM sxs_inter INTO exit_name
WHERE inter_name = interface.
EXIT.
ENDSELECT.
IF sy-subrc = 4.
RAISE data_incons_in_exit_managem.
ENDIF.
Get the name of the exit class
CALL FUNCTION 'SXV_GET_CLIF_BY_NAME'
EXPORTING
name = exit_name
prefix = seex_exit_class_prefix
IMPORTING
clif = clskey-clsname.
CONCATENATE '\CLASS=' clskey-clsname INTO abs_type_classname.
Is the given instance initial?
IF NOT instance IS INITIAL.
CALL METHOD cl_abap_typedescr=>describe_by_object_ref
EXPORTING
p_object_ref = instance
RECEIVING
p_descr_ref = type_ref.
CHECK type_ref->absolute_name NE abs_type_classname.
ENDIF.
check how many implementations exist for an exit
CALL FUNCTION 'SXC_ACT_IMPS_PER_FLT_VAL'
EXPORTING
exit_name = exit_name
EXCEPTIONS
multiply_active = 1
no_active_implementation = 2
OTHERS = 3.
subrc = sy-subrc.
IF subrc = 1.
there are more than one active implementations
read the properties of the exit
SELECT SINGLE mltp_use FROM sxs_attr INTO mult
WHERE exit_name = exit_name.
IF sy-subrc = 4.
RAISE data_incons_in_exit_managem.
ELSEIF mult = seex_false. " singular exit
RAISE single_exit_multiply_active.
ENDIF.
ENDIF.
act_imp_existing
IF subrc = 2.
act_imp_existing = seex_false.
ELSE.
act_imp_existing = seex_true.
ENDIF.
ok, then do your job
CREATE OBJECT exit TYPE (abs_type_classname).
CATCH SYSTEM-EXCEPTIONS move_cast_error = 1.
instance ?= exit.
ENDCATCH.
IF sy-subrc = 1.
RAISE cast_error.
ENDIF.
Maybe you are looking for
-
So I tried to partition my hard drive and I got the following error message: +Verification failed. This disk could not be partitioned.+ +Use Disk Utility to repair this disk.+ And so I continue on to Disk Utility and I try to verify the disk and I ge
-
Change user_name captured in version enabled tables
I have a requirement to keep history on all data changes on an existing application. I have just begun looking into using Workspace Manger to fulfill this requirement and it looks like it will work except for one problem. I need to be able to capture
-
No more Change Data Capture in Oracle 12c
Can anyone explain why this feature is being moved out of the database product and into the Golden Gate option? Does this mean that anybody using CDC in 11g must now license Golden Gate when moving to 12c, if so, what are some of the additional bene
-
Minimized apps re-opening on startup
Am I alone in having this problem or is it not a problem at all but a new 'feature'? I've tried searching Google and these forums, but my queries didn't result in any issues similar to mine. The problem is with apps that are opened automatically afte
-
Bidder gets "no authorization for the action" when creating response to RFx
Hello. I am working with SRM 7.0. As a bidder with Portal Role: RFx Respondent SRM Role: /SAPSRM/BIDDER I was trying to create a response for an RFx by highlighting one of the eRFx in the query result list and clicking on "Create Response" button. I