Skip to Content
avatar image
Former Member

How to change default smartform triggered while printing for shopping cart

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • avatar image
    Former Member
    Feb 28, 2007 at 01:40 PM

    Hi

    My question has not been answered yet.

    Any other expert opinions are welcome.

    Points for sure.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Ramakrishna Potluri

      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

  • Feb 27, 2007 at 08:24 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Feb 27, 2007 at 09:12 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      Thanks for the reply.

      But here my requirement is with the Print Preview appearing at ITS Web page for the Shopping cart scenario.

      Any further precise suggestions are awaited from your end.

      Regards

      - Atul

  • avatar image
    Former Member
    Mar 01, 2007 at 02:40 PM

    Hi

    My question has not been answered yet.

    Any opinions. Suitable points are for sure.

    Regards

    - Atul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 23, 2007 at 04:49 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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 ...?

  • avatar image
    Former Member
    Aug 25, 2007 at 12:53 PM

    Thanks a lot. Problem solved long time back. 😊)

    Cheers

    - Atul

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 27, 2014 at 03:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 23, 2015 at 09:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded