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

Update RFx document from custom fields webdynpro

Hi All,

I am in SRM 7. I have a custom table enhanced to a standard view in bid invitation header.

Based on the product categories entered in the table, I am filling the values in the table and printing it on header. The table also has some input enabled fields. I need to update the bid invitation header once the user has entered any values.

How do I achieve this?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 17, 2012 at 02:46 PM

    Hi,

    You can add header fields without creating an enhancement point in any standard view and the customs fields are saved automatically in DB.


    Check the following link:

    http://scn.sap.com/docs/DOC-25692

    In your case if you want a table you need to create the fields in substructure THCUS.

    You can go to SPRO to the following path:

    SAP Supplier Relationship Management-> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Create Table Extensions and Supply with Data -> Define Customer Table Extensions on Header Level

    Add an append structure with the fields you want. Then for set to visible this fields you need to go to SPRO to:

    Control Table Extensions and Their Fields and Actions -> Set Visibility of Table Extensions

    If you add the table in that way you can use the badi BBP_DOC_CHANGE_BADI and you have all the fields in the parameter ET_HCF, so you can update easily the header using the parameter ES_HEADER.

    If you want to do it anyway from the WebDynpro, you need to use the attributes of the view, check the methods, you probably need to use the method /SAPSRM/IF_CLL_MAPPER~UPDATE and maybe add an enhancement point in that classes...

    Hope this help you.


    Regards,

    Ricardo.

    EDIT: a link to the wiki http://wiki.sdn.sap.com/wiki/display/SRM/Table+extensions+in+SAP+SRM+7.0

    Message was edited by: Ricardo Romero

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Gayathri,

      Did you check if the custom field entry is available in Configure Field Control in SPRO , sometimes if you miss that the custom fields dont appear in the UI.

      For F4 help thats a lot of coding in the webdynpro side where in you will have to associate an action to each field and hence populate your F4 values.

      Let us know if you are still stuck on the F4.

      Regards,

      Naveen

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.