on 02-27-2007 8:21 PM
Hi Experts,
I am having a requirement where in the User wants to modify some of the contents appearing in the printout (Actually the form layout) which is coming into picture, on the ITS Web page after the Shopping cart is ordered.
-> Which FORM is invoked here ? Is it BBP_SC or BBP_PO ? I guess it's BBP_SC, right ?
-> Which BADI to use here to change the smartform ? Any sample code as well.
-> Is there any configuration settings required as well. ? Please explain with details.
Please provide your comments.
Points for sure for precise answers.
Regards
- Atul
If you have solved the problem, please post the solution. I am stuck with the same issue and all pointers lead to this unanswered post.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Atul ,
Can you please help me , i am working on the same scenario i want to change default smartform to custom adobe form .
Can u please guide me
please reply if any one could help
Thanks
sonam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot. Problem solved long time back. )
Cheers
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SmartForm BBP_SC is hardcoded in subroutine sc_print
so all the BAdIs in the world are not going to change the code ...!
we just replaced the content of the BBP_SC with what we needed, it works fine!
download the SF content in case you need to upgrade
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter:
I can see that this thread is a bit old; Nevertheless, let me attempt to give my answer.
We did create a custom smart form and it was triggered when user clicked the print button. BBP_SC wasnt triggered.
Here is the info:
Version: SRM 4.0
BADI: BBP_CHANGE_SF_SC
Impl: ZBBP_CHANGE_SF_SC
Method name: CHANGE_SMARTFORM
Code:
method IF_EX_BBP_CHANGE_SF_SC~CHANGE_SMARTFORM.
SMARTFORM = 'ZZBBP_SC'.
endmethod.
Where ZZBBP_SC is a copy of BBP_SC and then customized!
-Seyed
Hi -Seyed,
Glad it worked for you! We are on SRM 5.x, the standard SForm is truly hardcoded in sc_print ... you can chnage the HTML templates to call a custom function as well
Sometimes the follow on calls check internally for a BAdI implementation, and this might be the case here ...
since the original poster indicated that BBP_CHANGE_SF_SC did not work for him, we did not look further into it, we just zapped the standard - it's no big deal in my world ... but I BELIEVE you, man, I'll look into the standard call when I get back to work!
points to you for sure! I wonder how Atul [the original poster] made out ...?
Hi
My question has not been answered yet.
Any opinions. Suitable points are for sure.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
My question has not been answered yet.
Any other expert opinions are welcome.
Points for sure.
Regards
- Atul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
<b>I am having SRM 5.0, But when i implemented the BADI (Please see the earlier posts. The details are already pasted in the ealier posts)</b>
<u>The system is not trigerring any of the BADI Implementations
BBP_CHANGE_SF_SC
BBP_OUTPUT_CHANGE_SF</u>
How to go ahead in this case ?
Points for sure. )
Regards
- Atul
Hi Atul,
We did it for PO....Our requirement was to put logo in smartform and pull some backend specific data in PO output form.
Use Copy and copy smartform BBP_PO into some ZBBP_PO.
Make changes in smartform.
In spro
SRM-SRM server-Cross Application basic Settings->Set output Actions and output format->Define Action for output document.
Select Action profile as BBP_PD_PO
Click on processing type
choose smart form print or fax or e-mail as per your requirement and change
PO name as ZBBP_PO.
We put code to fetch logo from by writing code in smartform.
Maintained logo using SE78 transaction.
So you can look for solution in same way.
Regards,Nishant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
BBP_SC
Shopping cart layout can be changed using BADI BBP_CHANGE_SF_SC
Go to BADI -> Document Output -> Output Shopping Cart with Customer Form
Try BADI implement method -> CHANGE_SMARTFORM
and customize your own output for the shopping cart print.
Kind regards,
Yann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thanks a lot, Yann.
Yes, I Know this BADI and before posting my query, I have already created the Implementation of this BADI - BBP_CHANGE_SF_SC.
Also for the Standard Smartform - BBP_SC, I have created a copy of the same and named it as ZBBP_SC.
But the Smartform is never triggered in the ITS Web Page. The BADI implemenation is already activated.
<u>Here is the code of the Implementation</u>
If IV_BUS = 'BUS2121'.
smartform = 'ZBBP_SC'.
Endif.
Incase you this, this code is not OK, Pls advice.
Do I need to make any other configuartion settings as well.
<b>Experts comments awaited urgently.</b>
<b>Points will be surely given, once the problem is solved. ) </b>
Regards
- Atul
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.