Function Module's for Shopping Cart.
Hi all,
I want to know which is the function module to know item details and for status of shopping cart in BBP_PD. Also, can anybody please guide me how to use those in simple reports.
Thanks in advance.
Regards!
Rahul
hi,
You can see the foll FM's:
BBP_PD_SC_GETDETAIL
BBP_PD_SC_GETITEMLIST
BBP_PD_SC_ITEM_GETDETAIL
BBP_PD_SC_ITEM_STATUS_CHECK
BBP_PD_SC_GETLIST
BBP_PD_SC_CHECK
In addition, you can use the tables
CRMD_ORDERADM_H,
CRMD_ORDERADM_I,
BBP_PDBEI
to get the SC details.
BR,
Disha.
Pls reward points for useful answers.
Similar Messages
-
Function module to read Shopping cart
Folks,
The answer I am looking for is not BBP_PD_SC_GETDETAIL.
Here is the situation: During the approval process, the approver needs to be able to change few fields. So, i used the secur_badi to give him a "Change shopping cart" button. But, when he hits the change, all the fields on the shopping cart are available for change. So, this guy could monkey around and change some of the fields he is not suppose to change and I need to catch this in the check badi.
So, I started using the BADI "BBP_DOC_CHECK_BADI" and used FM 'BBP_PD_SC_GETDETAIL' to get the shopping cart details. But, this gives me only the PRESENT values on the screen ... and I need to compare it with the shopping cart values in the database. Is there any function module that could help me here?
The idea is to compare field by field and throw an error if he chnages the fields he is not supposed to chnage. (ugly ha!)
Thanks
SriHi Sri,
You are right, calling BBP_PD_SC_GETDETAIL during the user session will retrieve the data in user session memory, and not the physical one stored in the database.
So you have 2 solutions:
- check each field value against physical value in DB: direct SQL access in SRM tables (CRMD_ORDERADM..., BBP_PD...)
- change the PBO modules "modify_screen" of each SC screen to close wanted fields if sy-tcode = SC aproval TCODE. this would be eased if a BADI was available for SC screens (like BBP_UI_CONTROL_BADI).
I prefer the 2nd one.
Rgds
Christophe -
Workflow retrigger for shopping cart
Hi All,
What is the procedure to retrigger workflow manually for shopping cart?and what the precautuions to be taken when retriggering workflow for SC.
Thank you
Regards,
YshuHi,
What is your business scenario, you can trigger the workflow again when you change the shopping cart once it is created.
This can be:
1) When users create a shop, hold and then on a later date they want to change the shop and complete the action.
2) When the shopping cart is created always the employees need to have the change functionality till the approval takes place for that particular shopping cart.
This can be achieved by using the different parameters in the BBP_WFL_SECURITY in the Personalization tab in the SU01 , Personalization Object Key and the authorization level 0,1,2,3,4
Best regards,
Sridhar -
How to use customer extension table for schedule line for shopping cart ?
Dear Experts,
One of our client wants to have schedule lines in shopping cart item. I am thinking of using customer extension table at item level for shopping cart. Could you please help me on how I should proceed with the appending the structures so that the end user can fill the shopping cart schedule line details?
Which fields should I consider in such cases?
Thanks and regards,
RanjanHi.
I guess you use SRM 7.0. Please go to IMG.
SRM -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data
Regards,
Masa -
One Step Workflow Activation for Shopping cart in SRM 7.0
Dear Experts,
On working to EXtended Classic Scenario, I need to configure one step approval for shopping cart in SRM 7.0.
Currently it is providing me Auto Approval by default and based on it PO is being created. I need one-level manager approval shopping cart.
I am working in Demo System of Extended Classic Scenario, I need only one step approval SC without any condition.
Kindly tell me the configuration steps in SRM and please tell me one more thing is there any need of BADI or other coding for one-step approval?
Thanks in Advance,
Regards
Pawan Keshwani
Edited by: pawankeshwani on May 25, 2011 6:22 PMHi Ashutosh,
Thanks for quick reply.
As per your comment when i am tring to activate /SAPSRM/C_SC_600_001_SP04 by t-code SCPR20, But It shows me a information pop up Maintain the client role and then Activation is Cancelled.
Kindly tell me what i am missing or any other prerequisite step to do for this BC Set Activation.
Thanks
Pawan Keshwani -
Hi experts
I am in SRM 7.0 and triing to use Process controled workflow, I have done some configurations for shopping cart aproval but no workflow is started and in shopping cart appear as in aproval.
What cold be missing?
Thanks
NilsonHi Guys
Urgent
In Sourcing cockpit field having morethan 1000 line item Shopping cart. Could anyone help me to get the sourcing cockpit shopping cart entire report in a single report.
We use to download the report morethan on hour on a daily basis.If anyone help me out for this really appriciated. -
Process Controlled WF for Shopping Cart
Hi,
We have implemented process controlled workflow for shopping cart approval.
1. Created a bespoke schema for the approval process
2. Defined 5 process levels in the schema
3. changed the BRF event at the schema evaluation level. It now
contains a constant with the name of new schema create in step 1.
4. Decision set used is item based approval for partial documents (Type 4)
4. The first process level is get the technical approval from bespoke
table based on material group. For that we have first created a
Responsibility Resolver Name - ZTECHNICAL_APPROVER.
We have implemented the BADI - /SAPSRM/BD_WF_RESP_RESOLVER. Assigned
the filter as BUS2121 and ZTECHNICAL_APPROVER.
5. Now we have placed the external debugger in BADi. when we create
the shopping cart the flow doesn't stop at the break point. The item
reaches to the last step of Automatic approval (Rejected).
6. We think that schema is getting evaluated, however the process
level is not getting called.
7. Before we created schema, all the carts wer getting "Approved" by
automatic step. In our schema the automatic step is "Rejected", hence
the carts are getting rejected.
Could you please let me know what could be reason for BADI
implementation not being called or is there any config step which we
are missing?Hi,
I think your process level evaluation id is not true, that is the reason system skips the process level.. Can you check your evaluation event-expression code. What do you see in SLG1? For testing purpose change the evaluation id to 0EV000 and check. Make Sure you debug through the user(requester) that you are creating the SC. Please test and let me know...
Saravanan -
Wrong approver for shopping cart
Hi Friends,
I've found something very strange in my SRM system for Shopping cart approveal process.
One of my SC is waiting for approaval by a approver who is assigned to different plant and he has got nothing to do with this SC.
The SC's basic data contains the responsibility of some other LPR group for which approver is different and he is the actual approver of this SC.
Can you guys provide some link where i can find documents related to approval process in detail and also the organisation structure material as i am new to SRM..? after providing the solution for above querry...
Thanks in advance
ssHi Volkoale,
I am also facing the same issue. If you have resolved it kindly post your approach as it will be helpful to the community.
In my case, there is one cutomized table that contains list of approvers, but I am yet to debug and find the source of data for this table. Your reply will be rewarded.
Cheers,
Kris -
New document type for shopping cart /PO
Hi Gurus,
I have created a new transaction type ZSHC for Shopping carts in SRM. I have given it a new number range.
while creating a shopping cart , how do i ensure that my shopping carts get created with this transaction type?
is there any attribute which controls this ?
Regards,
MangeshThanks Shrini for your response.
BADI "BBP_CREATE_BE_PO_NEW" does not exist in SRM 4.0. The corresponds BADI in SRM 4.0 is "BBP_CREATE_PO_BACK".
The documentation of this BADI says that it can be used to change all data TRANSFERRED TO THE BACKEND SYSTEM to create a purchase order.
I would want the document type to be selected when the PO is created in SRM and not when SRM transfers the PO to the backend. Because in that case I fear that SRM can have one doucment type and R/3 would end up having different document type for same PO.
I will activate the BADI and keep the thread posted.
Thanks
Venkatesh -
Function module exits for Tcode MD11.
Please tell me, Function module exits for Tcode MD11.
Reg .
PrajuHi
LMDR2001
LMDZU001
Try out these exits.
Check the folloing BADI's
MD_PLDORD_SCHEDULING
MD_PIR_FLEX_CONS
MD_PLDORD_SCHEDULING
Regards
Divya -
Function module name for routing fom production orders
Function module name for routing fom production orders
Hi
There are lot of fun modules related to routing
like
BAPI_ROUTING_CREATE
BAPI_ROUTING_EXISTENCE_CHECK
goto SE37 Tcode
enter routing press F4
you will get a lot out of that use the required one
Reward points for useful Answers
Regards
Anji -
Function Module (BAPI) for Delivery Change
Dear All,
We have a Function Module "BAPI_SALESORDER_CHANGE" for changes in sales order, wherein we also can enter Texts in sales order.
Please tell me similar such function module for Outbound Delivery, wherein I can enter / insert / change the Texts (both Header & Item) in a deivery document.
Regards,
DhananjayThanks
Where in this Function Module do I find the table / parameter for adding text at item & header level.
Regards
Dhananjay -
Function module need for 0fiscvarnt
Hi i have 0comp_code,budat and 0fiscper as a source fields,now i want to get 0fiscvarnt...please give me any logic or function module available for that
thanksHi,
Usually fiscal year variant is constant if not getting populated from source system.
Check with function team member what Fiscal year variant they using.
Regards,
Akshay -
Function module used for ENQUEUE_EIQMEL & DEQUEUE_EIQMEL function
Hi All,
It should be highly appreciable if any one could please help.
I need the name of the function module used for ENQUEUE_EIQMEL & DEQUEUE_EIQMEL function.
waiting for help.
Thanks
ShawHi,
The names 'ENQUEUE_EIQMEL' and 'DEQUEUE_EIQMEL ' you have mentioned are itself the function modules. Which other FM's you need i didnt understand.
These are FM to ahndle lock objects 'QMEL'.
please reframe your question in case of further issues.
Regards,
Mansi. -
Function module(s) for Cube Collapsing/Compression
Hi Experts,
can anybody tell me if there's a SAP Function module availbale for Collapsing/Compressing requests of a cube ?
Background is we want to automate collapsing of cubes by an APAB report instead of using a process chain or RSA1.
Any suggestions? Any pitfalls for such an implementation ? Any expieriences ?
We're on SAP BI 7.00 19, Oracle 10.2.0.4
Best regards,
ykHi Srinivas,
thanks for the quick answer, I will check the FM you mentioned.
We think of a cube exceptions list wich should NOT be condensed, and all OTHER cubes should be condensed.
With a process chain we have to maintain these OTHER list manually. In an ABAP report we could exclude the exceptions and condense the rest.
Developers tend to "forget" to add the CONDENSE step. So with time more and more cubes store only in F-tables and nothing in the E-tables (producing more workload as query runtime, DB maintanence like index creation runtime , statistic runs ...) and last but not least occupy disk space wich is expensive if you have a mirrored high performance disk system .
Best regards,
yk
Maybe you are looking for
-
Mid 2010 Mac Pro boot camp recognizing 1.86GB RAM
I have a mid 2010 Mac Pro w/ 6GB RAM and a dedicated video card. Win7 32-bit is boot camped on it. I know 32-bit Windows can only use 3.75GB of RAM. However, this Mac Pro is only seeing 1.86GB. Since this is Win7, no boot.ini is available for /3GB sw
-
How to transfer videos from laptop to iPad
How do I import videos from MacBook Pro to an iPad mini?
-
XML 2 HTML. Please help..
Is there any standard API / programme(already written) in Java, to convert a HTML document to XML and also XML to HTML. Any suggestions, tips, links are appreciated. Please help. Thanks in advance, Xej.
-
Export data from forms to excel
HI In my application im trying to export data from forms to excel.Everything works fine.First of all im using get_file_name for selecttion of file and passing it to ole2 package as follows FILENAME := GET_FILE_NAME(File_Filter=> 'XLS Files (*.xls)|*.
-
Import settings to point to folders where photos will be added
I would like to contiue to use my camera software for downloading and editing and I want to avoid having to add new photos to the library manually. Can that be done?