Condition for sales order delivery block
Hi All,
I am new to Workflow,
I have created work flow for Sales order changes, its works fine.
but my requirement is after that it will check whether sales is block for delivery or not.
if it is block then only it should send mail.
Regards,
Arpit
Hi Arpit,
1. Go to t-code SWO1.
2. Click Settings -> Delegate.
3. Delegate the BO YBUS2032 to the BO BUS2032.
In workflow perform the following steps:
1. Go to t-code SWDD and open your workflow template.
2. Go to Basic Data (cap sign button at the top of the screen) or click Ctrl + F8
3. Go to Start Events tab.
4. In the Object type enter your BO name BUS2032 (not YBUS2032), in Event of object enter the BO event.
5. Click on 'B' i.e. Binding Defined, click on generate automatic binding. It would automatically generate the appropriate binding for the workflow. You can also alter the binding as per requirement.
6. Click on 'C' i.e. Start Condition. A dialog would open, select the appropriate start condition for the workflow. Use the attribute that you created and make the start condition. Check the condition before saving (recommended).
6. Click on 'A' to Activate the binding and start condition. All 'A', 'B' and 'C' would get green.
7. Save the changes made and activate your workflow.
Hope this helps!
Regards,
Saumya
Similar Messages
-
How to update Sales Order Delivery Block while saving Delivery ?
Hi,
I have a requirement wherein i need to update sales order delivery block field(VBAK-LIFSK) while saving the delivery for the order.
Also I need to remove this block while execution of Backorder Rescheduling program SDV03V02 (Tcode : V_V2),
Can anybody help me out in this?
regards,
NitinHI,
try using BAPI_SALESORDER_CHANGE
pass ur vbeln in SALESDOCUMENT
pass an 'X' to BAPISDH1-DLV_BLOCK
and 'X' to BAPISDH1X-DLV_BLOCK
Also add the UPDATE task clause, you will want to set the flag only when delivery is being saved, not before that. -
Change sales order delivery block
Dear Friends
I need to change a sales order delivery block VBAK-LIFSK.
I am providing the new LIFSK in the selection screen. From my analysis I have to use FM: BAPI_SALESORDER_CHANGE.
Please tell me what values I should pass to this FM to change my sales orders as above.
If there is any other FM please suggest that.set the field DLV_BLOCK to delivery block needed.
Regards,
Raghavendra -
RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!
hi experts,
I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
thanks
Godspeedhi
can get the list of all the bapis..
http://www.planetsap.com/LIST_ALL_BAPIs.htm
Reward if USeful
Thanx & regards.
Naren.. -
Tables for Sales Order,Delivery Doc, Billing Doc
Hello All,
Can anyone list the tables that are relevant for Sales Order,Delivery, Billing-Header,Item,Schedule line level as applicable.
Regards,
RajHi Raja Sekhar,
Customers
KNA1 General Data
KNB1 Customer Master Co. Code Data (payment method, reconciliation acct)
KNB4 Customer Payment History
KNB5 Customer Master Dunning info
KNBK Customer Master Bank Data
KNKA Customer Master Credit Mgmt.
KNKK Customer Master Credit Control Area Data (credit limits)
KNVV Sales Area Data (terms, order probability)
KNVI Customer Master Tax Indicator
KNVP Partner Function key
KNVD Output type
KNVS Customer Master Ship Data
KLPA Customer/Vendor Link
Sales Documents
VBAKUK VBAK + VBUK
VBUK Header Status and Administrative Data
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBBE Sales Requirements: Individual Records
SD Delivery Documets
LIPS Delivery Document item data, includes referencing PO
LIKP Delivery Document Header data
Billing Document
VBRK Billing Document Header
VBRP Billing Document Item
SD Shipping Unit
VEKP Shipping Unit Item (Content)
VEPO Shipping Unit Header
REWARD POINTS IF HELPFUL
Regards
Sai -
SALES ORDER DELIVERY BLOCK REMOVAL ON DOWN PAYMENT
Hi All,
When cash is applied that clears down payment request billing, type ZFAZ, we want the order delivery block, ZB Wait for AdvPaym, to be cleared on the sales order. We only want this to happen if the payment exactly matches the billing amount and only with this one delivery block reason.
We want this to happen real time upon the down payment is made using F-28 transaction
Can any one suggest how to accomplish this.
thanks
VijayAlthough two years ago, could you maybe share your answers with the community?
Regards,
Niels -
Dynamic Credit Checks - Different Horizon for Sales Order & Delivery
Hi Experts ,
had a query . I am testing a scenario for Dynamic credit Check where the Horizon is ZERO for Sales Order & 3 Months Horizon for deliveries. How should the system behave in such a case. What would be the best way to test whether system behaviour is ok as per this expectations.
Also I would like to know whether "0" horizon for sales order means that system looks into the entiire list of open sales orders or the horizon of check is only upto the end of the current month . In FD32 the curent date is indiacted as the horizon date. While creating sales orders today I found dynamic block for 0 horizon is only working for sales orders with availabilty date upto 7th July '10 which neither covers the existing month-June & neither full of July. Beyond that there is no dynamic block soccuring.That made me a bit confused .
Please advice with you valuable inputs.
Thanking You.Hello Sai ,
thank you for the response. Had already checked note . But this does not speak about the implication "0" M horizon of dynamic credit check . What is coverage for that ? -
Dectivate pricing condition for sales order not service order.
Hi,
We are on ECC6.0 and CRM5.0
I need to add new condition type to the existing pricing procedure.It should be activtaed only for service orders and not for sales order.I can achive this by adding new requirement in pricing procedure to limit this condition type based on order type.
Example: if KOMK-AUART eq ORDER_TYPE.
sy-subrc = 0.
But I don't want to do this,because I would need to change this requirement everytime I add new service order type.
Is there any field in Pricing structure KOMK bu using which we can achieve this. ?
Please suggest any other idea by which I can achieve this
Thanks
DonaCurrently ,we have one pricing procedures for both the scenarios...
We control if the perticular condition type to be active or not by writing a requirement which checks the order types.
This has been done this way because we built the pricing procedure in ECC and tranfer it to CRM.Also we donot have service orders in ECC.
any further alternatives guys.. -
Manual Pricing Condition for sales order!!
Hi,
I have an issue, My requirement is I have to add a manual pricing condition in sales order header level. I have define the pricing condition for Freight Charges and that I have added to the pricing procedure that we have used for the transaction.
The problem is when Iam creating the order in the condition tab manully want to choose the condition type, but what I created condition type (Freight Charges) is not appearing in the view. Only exesting condition types only appearing in tha selection view. I am on CRM Stand alone
Pls anyone can advise where I miss the setting, I am new in CRM PRICING
Regards
VJHello VJ,
You must consider that there is a setting "manual" in the pricing procedure customizing, indicating that the condition must be manually entered, and also a setting in condition type customizing regarding changes that can be made. In condition type customizing you should NOT have option D "Not possible to process manually". Have you checked condition type customizing?
Additionally please execute function module from note 867428 ( IPC_DET_CLEAR_CUST_BUFFER ).
This will ensure that all the customizing changes are immediately available ( otherwise you would need to wait until the automatic buffer refresh occurs, by default once per day
Best Regards
Luis Rivera -
Additional selection Condition for sales order in CFM1
Dear APO Gurus,
Our business scenario requires CFM1 to have additional selection
condition based on Sales order type (Table:VBAK, Field: AUART) for
sales order data.
Kindly guide us if there are any enhancement or OSS note to acheive the
requirement?
I know OSS note: 507696 can be used for enhancing CFM1 selection conditions based on MARC table
fields. Any way this will not solve our requirement.
Thanks in advance for your answer.
Vignesh MHi Bipin,
Yes, that would be an option if we couldnt find a solution for setting a new selection condition in CFM1. Is there a CIF userexit related to sales order? That would be grateful..
Cheers.
Thanks in advance
Vignesh M -
Vendor invoice for sales order delivery cost condition type
Dear SAP guru,
We have a scenario where we have added certain delivery cost in the sales order as condition type. There will be an accrual posting out of this condition type. We have defined the vendor code in the condition record.
The question is how to generate an invoice on this vendor with reference to Sales order, as there will not be any purchase order for the delivery cost.
Thanks in advance.
Ramadid you already apply note 1585042
Symptom
You create a Sales Order with multiple third-party items. The system
automatically generates an MM Purchase Requisition with multiple line
items. Each of these line items can have a different fixed vendor
(field EBAN-FLIEF).
In the Customizing transaction VOV7, the Sales Item Category (usually
TAS for Third Party) has the field ALEKZ 'Create PO Automatically'
selected. Therefore, one or multiple follow-on Purchase Orders will
also be created from the Requisition data during the same Sales Order
creation workflow. The system creates a separate Purchase Order for
each fixed vendor (supplier) found among the Requisition items.
During this ALE PO creation, if one of the Requisition items fails to
successfully create a PO, the next relevant PO created may have an
incorrect vendor in its header. The vendor in the PO header may not
match the fixed vendor that was designated in the Requisition line item.
Solution
Implement the attached code corrections. After this correction,
regardless of whether one of the Requisition items fails to generate a
PO, any PO that is successfully created during the process will have the
correct assigned vendor. -
Hello all.
I am creating a sales order using the bapi BAPI_SALESORDER_CREATEFROMDAT2.
The problem is that is the client has a delivery block i want to remove it from the sales order so i can deliver.
How can i do this?
Thanks in advance
Nuno SilvaThe easiest way would be to go to VA02 transaction and clear the 'Delivery Block' field (it's a header-level field, see Sales tab). If you have to do it programmatically, use BAPI_SALESORDER_CHANGE and change the field ORDER_HEADER_IN-DLV_BLOCK. (Do a search by BAPI name if you need an example, there should be plenty.)
It is OK for testing but please keep in mind that there could be a reason for the delivery block, so it shouldn't be removed at whim in production. -
Function Module or BAPI to update Sales Order (delivery Block)
Hi,
Is there a Function Module or BAPI available that can update the Delivery Block for a looping Sales Order?
Thanks,
JohnHi,
check this sample code to update delivery block..
DATA: BAPISDH1X LIKE BAPISDH1X.
DATA: BAPISDH1 LIKE BAPISDH1.
PARAMETERS: P_VBELN LIKE VBAK-VBELN OBLIGATORY.
PARAMETERS: P_LIFSK LIKE VBAK-LIFSK OBLIGATORY.
* Header
BAPISDH1-DLV_BLOCK = p_lifsk. " Delivery block
* header X
BAPISDH1X-DLV_BLOCK = 'X'. " Delivery block
BAPISDH1X-UPDATEFLAG = 'U'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = P_VBELN
order_header_in = BAPISDH1
order_header_inx = BAPISDH1X
tables
return = T_RETURN
LOOP AT T_RETURN WHERE TYPE = 'E' OR TYPE = 'A'.
EXIT.
ENDLOOP.
* Check for error messages.
IF SY-SUBRC = 0.
WRITE: / 'Sales order not updated', T_RETURN-MESSAGE.
ELSE.
* Successfully updated
WRITE: / 'Sales order updated'.
ENDIF.
COMMIT WORK.
Thanks
Naren -
Hi, does anybody know a function, bapi or table where I can get the conditions for a item position in an sales order?
ThanksHi,
You can get the records from the table KONV.
Pass VBAK-KNUMV to KONV-KNUMV
VBAP-POSNR to KONV-KPOSN
Thanks,
Naren -
FM for sales order delivery status
Hi,
Is there any FM which can return the delivery status for a sales order line item?
Thanks and regards,
MadhuDelivery Status -- It is for Sales Document -- Means if one or more items of a Sales Order processed it will consider and based on that this status is set (Delivery started for at least one item of Sales Order)
Overall Delivery Status -- It is based on the Sales Order Items... Means all the items of a Sales Order are processed it will consider and based on that this status is set
Maybe you are looking for
-
Help: can not install ODI on SuSE Enterprise 10
I'm trying to install ODI 10.1.3.2.0 on SuSE Enterprise 10 Linux bottrop 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686 i686 i386 GNU/Linux but i get the following error: oracle@bottrop:~/tmp/setup/linux_i386> ./setup.bin Preparing to inst
-
Problem with plazma HDTV as external display
I have Panasonic HDTV 42" , which i use as external display. I try to connect it through miniDVI to HDMI adapter. Sometimes it works just fine. Just turn on tv and macbook use it as external display. But sometimes it does not work. When i turn it on
-
Issues connecting to service (WSDL2Java)
Hello, I am trying to connect from ColdFusion 8 to a web service. I first attempted to use the standard createObject/cfinvoke approach using the WSDL of the service, but not all of the code produced by WSDL2Java would compile. For example, some of th
-
Publish to two local folders in iWeb
Title says it all. How can i publish to two local folders in iWeb? I have iWeb '08.
-
I just found out that the weight of my lightroom backups is more than 50 GBs which is killing my computer and making LR terribly slow. anyone knows if it is normal? how can i down size? I'm using LR 2.5 and i have around 30,000 RAW images in the cata