Blocking Sales Order change
Hi,
We have a requirement that sales orders should no be able to be changed after a month that it has been created/opened. I would like to know if ithere is a standard way of blocking sales order change (include new items and quantity change) considering its creation date.
Thank you and regards,
Renata Prataviera
Hi,
I am not sure any standard settings can help with the requirement.
However you can use user exit, USEREXIT_SAVE_DOCUMENT in the include MV45AFZZ. to satisfy your requirement.
Regards,
Similar Messages
-
Billing Block removal not updated in the sales order change log
Hi Gurus,
A specific Billing Block is automatically assigned to the sales document header (VBAK-FAKSK) when the net value of the sales order is negative. This is an order related billing.
Sometimes the Billing block is getting released automatically and the Negative Invoice is getting created in the Background job run for creating the invoices. When we check the sales order, the Billing block is not existing and the removal of the billing block is not recorded in the Change Log of the sales order.In the CDHDR table also there are no details about the release of the billing block.
This is happening only occassionally. When I tried to replicate the issue, the system is not allowing me to create the invoice as long as the billing block is there in the sales order and if I remove the block, it is recorded in the sales order change log.
My doubt is.,
1. How the billing block is getting released automatically?
2. Even if the block is released, why it is not recorded in the Change Log of the sales order?
Looking forward your for suggestions and solutions.
Thanks,
RaviHi
Did u check in sales doc. details screen.There u can block for billing. -
Block Sales order if pricing condition changed manually (no delivery)
Hi,
Requirement is to block sales orders for review by a manager if pricing condition amount is changed manually. Only a manager should be able to review and release the sales order for billing. There is no delivery, item is service.
ThanksHi,
This can be achieved as follows:
1) SAP Standard updates the field KOMV->KSTEU for respective price condition type as soon as its changed Manually.
2) Through enhancement automatically delivery block should be set at Sales Order Header, for which User (Sales End User) should not have rights to change.
3) Respective Sales Manager should receive a mail regarding the same.
Point '3' can be done manually i.e user will request respective Manager to do the needful.
RB. -
Help needed in blocked sales order list vkm1
Scenerio is that currently the sales coordination department views all blocked sales orders thru t-code VKM1
The company said they want sales coordination department to view ONLY the sales orders under the value of 300,000rs. (That value being flexible can be changed to 200,000 in the near future.)
They also want the finance department to also view credit (this being a filter search criteria) sales orders BUT ABOVE the value of 300,000rs (That value being flexible can be changed to 200,000 in the near future.) And have the right to release the orders. So in other words 2 different views for the two different departments.
What comes to my mind of a way to do this is by creating 2 query reports with a variant of a < less then, >greater then, or = equal too. And thru this query report I can assign the users to only be able to use that report hence, fi report, sd report view. But I am confused in how to begin and setting this up. Please help with any ideas and configuration tips. Which table or field to use in the query report for this?Hi,
For this requirement, i would suggest 1.you design two separate layouts and
2.ask your basis consultant to assign this two layouts to the two set of departments so that one is authorised to use the first layout and the other department is authorised to use the second layout, please try this out and let me know.
I have checked the layout, there you cannot restrict a particular document value, instead design a user exit and use it for the two departments.
regards,
US
Edited by: usasapsd usasapsd on Mar 2, 2009 7:33 AM -
Problem for releasing blocked sales order on Creditlimit
Hi Gurus,
I a hve a problem for releasing blocked sales orders
what i have done: 1)i have blocked sales order based on exceeded creditlimit
(i have change SDType in 'OVAK' is 'C')
2)now i have to release for furthur processing so i have done following steps
3)Goto VKM3/VKM1 T.Code and then release what order that is blocked.
4) order will appear in the list.
5)Select that one.
6)Click on the green flag that appears on the left hand side.
7)Click on save.
8)click on back it will ask for "Leave list".
9)Click on yes.
10)It said that Sales orer has been released
Still what my problem is:
Problem: 1)So i'm trying to create deliver for Sales order but it shows an error
2)"Sales order is blocked for delivery: Credit limits" Even it was released
Plz kindly help me what i do....
Thanks In Advance
sivakumarsorry i was unfotunately put this thread here over in SD
-
How to block Sales order for any overdue balance.
There is a need to change SAP setting for blocked Sales Order for due balance. Current SAP setting : block is valid only for "over due
more than 30 days".
The requirement is to block order based on any overdue amount say For example : if we have due balance for 1 day, than system should block the SO.
In current credit management settings applied, there is Static check ( C ) and Oldest open item (C ) with Days oldest item =30 days. Kindly suggest as what changes should be made to reflect the desired changes. Also , help in confirming the thought that Static check itself considers the OPEN ITEMS, so if i am activating static check and REMOVES THE OLDEST OPEN ITEm, will it take any overdue amount automatically and block subsequently. To add to it kindly explain, what is the use of this additional check of Oldest Open Item ( with days = X days ) for creit mngt. can't we maintain it by Static check.
Kindly guide as what to change in OVA8 to have this. All feeedbacks are highly appreciated.The user want to block SO for 2 types below. System must block SO if the credit limit is exceeded and/or the payment is overdue
Currently Two credit checks in OVA8
1- Static check
2- Payment Overdue check by Oldest Open Item ( 30 Days limit is set)
But, now for SO block due to payment overdue need to be changed from 30 days overdue to any day overdue.
How to acheive the above , Also kindly confirm that Static check contains OPEN ITEMS so Won't static check only carry the functionality to block SO for ANY DAY OVERDUE.
Any feedback is highly appreciable. -
Automatic credit release of blocked Sales orders with pre payment
Hi ,
We have a requirement as given below.Please suggest a better solution for this.
The customers have the 'prepayment ' payment terms with different percentages of the sales order
value to be paid before the delivery creation.
When the sales orders are created, they are blocked for delivery by some credit block.
The business use VKM1 transaction to view these blocked orders and release them manually for
delivery creation after checking if the customer has made the prepayment.This is a tedious work
(since there are too many sales orders )for the credit manager who dont have the complete
visibility of how much prepayment the customer has made and need to manually check if the
payment made covers the sales order prepayment amount to be paid.
1. How can we do a automatic release of these blocked sales orders?
2. Is there any program(which can be setup as batch job) to do a credit recheck and release the order
automatically?
3. Will Milestone billing plan functionality satisfy this requirement?If so how?
We are using SAP version 4.7 without Project System.
Thanks in advance.
Regards,
RageshHello,
This is not possible because when you created the sales order it has checked the credit limit for that credit limit and if you increase also now that block cant go automatically.
Go to VA02 i.e change mode of sales order and change something and enter may be if you created a order for 2 quantity then go to VA02 and remove the quantity 2 and again type 2 then system will again check for credit and now that is increased so the order will not block..
If this is for many order then you can run changes sales order BAPI for mass update. Take help from ABAP guys.
Cheers
Say -
hi ,
i have a scenario
sales order header has a billing block , sales orders has been completely delivered, shippingcost document has been created but not invoiced.
customer has a sales area block in the customer master.
Question:
if i want to bill these sales order , what is the process?
deleting the billing block in the sales order header will allow me to bill ?
if i have to change it in the customer master , how does it update in the already created sales document
thanks in advanceHi,
Firstly if order has a billing block then you will have to remove the billing block in the order and then do billing.
If customer had sales area block in customer master..how you were able to create sales order for the same ?
Reward points if useful
Regards,
Amrish Purohit -
Report : release blocked sales order
hi ,
Can nyone tell me. how to see report regarding ....who's( which user) released the blocked sales order?hello, friend.
when you create a list using VKM4, you can click on a specific sales document number. you will be brought to the document. then you can click on Menu > Environment > Changes and see the person who released the order.
you can also see the release date by doing SE16 and selecting table VBAK. i'm not sure but i think its possible to see the person who released by going to another table. maybe somebody else can clarify.
thanks and regards. -
Release log for blocked sales order as credit limit
Hi gurus,
Any body kindly explain for me about how can I look over Release log for credit limit block sales order, Transaction code or report?
thanks.Hi,
u r trying all these in IDES system or in real time system.
if u r trying to release it in IDES system then go to VKM2 & do the changes.
in real time system only a authorized person can release the block by using the same T.code vkm2.
hope it helps u
regards
dibya -
Hi All,
I need to create a report to show who released blocked sales order, The TCode for releasing sales Order is VKM1. I want to know after releasing order where this information gets stored. the changed person and the order values.. where I can find this information..
Thank you,Hi ,
try to go thru all other posts also , then only it wil justify what we are doing here for u?
<b>have u seen VBUK-CMGST =Overall status of credit checks</b>
<b> Credit check was not executed/Status not set
A Credit check was executed, document OK
B Credit check was executed, document not OK
C Credit check was executed, document not OK, partial release
D Document released by credit representative</b>
Regards
Prabhu -
Sales order changes history table
hi.........
i wann field for user name from sales order change history table. i hv tried CDHDR and CDPOS, but i cound't get the exact link in those tables.
will u tel me any other table, so that i can get this field by passing sales order ?Hi subharao,
Go though this program.
REPORT zmm_rep_poh NO STANDARD PAGE HEADING LINE-SIZE 250 LINE-COUNT 65.
TABLES: cdhdr,cdpos,ekko,ekpo.
TYPE-POOLS : slis.
DATA : t_fieldalv TYPE slis_t_fieldcat_alv.
DATA : import_variant LIKE disvariant.
DATA : xrepid LIKE sy-repid.
DATA : layout TYPE slis_layout_alv.
DATA: BEGIN OF itab OCCURS 0,
fname(40) ,
objectid(10),
changenr(10) ,
value_new(10),
value_old(10),
unit_old(10),
unit_new(10),
cuky_old(10),
cuky_new(10),
key(5),
username(10),
udate LIKE cdhdr-udate,
utime LIKE cdhdr-utime,
END OF itab.
DATA iebeln(15).
DATA: BEGIN OF itab1 OCCURS 0,
username(10),
udate LIKE cdhdr-udate,
changenr(10),
utime LIKE cdhdr-utime,
END OF itab1.
DATA: BEGIN OF itab3 OCCURS 0.
INCLUDE STRUCTURE itab.
DATA: END OF itab3.
DATA iekko LIKE ekko OCCURS 0 WITH HEADER LINE.
*Select Option
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : s_ebeln FOR ekpo-ebeln OBLIGATORY,
s_ekorg FOR ekko-ekorg NO INTERVALS DEFAULT '77IN',
s_bukrs FOR ekko-bukrs NO INTERVALS DEFAULT '77IN'.
SELECTION-SCREEN END OF BLOCK b1.
*INITIALIZATION.
for alv field catalog definition.
PERFORM initial_alv_fieldcat CHANGING t_fieldalv[].
START-OF-SELECTION.
SELECT * INTO iekko
FROM ekko
WHERE ebeln IN s_ebeln AND ekorg IN s_ekorg AND bukrs IN s_bukrs.
APPEND iekko.
ENDSELECT.
LOOP AT iekko.
SELECT username udate changenr utime
INTO (itab1-username,itab1-udate,
itab1-changenr,itab1-utime)
FROM cdhdr
WHERE objectid EQ iekko-ebeln.
APPEND itab1.
ENDSELECT.
ENDLOOP.
LOOP AT itab1.
SELECT objectid changenr fname value_old value_new unit_old unit_new
cuky_old cuky_new
INTO (itab-objectid, itab-changenr, itab-fname,
itab-value_old,itab-value_new ,itab-unit_old, itab-unit_new,
itab-cuky_old,itab-cuky_new)
FROM cdpos
WHERE changenr = itab1-changenr.
IF sy-subrc = 0.
itab-username = itab1-username.
itab-udate = itab1-udate.
itab-utime = itab1-utime.
APPEND itab.
ENDIF.
ENDSELECT.
ENDLOOP.
delete itab where fname eq 'KEY'.
sort itab by fname.
delete ADJACENT DUPLICATES FROM itab comparing all fields.
LOOP AT itab.
IF itab-fname = 'ZTERM'.
itab-fname = 'Payment Terms'.
MODIFY itab.
ELSEIF itab-fname = 'AEDAT'.
itab-fname = 'Date'.
MODIFY itab.
ELSEIF itab-fname = 'EFFWR'.
itab-fname = 'Effective Value'.
MODIFY itab.
ELSEIF itab-fname = 'MENGE'.
itab-fname = 'PO Quantity'.
MODIFY itab.
ELSEIF itab-fname = 'BRTWR'.
itab-fname = 'Gross Order Value'.
MODIFY itab.
ELSEIF itab-fname = 'NETWR'.
itab-fname = 'Net Order Value'.
MODIFY itab.
ELSEIF itab-fname = 'PROCSTAT'.
itab-fname = 'Purchasing Doc processing state'.
MODIFY itab.
ELSEIF itab-fname = 'FRGSX'.
itab-fname = 'Release Strategy'.
MODIFY itab.
ELSEIF itab-fname = 'FRGKE'.
itab-fname = 'Release Ind. Pur. Doc'.
MODIFY itab.
ELSEIF itab-fname = 'ZBD1P'.
itab-fname = 'Cash Discount Perc 1'.
MODIFY itab.
ELSEIF itab-fname = 'ZBD1T'.
itab-fname = 'Cash Discount Days'.
MODIFY itab.
ELSEIF itab-fname = 'ZBD2T'.
itab-fname = 'Cash Discount Days'.
MODIFY itab.
ELSEIF itab-fname = 'KEY'.
itab-fname = 'Item Entered'.
MODIFY itab.
ENDIF.
ENDLOOP.
PERFORM alv_grid_display.
*& Form alv_grid_display
text
--> p1 text
<-- p2 text
FORM alv_grid_display .
DATA : gt_event TYPE slis_t_event.
DATA : dbcnt TYPE i.
DATA : dbcntr(10) TYPE c.
DATA : title(100) TYPE c.
CLEAR : dbcnt,dbcntr,title.
DESCRIBE TABLE itab LINES dbcnt.
dbcntr = dbcnt.
CONCATENATE 'NO.OF ENTRIES : ' dbcntr INTO title SEPARATED BY space.
sy-title = title.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
is_layout = layout
it_fieldcat = t_fieldalv[]
i_save = 'A'
i_grid_title = 'Purchase Order Amendment Details'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " alv_grid_display
*& Form initial_alv_fieldcat
text
<--RT_FIELDCAT text
FORM initial_alv_fieldcat CHANGING rt_fieldcat TYPE slis_t_fieldcat_alv.
DATA : ls_fieldcat TYPE slis_fieldcat_alv .
DATA : cntr TYPE i VALUE 1.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 1.
ls_fieldcat-fieldname = 'USERNAME'.
ls_fieldcat-seltext_l = 'UNAME'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 2.
ls_fieldcat-fieldname = 'UDATE'.
ls_fieldcat-seltext_l = 'UDATE'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 3.
ls_fieldcat-fieldname = 'UTIME'.
ls_fieldcat-seltext_l = 'UTIME'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 4.
ls_fieldcat-fieldname = 'OBJECTID'.
ls_fieldcat-seltext_l = 'PO Number'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 5.
ls_fieldcat-fieldname = 'FNAME'.
ls_fieldcat-seltext_l = 'Field Name'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 6.
ls_fieldcat-fieldname = 'VALUE_OLD'.
ls_fieldcat-seltext_l = 'Old Value'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 7.
ls_fieldcat-fieldname = 'VALUE_NEW'.
ls_fieldcat-seltext_l = 'New Value '.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 8.
ls_fieldcat-fieldname = 'UNIT_OLD'.
ls_fieldcat-seltext_l = 'Old Unit'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 9.
ls_fieldcat-fieldname = 'UNIT_NEW'.
ls_fieldcat-seltext_l = 'New Unit'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 10.
ls_fieldcat-fieldname = 'CUKY_OLD'.
ls_fieldcat-seltext_l = 'Old Cuky'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
CLEAR ls_fieldcat.
cntr = cntr + 1.
ls_fieldcat-col_pos = 11.
ls_fieldcat-fieldname = 'CUKY_NEW'.
ls_fieldcat-seltext_l = 'New Cuky'.
ls_fieldcat-do_sum = 'X'.
APPEND ls_fieldcat TO rt_fieldcat.
layout-zebra = 'X'.
layout-colwidth_optimize = 'X'.
ENDFORM. " initial_alv_fieldcat
*********Rewards some points.
Rgds,
P.Naganjana Reddy -
Credit status change through Sales order - change log
Hi Friends,
I'm currently facing a scenario were it was reported by the client that
credit release is happening automatically.
Brief details :
Order was created on 4th Of Oct and it was blocked (reaches the VKM1 bucket )
since the customer reaches the credit limit.The same order on 5th Oct was not in VKM1
bucket were the status of order in Sales document header states that it's released.
Initial check : (Sales order change log)
1, I've checked the change log on 5th Oct were the field VBUK - CMGST "Overall status of credit checks changed" from B to A.
(( Status and details below
A - Credit check was executed and document is OK.
B - Credit check was exectued and Document is not OK (credit block).
C - Credit check was executed document not OK, Partial release.
D- Document released by Sales representative. ))
2, I tried to replicate the order status for block and release, But when I release through VKM1 / VKM3
the change logs are getting updated with Status - D .(ie from B to D) .
I'm wondering that what could be the reason that causes the system to update in the table - VBUK - CMGST from A to B
or because of what change from the client in the sales document header level could impact this changes.
Note - There is no payment which received from customer on that day.
Please let me know in case if you are getting the clue...
Thanks in Advance..
- Pugal stalinHi
A simple credit check, as the name suggests, is very simple in nature. The functionality is limited and considers only open A/R items and open items from special G/L and sales orders for performing the credit checks. When you create/change a sales order that is relevant for a simple credit check, SAP calculates the payer/customeru2019s credit exposure by adding the open A/R balance for the customer, open item balances from the special G/L, and the net sales order value. This credit exposure is then compared against the customer credit limit maintained in the customeru2019s credit master. If the credit exposure is greater than the credit limit, the system sets the credit check status as u201Cfailu201D and shows a warning, generates an error message, or performs a delivery block
Regards from Pakistan -
Dear Gurus,
Do we have any standard transactions to find list of blocked sales orders for different reason.I checked we have only for credit management the transaction code is :VKM3 & For back order processing we have transaction code : V_RA & can we use the same transaction codes for different kind of blocked sales orders for various reasons ( ex: Blocked for free of charge delivery , poor qualiy of goods ,political reasons , bottle necks etc reasons )
Looking for your inputs
Thanks inadvance
Regards
VenkatDear Venkat,
If I'm right the issue is that you want to display all those documents whose credit limit is zero.
You can get all the list through vkm3 and sort it in ascending order.
For sorting click the cursor on the credit value column and use sort buttons available in application tool bar.
Kindly let me know if it can solve your issue.
Best Regards,
Rajesh. -
Standard report for BLOCKED SALES ORDERS
Hey friends,
Do any one of you know whether there is any standard report that shows the Blocked sales orders..??
thanks in advance,
Regards,
Anvita.anvitha,
You have the following transaction available in SAP for showing the sales documents blocked due to different reasons.
V.14 Sales Orders Blocked for Delivery
V23 Sales Documents Blocked for Billing
VA14L Sales Documents Blocked for Delivery
VE31 Blocked SD Documents (Export related)
VKM1 Blocked SD Documents (Credit Blocked)
Check which one will satisfy your requirement.
Thanks
Giridhar
Maybe you are looking for
-
Group Currency mismatch - FC Valuation Reversal
Good Day! After running reversal for foreign currency valuation (new GL), we noticed that Group currency was not populated causing a small mismatch. We ran valuation again after reversal and the open item was still valuated properly. Do you have any
-
Faces/JSF vs Forms Application ?
Hi All, I need to compare Forms based application with Faces/JSF based application, in term of performance. (The fact of proprietary vs open standard is not the consideration) Could any body please give comments on the points below : 1) Initial Load,
-
Transactional data for SEM-BCS
Dear experts! We are working in a SEM-BCS project and wonder which is the best solution to load data from FI-GL into BCS. As far as I know there are two possibilities to do this: .) extract form RFBILA00 and then use the flexible upload method .) loa
-
When you register for a podcast, the list of past podacsts appears in the podcast. Sometime, ther's a ton of it. How to make them go? Thanks
-
How to know form name and tcode
Hi, I know the driver program for layout is PPPRZUGL. How can i come to know the form name and its associated Tcode to see the output. Can anybody tell me ? Thanks