Skip to Content
author's profile photo Former Member
Former Member

SRM PO SMARTFORMS

Hi friends

I’m working on Standard SRM PO smartforms ‘BBP_PO’. Since standard form does not have fileds like ‘PRODUCT CATEGORY , MATERIAL NUMBER , PRODUCT CATEGORY DESCRIPTION , MFG NAME , PART NUMBER ‘ , I’ve to customize stand. Form. My question is how to bring values of these new fields to the form. Do I need to write any badi? Also can anyone tell my which database table above fields belongs. Helpful answers will be rewarded.

Thanks

-Nash

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Feb 26, 2007 at 04:02 PM

    Hi Nash

    Most of the data is available in the form in Global definitions. You just have to use them in the form.

    Check the fields available in global definition:

    1) txn SMARTFORMS, select form BBP_PO and click on change

    2) Form BBP_PO->Global settings->Global Definitions

    3) Check the tab : Global data

    WA_Item has associated type BBP_PDS_PO_ITEM_D; check the fields available by double clicking on it. You will see product category etc fields there..

    Similarly explore other variable there and you will find that most of the PO info is available.

    Check the initialization. Most of the item data available in lw_item.

    Best regards

    Ramki

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 05:57 PM

    Hi Nash,

    You can copy the standard smartform to a 'Z' smartform, then using the BBP_OUTPUT_CHANGE BADI you can tell the system to take the copy instead of changing the original one...

    There in the 'Z' you can add whatever validation, fields, boxes... etc..

    IF you need any further help to achieve thru this way, just let me know.

    Regards,

    Gerardo.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2007 at 06:49 PM

    Hi Nash,

    This is more easy in smartforms.

    Use transaction ; Smartforms

    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.

    You can code all the logic inside smartform itself.You can put code in smartform.

    You can format smartform output in the way you want using form painter.

    regards,nishant

    please reward if this helps

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2007 at 10:51 PM

    Nash,

    Now you have two different approaches to a same solution:

    - Create a 'Z' copy of the original smartform.

    Choose the way to implement it:

    <b>a) Thru BADI (BBP_OUTPUT_CHANGE)</b>

    - Advantages:

    You can set conditions according the parameters that you receive in the BADI to switch or not between standard or 'Z' smartform.

    Easy to disable the use of the 'Z' smartform: Deactivating the BADI the system will come to the original state, starndard form.

    - Disadvantages: Development effort also for Badi.

    <b>b) Thru SPRO (as Nishant says)</b>

    - Advantages: Easy to enable the use of the 'Z' smartform.

    - Disadvantages: No conditions can be set, the smartform will come always the same.

    Hope this helps you to decide between both options that you have.

    Please reward if helpful...

    Regards,

    Gerardo....

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 08:05 AM

    Hi

    <u>Hi Nash,</u> you can use the <b>BBP_PD_PO_GETDETAIL and BBP_PD_SC_GETDETAIL Fuction modules</b> to fetch the required data in your case.

    I am also having a similar requirement, where in the user wants to change the Smartform which is coming into picture, on the ITS Web page after the Shopping cart is ordered.

    <b>-> Which SMARTFORM is invoked here ? IS it BBP_SC or BBP_PO ?

    -> Which BADI to use here to change the smartform ?

    -> Is there any configuration settings required as well. ?</b>

    Please provide your comments.

    Regards

    - Atul

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.