MRP for delivery block itemsin sales order
Hi,
For MTO scenario, where in sales order item is blocked for delivery.When MRP run for sales order for that item through MD50 then system not generating any requirement.
Which parametrs should I check?
Regards
Sanjay
Hi ,
In MRP control Parameters you can use ,
1 .Create Purchase Requistion - value 2
2 .Delivery Schedule - Value 1
3 .Planning Mode - Value 1
4 Scheduling - Value 1
Try with this .
Similar Messages
-
Schedule Background Job : Remove delivery Block in Sales order
Hi Gurus,
I have a requirement to select all sales orders as per a condition and remove delivery block at
VA02-> Go to -> Header -> Status
For that I have to write a program which will be run only in background and i have to schedule background job for the same.
I have a parameter at selection - No of records
If no of records = 500 , I have to submit 500 jobs ie one job each for each sales order for removing delivery block.
I need to know
1) Which function module/bapi I can use to remove delivery block at sales order header level.
For blocked delivery the status is 'BSTK" . to remove block i need to change status to "RSTK".
2) How to schedule a background job for my program and how to submit one job each for each sales order.
Regards
Avi.Hi Avi,
Would like to seek for your advice. I am facing the same scenario too which is to delete the delivery block but is deletion of the delivery block is done in the user exit MV45AFZZ. The subroutine which needs to have the extra logic of deleting the delivery block is USEREXIT_SAVE_DOCUMENT_PREPARE.
Need your advice on how do you solve this scenario? Thanks in advance. -
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 -
Automating delivery blocks in sales orders
Hi,
We have a delivery made with ref to a sales order. The goods are third party warehouse managed.When the goods are no longer needed, a third party warehouse sends an idoc in our system. This idoc deletes the delivery in our sap system and as soon as the delivery is deleted, the system also puts a delivery block(VBAK-LIFSK) in sales order at header level so that no further deliveries are made with ref to sales order.
There is an issue at present that this delivery block is not set in sales order when the delivery is deleted.
could anybody pls help where the code might have been written to automatically put the delivery block in sales order when the delivery is deleted.
regardsHi,
Just code the delivery block logic in DO user exit MV50AFZ1 routine "userexit_delete_document".
Thus, when DO deleted then system will auto set delivery block to SO.
Hope this help.
Cheers, -
BAPI needed for goods receipt for delivery created from sales order
Hi experts,
I need help.
I want to post goods receipt for the delivery created from sales order. I have tried out BAPI BAPI_GOODSMVT_CREATE but I am not able to post it.
Is there any way to post this? I need BAPI and not FM MB_*....
Thanks & REgards,
Bhavin A. ShahHi,
Please refer to link,
https://wiki.sdn.sap.com/wiki/display/Snippets/BAPI_GOODSMVT_CREATE-ABAP
Regards
Shree -
How to make Delivery block at Sales Order Header level for specific materia
Hi,
My client want to create a delivery block EDI order at the Order Header level for specific materials
How can we achieve this.Dear Varada rajan
Go to material master, select "Sales: sales org.1" view and assign "01" against the field "DChain-spec. status" and save. By assigning, for a particular sales area, you can block that material.
Now go to OVSU select 01 and assign "B" against the field "Block delivery".
Now create a sale order and post the outcome.
thanks
G. Lakshmipathi -
User exit for updating delivery block of Sales order before Delivery
Hi Folks,
Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
I have got an exit in Program SAPMV45A
MV50AFZ1
FORM USEREXIT_REFRESH_DOCUMENT.
that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
Now i want now how to change the Delivery Block indicator of Sales order in that exit
any FM available ?
Thanks n regards
Sonal...Hi ,
How did you solved this issue?
I am having similar scenario in which while pressing the save button delivery block should update if multiple schedule line exist.
Tried by two different approaches in various user exit without any success.
AFAIK we have two ways to achieve this functionality.
1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
Multiple schedule line indicator is not populate so can not use 2nd approach.
If I write code in USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
the condition of fcode but it also fails in some condition.
If fcode eq 'SICH'.
Read table xvbap with key epmeh = 'X'.
IF SY-SUBRC = 0.
VBAK-LIFSK = '03'.
Else.
VBAK-LIFSK = ' '.
Endif.
Endif.
Please help me to get the desired functionality working for all cases.
1) One line item with multiple schedule line
2) Two line item with multiple schedule line
3) One line item having one schedule line and second one having multiple
4)Two line item both with single schedule line. -
Authorization check for Removing of Delivery block in Sales Order
Hi,
I want to have an authorization check for the person removing the delivery block in the Sales Order.
By Default all Sales Orders will have a delivery block. I want to ensure that the user does not have the authorization to Remove the Delivery block.He should be able to choose any reason in the Delivery block if required.
Only the user which has the authorization to remove the delivery block should be able to do so.
I have checked that the Delivery block field does not have an Auth Object.
I want to enable delivery block removal for some users and restrict the same for others.
Please AdviseHi,
In object V_VBAK_AAT you can find the activity 43 that is meant for authorisation, that should be removed for the users who are not supposed to release the sales order for any blocks.
Try that it will work.
Regards,
Mann. -
Hi,
I got a problem with registration of a sale order with a BAPI : it set automatically a delivery block , and this not happen when using VA01.
After create the order, for this one will be insert a technical object (serial number) and made some other change (always using BAPIs) like the requested delivery date or some texts.
There is not any block set in customizing (tab. TVAK) for that type of order.
If this was true,the block should have been set even using VA01,or not ?
Thank you in advance.
LucaI mean your order gets DB if created via BAPI and does not get any DB if created via VA01, right ? What DB did your order get when was created via BAPI ?
Is it your custom DB or SAP DB ? Do you have any special logic in userexits to apply DB in some cases ? If you have any logic which applies DB - does it have a check for sy-tcode ? -
Hello,
I have an issue regarding delivery block.
I've read a couple of posts regarding this, but they all solved their issue by using userexit_save_document or userexit_save_document_prepare which is no option for me.
My issue is the following:
I've created an order type ZTA (copy of TA) and setup a default delivery block "Z1 - in work" to that order type.
This prevents that after saving the order it will not be automatically delivered by a job which is running in background.
So each time I create a ZTA order with VA01, it will set the delivery block Z1. That's fine.
Now let's say when a customer has a delivery block (e.g. Z5), it will not overwrite the order delivery block Z1, when entering sales-to-party (or ship-to-party)!
Now I tried to add some code to userexit_move_field_to_vbak like that:
if not kuwev-lifsd is initial.
vbak-lifsk = kuwev-lifsd. " Z1 -> Z5
else.
if not kuagv-lifsd is initial.
vbak-lifsk = kuagv-lifsd. " Z1 -> Z5
endif.
endif.
Result: It will execute my new code sequence, but will not change the delivery block Z1 to Z5 on the VA01 screen. Maybe because I'm at this step not in update but insert mode?
I need to show the customer's delivery block while creating the order, means showing the delv. block after saving is too late.
Is there maybe a better exit to change the order delivery block to the customers delivery block?
Thanks in advance
WolfgangDear Wolf,
I dont know whether it might help you but , we had a requirement to make the information message of CUSTOMER BLOCK (which we do in XD05) to ERROR message .
It was done in the include MV45AFZZ but i do not know much technical details.
What i know is, this include comes much before the SAVE comes.
Also if you can write the logic to check the BLOCK STATUS from customer master and if it has a value, then fill the same in the respective field in sales order, system might throw that blocking reason.
If there is no reason, system will put the the default blocking reason from the sales order.
Better you post the issue in ABAP forum.
You might get more inputs there.
Check and revert back.
Thanks & Regards
Hegal K Charles -
Regarding delivery block in sales order
Hi experts,
i have problem in user exits in which i hav 2 work
my requirement is if sales organization is ____ and order type is_____
and payment of terms is ______
then delivery block must be ' Needs Approval'..
please help me out for this
Thanks in advance.....
Anoop.
Moderator Message: I dont see any problem with the requirement. All you need to do is find the right EXIT/BADI and code your logic there.
Edited by: kishan P on Nov 16, 2010 6:21 PMDear Wolf,
I dont know whether it might help you but , we had a requirement to make the information message of CUSTOMER BLOCK (which we do in XD05) to ERROR message .
It was done in the include MV45AFZZ but i do not know much technical details.
What i know is, this include comes much before the SAVE comes.
Also if you can write the logic to check the BLOCK STATUS from customer master and if it has a value, then fill the same in the respective field in sales order, system might throw that blocking reason.
If there is no reason, system will put the the default blocking reason from the sales order.
Better you post the issue in ABAP forum.
You might get more inputs there.
Check and revert back.
Thanks & Regards
Hegal K Charles -
Releasing Delivery block in Sales Order
Dear All,
Here is a requirement where Sales order is first created with delivery block for reason Credit check and to be released only by other user after checking the payment received.
Can we assign authorisation at field level
Can anybody suggest suitable solution
SriramDear all
First of all Thank you very much for the replies
Actually there is no credit management .. Here the situation is My client is the machine manufacturer who sells Industry Machineries. Usual Practice is to collect advance of 30-40% along with Order and balance before Delivery. Sales Executives will follow customer for advance and Balance payments. Once Received Sales head takes the decision of dispatching the machine. Sometimes he decides for the customer who has pending payments also. hence I mentioned Sales head to release. Configuring Credit limit and automatic checking may not be suitable for this Customer. I am thinking of giving authorisation of VA02 only to Sales Head so that he simply changes the delivery block tab and save the order.
I am configuring like this I will update after testing -
Delivery block in sales order and requirements md04
Hello and good morning to all,
we have the following scenario:
From our customer we received some sales order via EDI. "XI"/"SAP" created the standard sales order TA with delivery block Z1 ( header ) - all things are blocked.
The problem is, for the sales orders with delivery block Z1 we have also requirements in md04.
We have also set Reasons for and Scope of Deliv.Blocks: Transfer of Req.Block
How we can block / stop the requirements in md04 for sales orders with delivery block?
Thanks for your help!
Best regards
Petra SchoberI dont think with Standard Customization you can achieve this with Delivery blocks. As you aware, with delivery blocks you can just stop the confirmation ,pick, pack & GI. but the TOR.
Even if you set the Delivery block "01- Credit limit', then system re-set confirm qtty as "Zero". But still order requirements will pass to MD04 ( assumption , Block is temparory, anytime it can be released, but if requirement is not transferred for planning, then its difficult for the planner to make the requirement available on specified time) .
Only "reason for rejection" will restrict to not to transfer to MD04. So try to explore the functionality of "Reason for rejection" & apply the same with "Delivery Blocks". But you may need enahancement to achieve this.
Regards,
Reazuddin MD -
Stored Procedure for Delivery based on Sales Order Title UDF
Dear All,
I have made a UDF in the Sales Order Title as U_SOApproved which has been set with valid Values for the field as 1 - Yes and 2 - No and set default value for field set as 2.
Now I want to have Stored Procedure by which whenever a delivery is made based on a Sales Order for Document Series Named Retail if in the above udf which is there in Sales Order is not set as 1 - Yes the system should not allow the add the delivery in the system.
I know there is a option in Sales Order itself having a approved tick box but if I implement it then it would be applicable for all document series which I don't want. I want to have a check on a particular document series e.g Retail only.
Please help in this regard.
Regards,
KamleshI'm actually looking for a complete block , I want to force the user to type a value in the GrossBuyPr.
I have the following SP that I tried to modified to work for invoices but is not working
DECLARE @numlinii int
IF @transaction_type IN (N'A', N'U') AND (@Object_type IN (15)) AND (@num_of_cols_in_key = 1)
BEGIN
IF (@Object_type = 15)
BEGIN
SELECT TOP 1 @numlinii = (LineNum +1) FROM DLN1 INNER JOIN OITM ON DLN1.ItemCode = OITM.ItemCode AND (OITM.InvntItem N'N')
WHERE DLN1.DocEntry = @list_of_cols_val_tab_del AND (ISNULL(GrossBuyPr, 0) = 0)
ORDER BY Linenum ASC
IF (ISNULL(@numlinii, 0) 0)
BEGIN
SET @error = 10
SET @error_message = N'Value of field NNNNN in line No. ' + CONVERT(nvarchar(4), @numlinii) + N' is = 0 !'
GOTO error_mesg
END
END -- ODLN (15)
END
Any ideas ? -
Delivery block on Sales order using Condition Value Formula routine?
Hi ABAP Experts,
I want to place delivery block (LIFSK/LIFSP) on sales from Condition Value Forumla routine 09.
I have a structure komp and xkomv.
I don't think the field exist in either of the structures.
How can possibly place block on the Sales if there is wide difference in both the prices.
I know the standard SAP changes the status of sales order to incomplete and we have to do V.25 in order to process.
But need specific delivery block 'ZZ' to identify it.
Can you explain this??
Thanks,
MattHelllo O ,
i think u can enhance those structures ....for more info...check documentation in SPRO.
regards
Prabhu
Maybe you are looking for
-
How do I get multiple people to sign a PDF form using a Touchscreen PC?
I have created a PDF form, using Acrobat XI Pro, to record a client training session. The form is being completed using Adobe Reader (on a Panasonic Touchbook running Windows 7), so I have extended it to allow saving and signing. On the form I have a
-
Does the Imovie 6.0.3 update fix the stability issues?
Hi, Been using Imovie 6.0.2 a fair bit lately, and have had quite a few crashes. I see from this forum that I'm not the only one. I haven't yet been able to update to the latest version (6.0.3) released last week, and would like some user experience
-
Which is better ipod touch or airport express?
hi, I'm running itunes from my mac through a standard home hifi unit but want to upgrade my speakers. I'm thinking of buying a set of zeppelin speakers (http://www.bowers-wilkins.co.uk/display.aspx?infid=2466) but as I dont have an ipod was wondering
-
Do i need to reconfigure OEM Database Control when change ip address?
Hi all. Do i need to reconfigure OEM Database Control after a change of ip address? I mean, i have an OEL5 box with 10g Rel2. I have configure the server with a static ip address. This server will be sent to another location and it's possible the ip
-
Force DLLs to tun in the same thread (expect the UI Thread)
Hi, I want that three different DLLs run in the same thread but this thread must not be the "UI Thread". I there a way to force them to do so? Best regards Solved! Go to Solution.