VKM1 Block/Release Sales Order depending on the FI Document Type
Hi guys
I need to configure the R/3 4.6C to block in VKM1 (for Credit Management) only the Sales Orders that have specific FI Document Types in FBL5N. I mean, I don't want to block documents for Static Checks (defined in OVA8) if there are only Credit Memos for the customer in FI, for example.
Is there any way to do this configuration?
I believe I will have to use the USER EXIT enabled in OVA8, but I need to be sure that there is no other way to do this.
Best regards,
Adilson Ferreira
Hi
I am not sure about your requirement. But If you want to exclude certail FI Transactions from Credit check, then you can configure the G/L accounts with the NO credit Check indicator ON.
Example, for Special Transactions like Downpayments, you can set the no credit check indicator ON in OBXR.
Otherwise, using the User exit option is always there
Hope this helps
Similar Messages
-
Credit Block released Sales order report
Hi Experts,
My client is given few sales orders (around 4)no and requesting us, to prepare the credit block released sales orders report (include released person user ID).
*.No change logs is existing for all sales order and deliveries.
For above requirement I am using CDHDR table data but I am not getting credit block released sales order report.
Below fields I am using in CDHDR Table.
Change doc.Object (objectclas) : VERKBELEG
Document No (CHANGENR): Sales order no XXXXXXX
Transaction no (TCODE) : VKM1,VKM2,VKM3
Date(UDATE) : 25.09.2011 to 09.11.2011
Experts, Can you please help me out for this.
Thanking you!!!!
Regards,
Vijaykumar Kola
*.I'm already aware of this is a new development.Try this, simple report... Here we check the new value of credit status field VBUK-CMGST and if it is 'D' we know that someone used VKM* transaction to release the document. Also you need to format the sales order number with leading zeros so it occupies all 10 digits and pass it to CDHDR-OBJECTID field (and not CHANGENR field). In the below code I am using select option for sales order number, so I know it will be formatted with leading zeros and so select on CDHDR will be successful.
*& Report ZTV_TEST
REPORT ztv_test.
TABLES: vbak, cdhdr.
SELECT-OPTIONS: s_saldoc FOR vbak-vbeln OBLIGATORY,
s_udate FOR cdhdr-udate.
RANGES: r_objid FOR cdhdr-objectclas.
DATA: ls_cdhdr TYPE cdhdr,
ls_cdpos TYPE cdpos.
IF NOT s_saldoc IS INITIAL.
LOOP AT s_saldoc.
MOVE-CORRESPONDING s_saldoc TO r_objid.
CONDENSE: r_objid-high, r_objid-low.
APPEND r_objid.
ENDLOOP.
ENDIF.
CHECK NOT r_objid[] IS INITIAL.
SELECT *
INTO ls_cdhdr
FROM cdhdr
WHERE objectclas = 'VERKBELEG' AND
objectid IN r_objid AND
udate IN s_udate AND
tcode LIKE 'VKM%'.
SELECT SINGLE *
INTO ls_cdpos
FROM cdpos
WHERE objectclas = ls_cdhdr-objectclas AND
objectid = ls_cdhdr-objectid AND
changenr = ls_cdhdr-changenr AND
tabname = 'VBUK' AND
fname = 'CMGST' AND
value_new = 'D'.
IF sy-subrc = 0.
WRITE:/ ls_cdhdr-objectid(10), ls_cdhdr-username,
ls_cdhdr-udate, ls_cdhdr-utime.
ENDIF.
ENDSELECT. -
How to Cancel a Sale Order without cancelling the subsequent document.
Dear All,
I want to cancel sale order but the sale order have a subsequent document is there is any soulution that when i cancel the sale order all the subsequent document, outbound delivery and invoice cancelled in jn\ust one step, if not then what is the other way to solve that problem.Hi
You can reject the sales order by going to VA02
Go to-> Item -> Enter Reason for Rejection
and save the order.
This will reject the order even if the subsequent documents are created so that no further open quantities can be delivered.
Reward points if useful.
Regards,
Nimit
Edited by: Nimit Raiya on Jul 3, 2008 4:03 PM -
VKM1 - Release Sales Orders - Job schedueling
I have maintain automatic credit control for same of the sales documents (the control at the moment checks a review date that should not be in the past, from FD32. If it is in the past it blocks the sales order)
In the meanwhile, I have maintain a job that runs once a day and releases sales orders if there has been any change in the FD32 of the customer concerning the review date. If there is no change the sales order remains blocked.
There are though some cases of sales orders that the sales manager regardless of the review date wants to release them. He enters the vkm1 and releases them.
Up to this point everything is perfect.
If the sales orders that are released by sales manager using the vkm1 became delivery or invoice before the job schedueling runs there is no problem. If for any reason the sales orders are released by the manager using vkm1 but the next function (delivery or invoice) happens after the job schedueling has run again, the sales order becomes blocked again.
Is there a way that if the sales order is released by the manager using vkm1 not to become blocked again if the job runs again (so as not to have to release the same sales order more than once)I will move this questions to SD
-
Credit Block for released sales order
Dear All,
I have got one issue. There is a sales order which was created earlier say 15 days back. It went into the credit block at the time of saving it. It was released through VKM3 too.
Now when i change any field in the sales order today, it is going into the credit block. We are not changing any value of any of the item. Just maintaining the Billing block in it or remobving the Billing block.
The number of days maintained in the OVA8 are 182. So as per the standard functionality it should not go into the credit block for any change in the sales order like changing the billling date or changing the billing block.
Can you please let me know what might be the reason for this sales order to go into the credit block..??? Any help is very much appreciated.
Thanks and regards,
Vishi.Dear Vishi
Please check if you have checked the critical fields option.
Credit check against critical fields (fixed value dates)
The indicator controls the critical field check. If the field is selected, the system checks whether critical fields have been changed.
Use
If a check is carried out, the following fields are relevant:
Payment terms
Additional value days
Fixed value date
Note
Use this type of check for sales documents only. -
Hi,
I have written a routine which will call the FM SD_ORDER_CREDIT_CHECK whenever there is a rejection and again unrejection of a same sales order, we are only concerned about already credit released sales orders, the scenario is as follow
1). Sales order created in the system --> Credit check --> Credit blocked
2). Release credit block manually CMGST =D
3). Reject sales order then unreject the same
4) Routine will determine rejection and unrejection of the order while saving and will call the FM SD_ORDER_CREDIT_CHECK
5) The order is credit checked and blocked if necessary
All goes well till this point
but when the same sales order is rejeceted and unrejected multiple times either partially/ fully then the Custom routine calls the FM for credit check but the FM fails to put the order back on credit hold
in short the FM works only for the first time incase of mutiple rejection and unrejection of teh same sales order then the FM SD_ORDER_CREDIT_CHECK fails to put the order back on credit hold from the second time onwards
if some one any idea of the behavior of this FM please share your thoughts and inputs . thanks !!Issue resolved
The Standard FM “SD_ORDER_CREDIT _CHECK” uses the field “Release date of the document determined by credit management VBAK – CMFRE”
For any sales order that is manually credit released in a single day, Only one credit check is triggered (per day) if there is any change in the sales order and then the order goes back to credit hold and if again the order is manually credit released for the second time in a single day there will be no credit check (still the order will pass into FM but the update entry in the internal table will be blank)this is a standard functionality
Process of rejection and unrejection :
Blocked order -->released-->blocked again (first time after manual release same day) unrejected (same day) -->but no credit check (all this in a single day)
note : OVA8 - released document still unchecked = 0 Days , Deviation %= blank -
Blocking and releasing sales order using FM
Hi experts,
I am in quest of FM that can be used for blocking and releasing SO.i Can do it through t-code VKM3 but my requirement is using FM i want to change the status of SO as block or released.
Can anyone having any idea about this,please share.
Regards,
Pankaj JainHi,
Refer the following post related to sales order releasing enhancements-
How to Release Sales Order
release strategy for sales order?
Sales order release strategy
Hope it helps. -
Block Sales Order creation if the stock is zero
Dear Gurus,
Is there anyway we can block from creation of Delivery Order if the stock qty is zero (eg: in MMBE no stock at all).
Or if there's other suggestions, eg. either to block upon Sales Order creation, pls do inform.
Thanks.HI Azmawati Abdul Aziz
This can be control through standard SAP,no need to go for ABAP.go to T.code (Zero) 0VLP select your delivery item category in that Quantity column you can find *Check quantity 0 *check with "B" Situation rejected with an error message**,then system will not allow to save the delivery where the quantity is 0.
Check with this and revert back.
Thanks
Ram -
Repeat credit checking for released sales orders
Hi,
We are implementing FSCM Credit management in our project. In our system, when the sales order is created, the credit check will happen and the failed orders will go to VKM1. Till the order is released, any change to that order will trigger the credit checking process.
But once the credit block is released in VKM1, Credit checking is triggering only for
Quantity change
Adding new line items
Credit checking is not triggering for any other changes to the SO like deleting the line item changing the payment terms etc..
I would like to know if there is any control in FSCM Credit management to repeat the credit checking process for the released sales orders.
Appreciate any help in this regard.
Thanks
PrabhakarHi Prabhakar,
Navigate to Financial Supply Chain Management--> Credit Management--> Integration with sales and distribution-->define automatic credit control.
Over there you need to check critical fields check box for this to happen. Hope this helps -
Report of recently released sales orders
Hi,
Aside from VKM1, is there a standard report that lists down all recently released sales orders (from credit block). Preferably, the report can be listed down by the dates it was released.
Thanks!Hi Mani,
Thanks for the program name. However, I'm looking for a report that will list all sales orders that has recently been released. I ran the report you specified, and it's limited to the changes done on a particular sales order.
Thanks! -
Every time system create new production order after releasing sales order c
Hi Guru,
FG material strategy: 82 (sales order creates production order).
After creating the sales order it goes in to credit block. Whenever we release sales order from credit block through VKM1, system has created production order. We confirmed this production order and delivered.
But after this sales person change the sales order value, because of which again sales order goes into the credit block and after releasing sales order from credit block system create new production order even if one production order already confirmed and delivered against the same sales order.
*Every time system create new production order after releasing sales order credit block.
Thanx & regards
pnuPNU,
So, to restate:
In MD04, you have Unrestricted Sales order Stock ('E' Stock) on hand.
In the same MRP segment, and against the same Storage Location as the stock, you have a Sales Order requirement that was recently blocked and unblocked.
During the unblocking event, the system produced a new production order.
This is not normal. If the above accurately depicts your situation, I would look for an altered Strategy 82, or a userexit. SAP ATP (the beginning event of the Strat 82 process) will normally first check for the availability of stock. Only if the stock is not available, then it will create the new production order.
Best Regards,
DB49 -
Set credit block at Sales Order
Hi,
I would like to ask how can I set the credit block for a particular Sales Order during creation.
thanks.Hi,
As suggested go to OVA8, set status block.
Then go to OVAK, select your sales document type then select "B" which will block your sales order which you will have to release from VKM1.
Hope this answers your query.
Hrishi -
Credit block a sales order or delivery individually
Hi
If I just wanted to block a sales order or delivery because of a credit issue, but did not want the customer to go on credit block/hold, is the only way to do this use the delivery and billing block. I can't remember being aware of any other blocks we can use
Please advise.
thanksHi Kyliesjordan
It depends on if you want the customer's credit exposure be impacted or not. If you are not bothered about the credit limit, then you can go for order blocks as mentioned by you.
If you want the system to be updated for credit exposure then you can configure simple/automatic credit checks as per your requirement.
Best Regards
Sathees Gopalan -
How to block a sales order when there is a free good item .
Hello Gurus ,
How to block a sales order when there is a free good item , only the authorised person should have authorisation to release those blocked Sales orders.
Reason - They want to have a track of free goods given to customer & to avoid the misusing things
Looking for your inputs
Thanks in advance
Regards
VenkatHi
I think you can try with Status Profile in BS02 define and assign for item category TANN.
In status profile you can block the delivery and also billing unless some changes the object status as released.
Just try and explore
regards
Prashanth -
Removing of Delivery block in Sales Order using Authorization
Hello,
I have a urgent requirement on removing a Delivery block using authorization.
The object V_VBAK_AAT is assigned to me and the ACTVT : 43 is permitted so I can release the block.
As this was not working I have created my own object with values ACTVT as 01, 02 , 43 and LIFSK : 1-10,11,12-99 .
I am trying to remove the block from VA14L from VA14L I select my order with respect to delivery block and it navigates to VA02.
From VA02 I am trying to remove the block.
As this requirement may be simple but it is blocking my development.
Thanks.Please correct whether I understood your issue correctly or not.
You have developed the program only to put delivery block to Sales Order. This block should be approved by Authorized people for allowing the users to create delivery else Sales order delivery should not be possible. Is that program has any other additional functionality other than setting Delivery block??
To keep delivery impossible till the Authorized person approves Sales order, you have the option of User Status. Process for creation of User Status for your requirement
Create User Status Profile in OIBS
Keep BLCK (Blocked for Delivery) & APPR (Approved for Delivery) as 2 statuses (No. of status can be as per your requirement. Here, simply I have 2 statuses)
Assign Object types as "Sales Order Header" (if you want the Authorized people to approve at header level) or "Sales Order Item" (if you want the Authorized people to approve at Item level, may be for partial delivery)
Keep BLCK as Initial status & Double click on BLCK status & click New entries on "Business transactions"
There are many Business transactions such as "Create Delivery" / "Create Goods Issue for delivery". As per your requirement, select Forbidden option in one of the above mentioned business transaction
Create Authorization Key in BS52 for Authorized People, say, as MNGR (Manager)
Assign that Authorization Key to APPR user status in User status profile
Using PFCG, you can create separate role by assigning this Authorization key
This can be different kind of solution from your way. For reference, you can refer below document. Document content points some other space & transaction. But you can relate to above steps mentioned.
User Status in SAP
Maybe you are looking for
-
Export web analysis document from workspace to excel
Hi all i have the problem regarding exporting the webanalysis document from workspace,i.e when i drilldown the webanalysis document to lowest level and right click on the report and select "export to excel " i am being prompted the webanalysis login
-
So someone at my school he is a bully towards me and today he changed his name to match mine and I dont fell right about him doing that. I'm pretty sure you have to have permission with the orginal name user to use it but he says no. So I dont know p
-
How to handle SipException "could not create message channel"
This exception is encountered while sending a NOTIFY request in a dialog using dialog.sendRequest(client Transaction). we r using UDP as transport protocol.
-
Good afternoon I need your help. I´m trying to extract some information through SNMP queries to my ACE, specifically, in each serverfarm the rserver weight state (if he is OPERATIONAL or OUTOFSERVICE, etc), and the number of current conns he has. Now
-
Can anyone debug this block of code for me? I have a list os System objects registered to a Shop object & held in an Array. I'm sending a message to them via the Shop object to display a list of Systems with a system price less than or equal to the m