How to change Vendor text in shopping cart using BADI/Function module
Hi
If any could help me out that i want to change vendor text using BADI/FMs.
Using BADI" bbp_catalog_transfer" i dint find any parameter for vendor text. please let me know if there any idea to resolve the problem
Hi,
you should find the vendor text within the BAdi
BBP_DOC_CHANGE
Method for shopping carts
BBP_SC_CHANGE
Here you could use the Changing Parameter
CT_LONGTEXT
The table contains 2 important fields:
TDID, where you can identify the type of text, in your case this should be ITXT for standard shopping carts (vendor text within positions)
TDLINE: which contains the text
You are now able to change the vendor text directly within this BAdi with standard ABAP methods.
Best regards
Andreas
Similar Messages
-
How to change the status of the system programmatically with Function Module
I Was trying to change the status of the notification through STATUS_CHANGE_INTERN function module . But It is not changing the status of the notification.
Can any one help to understand what is going wrong ... or any other function module to change status of Customer complaint notification ..Hi KK,
Please can you take clues form the below discussion thread -
http://scn.sap.com/thread/775169
Thanks to all original contributors of this thread!!
NOTE: Please note that the main point explain here is that, if you are willing to change to a status Ex, NOPR, NOCO, etc then you will need to pass on the value 'I0070', 'I0072', etc. I will also go ahead and like to add one more point here to make the language check as well like "EN", 'DE', etc as these statuses are language dependent too.
Thanks,
Arijit -
Internal note \ Vendor text in shopping cart not getting correctly saved.
Hi SRM folks,
We are at SRM 4.0 with extended classic.
We are facing issue with shopping cart ( BBPSC01 ) for vendor text \ internal note in " Documents and Attachments Tab" in item detail screen as below :
Suppose we enter below three lines in internal note \ Vendor text as:
XXX
AAA
CCC
They will appear as below :
XXX
AAA
AAA
CCC
CCC
Line items are getting duplicated. Please let me know how this can be resolved or if any SAP note available ?
Moderator message - Please do not offer points or rewards
Thanks in Advance,
Sachin
Edited by: Rob Burbank on Jul 30, 2010 9:39 AMHere is solution :
kindly apply the following notes:
1253076 No Vendor Text Exists Incorrectly Displayed
1289174 Vendor text/Internal Note is not deleted
1313904 Extra Line Breaks are added in Approval Notes
After this please republish all of the Templates with the Report
w3_publish_services.
Afterwards the Template Cache has to be invalidated with the
transaction sitspmon -> Tab "Template and Mime Cache" -> Button
"Systemwide".
If you use Proxy Server, you have to empty the cache there as well.
Furthermore the Temporary Internet Data of the Browse has to be deleted.
Retest the scenario and see if the behavior still persists.
Those note solved the issue -
Supress vendor text in Shopping cart
Hello,
We want to supress the Vendor Text Box in the item details of the shopping cart.
How can one accomplish this?
Thanks,
AartHi,
If you need to hide the field,you can use badi BBP_UI_CONTROL_BADI .
You can also Modify the corresponding HTML template in the ITS service BBPSC01 in SE80 for the reqd field.But the ITS chnages will be oevrwritten in case of upgrade.
You can also try using screen variants.For details,refer the foll thread:
Re: To make the field for Display only on the Shopping Cart Portal
BR,
Disha.
Do reward points for useful answers. -
How to change an approver in shopping cart( by function module ) ?
Hello, i wish to change my approver ( not through the portal) but by function module ( or some other way) . Then, the creator of the SC will see the new approver in his cart details and also, when the new approver logs in, he will have the shopping cart in his list.
thxHi
you can use FM RH_UPDATE_SUBST_LIST_SERVER to substitute an approver from the backend
thanks
Nimish Sheth -
How to change "vendor text " label in BBPSC01 and BBP_POC
Hi,
In French logon , i have a wrong translation for "vendor text" in the document tab for the SC and PO.
I was not able to find the correct function group where "document" tab is managed
Do you know where to change this description ?
Kind regards,
Yannsolved.
Text schema in SPRO... -
How to attach files while Creating shopping cart using FM- BBP_PD_SC_CREATE
Hi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PMHi
I am trying to create shopping cart from R/3 system using RFC calls to FM's BBP_PD_SC_CREATE, BBP_PD_SC_SAVE & BBP_PD_SC_COMMIT.
Also I have to attach files as we do in Standard SAP shopping cart creation process..
But I see a parameter IT_ATTACH to pass the attachments in the FM - BBP_PD_SC_CREATE..Is that the right one to use? If yes, can you suggest the values to be passed in the same if you have done this before..
Thanks
Geetha
Edited by: GEETHA VASUDEVAN on Apr 20, 2009 6:17 PM -
Message text available in java using RFC function module
Hello,
I wrote a function module with the ABAP statement
MESSAGE .... RAISING PARAMETER_ERROR
The java developer gets the PARAMETER_ERROR but no
message text.
Is the any way (e.g. exception class) to get the message text also.
Thankshi Michael,
In the RFC function module use the table RETURN of type BAPIRET2 and instead of raising the error append the error in RETURN. later in your java code you can read this table RETURN and retrieve the error along with the error text.
Hope this helps.
Regards,
Richa. -
How to change the text in sth DIV use PHP
<div id="Stage_mysite_1_1_UserName" style="position: absolute; margin: 0px; left: -42px; top: -130px; width: 95px; height: 13px; right: auto; bottom: auto; border: 0px none rgb(0, 0, 0); background-color: rgba(192, 192, 192, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);" class="Stage_mysite_1_1_UserName_id"> USER NAME </div>
in PHP file
i want change "USER NAME" to print($username) but i dont know
thanks!try this :
<div id="Stage_mysite_1_1_<?php echo $username; ?>" style="position: absolute; margin: 0px; left: -42px; top: -130px; width: 95px; height: 13px; right: auto; bottom: auto; border: 0px none rgb(0, 0, 0); background-color: rgba(192, 192, 192, 0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);" class="Stage_mysite_1_1_<?php echo $username; ?>_id"> <?php echo $username; ?> </div> -
Hi experts..
i got one requirement like i need to edit some rows particularly in alv....
Edit in alv output....is it possible to get that .....using normal function module with out using oops concept...
could any one pls help me...Hi Pendurti ,
If you want a particular field to be editable , simply define the fieldcatalog as
wa_fieldcatalog-edit = 'X'.
wa_fieldcatalog-input = 'X'.
for that field.
and
Now when you use FM ' Reuse alv grid display '
define USER_COMMAND
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = v_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = int_fieldcatalog
is_layout = wa_layout
TABLES
t_outtab = t_disp.
and now in form USER_COMMAND ; code as per following
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
DATA ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
CALL METHOD ref1->check_changed_data.
endform.
Regards,
Yogendra Bhaskar -
How to release a transport request with warnings using a function module?
Hi,
I want to release a transport request(which has some warnings) using some function module .
The warnign that i get when i try to release the Transport Request manually is "not all objects could be locked..."
Which function module can I use so i can release such a transport request?
I am currently using TR_RELEASE_REQUEST but I am unable to release the TR, it throws an exception.
Also i wouls assume that the function module mentioned would take care of releasing all the unreleased task
under the request.
Regards,
Bikash.Hello Bikash
As an alternative (to cope with the warnings) you may use TRINT_RELEASE_REQUEST.
However, since this fm offers only a single task/request as IMPORTING parameter you need to take care about unreleased tasks yourself. Looking at SE09/SE10 even there you do not have the option the release a request including all its tasks.
Regards
Uwe -
How to insert WorkBench Request to a domain using a function Module...
Dear ALL,
I am creating a program where I have created a domain using a Function Module and assigned the same domain to a package using a Function Module. Now I want to assign the domain to a WorkBench Request...Can anyone tell me of a Function Module to achieve the same??? Please note that the WorkBench Request is entered by the user on the Selection-Screen.
Moderator message: please do not open multiple threads for the same issue, rather follow up (or bump up) on existing ones.
Edited by: Thomas Zloch on Dec 15, 2010 1:18 PMHi Anjali,
Thanks for the response.
I have passed the PSGNUM and HLEVEL values while populating the data records. Then I sent the data records and control record information to the function module IDOC_INBOUND_WRITE_TO_DB. Inside this function module there is code to clear the PSGNUM values and HLEVEL values.
for compatibility: clear administration data of data records
perform data_records_wipe
tables
t_data_records.
FORM DATA_RECORDS_WIPE
TABLES
T_DATA_RECORDS_IN STRUCTURE EDIDD.
LOOP AT T_DATA_RECORDS_IN.
CLEAR: T_DATA_RECORDS_IN-MANDT,
T_DATA_RECORDS_IN-DOCNUM,
T_DATA_RECORDS_IN-SEGNUM,
T_DATA_RECORDS_IN-PSGNUM,
T_DATA_RECORDS_IN-HLEVEL.
modify t_data_records_in.
ENDLOOP.
ENDFORM. " DATA_RECORDS_WIPE
This is the code which is clearing all the PSGNUM and HLEVEL values. After coming out of this function module we are getting the error idocs created with disturbed hierarchy.
I need to create INBOUND Idocs with the data in ABAP program.
Please let me know if any inputs? Is there any function module existing to create Inbound Idocs inside an ABAP program?
Regards -
Free Text / Catalog Shopping Cart
Hi,
I am unable to distinguish the logic required for Free Text and shopping cart catalog.
On what basis would i distinguish the logic to the workflow.
Can anyone help me in this regards,
I am facing the same issue for
Cost centre Approval
Prduct Category approval
Spend limit Approval.
For shopping Cart, How do i create the logic where there would be a distinguishing condition for the above mentioned approval process.
kindly help me !
shanky
Edited by: shanky s on Jun 15, 2010 9:23 AMHi,
If you are using Application Controlled workflow then the starting conditions for each workflow are defined in transaction SWB_COND.
The attribute &_EVT_OBJECT.EXISTFREETEXTLINEITEM& ( &EC Requirement Coverage Request.Free entry exists& ) can be used to to distinguish between free text items and catalog items. In this transaction you can search for the other attributes you wish to use in the start conditions. You can also see the list of attributes via transaction SWO1. Enter Object/Interface Type = BUS2121. Hit display and expand the attributes menu.
Kind regards,
Siobhan -
How to display error message in Shopping Cart?
How to display error message in Shopping Cart and stop the shopping cart for further processing? I try MESSAGE w001(zshop) or MESSAGE e001(zshop). But it is causing run-time error.
Hi Paul,
In the DOC_CHECK or DOC_SAVE BADI, you have a global internal table named et_messages. The structure of this table is 'bbp_smessages_badi'. You can append your error message here by inputting the message type, ID and number. The message type is either 'E' for error or 'W' for warning and the number would depend on your message class(ID). You will be able to see the error message on top of the screen, can be a red or yellow highlight depending on your appended message. I don't think creating the error message via the MESSAGE syntax will be successful, maybe this is why you are getting a runtime error.
Regards,
Noel -
HoW to ChaNGE the text in the mobile application to be in MulTi-CoLoR text
_* Do anyone can tell me how to change the text in the mobile application to be in multi-color text, to make it more interesting and increase readability?
Is it using the Graphic's paint() method? or any better suggestion?
Please give the short example if can?
Please help... "_"
Hearing from u all soon...@_@
thanks....Go into outline view. If you can see the outlines of the letterforms, you can't just change the text. If the letterforms are solid black, take the type tool, select the text and type yours.
Anyway you can just select the letters, take the type tool and type new text.
Working with the type tool is a basic. Please see the manual for details
Maybe you are looking for
-
When I click on 2014 month view in calendar iPhone 5 s stucks, lagging. What is the problem I don't know????
-
EJB Handle return remote ref fails??
Having a problem getting a remote reference on an EJB using a handle. Create a remote ref to an EJB and store three items and display said items - okay Get a handle to the remote ref and serialize and store - okay Deserialize - okay Cast to remote re
-
Please help a Newbie uninstall Adobe Active X version . . .
I have been trying to do this myself for almost 4 days now. Here's the situation and heres the problem: Situation: I installed the version I thought would fix my hesitant videos on UTube. What I see was installed is just the Active X version and not
-
Steve's book is excellent and has a very informative chart but I'm still not sure. If possible, I want to pick one combination, if possible, and stick with it, one that works great for everything getting great quality with my HFS21 -projects that win
-
Hi gyz, I have configured the document managment system successfully and I can use the functionality through cv01n,cv03n. Now how can i integrate it with ME23N so any document attach from me23n should upload in DMS...???