on 01-02-2009 7:24 AM
After the last approval step the delivery date shall be recalculated. The recalculation shall happen with the maintained lead time based on the PO creation date. The calculation uses the available factory calendar for the delivery date. Please help how to proceed and get the delivery date recalculated to update the delivery date in PO.
regards
AAA
Edited by: Alex Abraham Anoop on Jan 2, 2009 8:24 AM
Hi Alex,
BADI BBP_DOC_CHANGE_BADI- BUS2201
I think you can change the delivery date logic depend on your requirement .for eg you can validate that the existing sc/po delivery date ok if it not so ...Did you explore more here...?
for eg. your sc delivery date shows today but you are approving the cart after one day.like scenarios
you need to do development for this business request.
regards
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The scenario is applicable for n-step approval also. so need to know whether on creation of SC will the lead time gets populated which needs to be added to the present sy-datum to get the new delivery date (i guess). They have a factory calender also in place. In doc_change badi do i need to check for each of the steps. please guide how to go with it?
Hi
Please go through the below notes...
Note 735220 - Requested delivery date from contract in shopping cart
Note 735220 - Requested delivery date from contract in shopping cart
Note Language: English Version: 3 Validity: Valid from 07.05.2004
Summary
Symptom
During the creation of a shopping cart, a source determination occurs in
the background and exactly one contract is determined which contains a
delivery time in day. The system issues a message that the requested
delivery date cannot be met. However, the user does not receive information
on where the delivery time comes from: Catalog or contract.
More Terms
SRM, Supplier Relationship Management, Ecommerce, E-Commerce, BBP, EBP,
Enterprise Buyer professional edition, E-Buyer, E-Procurement, SAP
Business-to-Business Procurement, shopping cart, requested delivery date,
delivery time, contract, catalog
Cause and Prerequisites
The problem is caused by a program error.
Solution
Implement the attached program corrections and then carry out the following
steps: Call up Transaction SE80 and go to function group BBP_PDIGP in
subroutine CHECK_DELIV_DATE (Include LBBP_PDIGPF2I).
There, you must define text elements text-001 and text-002. To do this, go
to 'Goto -> Text elements -> Text symbols' and enter 'Contract' for
text-001 and 'Catalog' for text-002.
Activate program SAPLBBP_PDIGP.
In addition, adjust message #244 "Requested delivery date cannot be met".
Call up message class BBP_PD in Transaction SE91 and go to message 244
which must be enhanced as follows: "Requested delivery date cannot be met
(&1 - delivery time = &2 day(s))".
Note 814100 - The delivery date lies outside of the factory calendar
Note 663619 - Delivery date is not checked
Note 660962 - Warning message if delivery date is missing
Note 752868 - SC desired del.date: Change error message to warning
message
Note Language: English Version: 3 Validity: Valid from 07.07.2004
Summary
Symptom
You approve a shopping cart for which the desired delivery date is in the
past. The system displays an error message stating that the delivery date
cannot be met. This message is an error message by default. In your case it
is not problematic if a shopping cart is approved that has a desired
delivery date in the past. That is, this message should be set via the
message control in such a way that it is either displayed as error or
merely as warning message.
However, the message is not provided as a customizable message.
More Terms
Customizeable message, Enterprise Buyer professional edition, E-Buyer, EBP,
E-Procurement, SAP Business-to-Business Procurement, BBP, Ecommerce,
E-Commerce, BBP_PDC_MSG, BBPC_PDMSG, BBPC_PDMSG_CUS, shopping cart,
message, message control, customizable message, validity period
Cause and Prerequisites
Additional requirements.
The quantity of the customizeable messages is predefined by SAP because the
control of these messages affects the process flow.
Solution
Implement the attached program correction and proceed according to the
following instruction. If you implement the changes manually, note that
only a modification is possible.
o Start Transaction SE91 to maintain message class BBP_PD and switch
to change mode.
o Create a new message with number 584 and specify the following
text: 'In the shopping cart to be approved, the delivery date is in
the past'.
o Save the message.
o Start Transaction SM30 to maintain database view BBPV_PDMSG.
o In the maintenance screen, a list of already delivered messages is
displayed. Add the following new entry:
ApplicArea: BBP_PD
MsgNo: 584
Object Type: BUS2121
Allowed: EW
Standard: E
Switch off: <leave empty>
o Save the new entry.
Afterwards you can set the message type of the corresponding message to
'Warning Message' via IMG activity 'Influence Message Control' (Enterprise
Buyer -> Cross-Application Basic Settings -> Message Control):
o Select the line with business object BUS2121 and double-clicking on
'Message Control'.
o Adding a new entry:
Message cl: BBP_PD
No.: 584
Text: W
o Save the new entry.
so do you have any plans to issue warning /error message during the approval/order time itself sice it is tightly linked with source of supply too right? or just you want to validate during creation of Purchase order after approving it?
regards
Muthu
Hi
function group BBP_PDIGP in subroutine CHECK_DELIV_DATE
Check with the above technical stuffs for your requirement . Also check the delivery date by using of this BADI BBP_DOC_CHANGE_BADI (bus2201) and change the delivery date calculations according to your requirement with technical resource.
regards
Muthu
Hello Alex,
As per standard SRM , the delivery dates are not recalculated during approval or creating a PO time so we must take care of this by BADI
for eg. lead time(delivery time of the item in a days) are coming from oci parameters if it is catalog sc.
since it is one of the parameters right?
regards
Muthu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.