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

Extension fiori application(My Quotation)

I am trying to extend the fiori application(My Quotation).

We want to add "Title" to My Quotation app.

I did following steps, but OData could not get value correctly.

1, I add "TITLE_T" to ABAP Strucsure(Data type :TDS_ODATA_QUOTATION_PARTNER_IN) by using SE11.

2, I extended OData to add "TITLE_T" by using SEGW.

I try to test OData, but the value of "Title" wasn't get correctly.(Please refer to attached picture)

I don't know which step has problem...

How can I fix it?

Thank you,

Picture1.PNG (174.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    Posted on Oct 11, 2015 at 11:40 AM

    Hi Makita,

    I think you forget to enhance the method which fills the data you've added to the structure.

    Try these steps:

    1. 1. Choose Check Project Consistency button on top left to check for errors.
    2. 2. Choose Generate Runtime Objects.
    3. 3. Choose Continue.
    4. 4. Choose your Package. In case you do not want to transport, you can use $tmp.
    5. 5. Choose Save.
    6. 6. Expand folder Runtime Artifacts in your project.
    7. 7. Double-click ZCL_Z_LORD_MY_QUOTAT_MPC_EXT.
    8. 8. In the right screen area, double-click the ZCL_Z_LORD_MY_QUOTAT_MPC_EXT.
    9. 14. Expand Methods -> Inherited Methods in the navigation area.
    10. 15. Right-click DEFINE and select Redefine.
    11. 16. Select the Redefinitions and double-click DEFINE.

    Implement the required ABAP code to fill your data in the structure.

    This code could be an example:

    method DEFINE.
    super->define( ).
    model->get_entity_type( 'Partner' )->get_property( 'PartnerFunction' )->set_conversion_exit( '' ) ##NO_TEXT.
    endmethod.

    I hope it helps.

    Br,

    David

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2015 at 02:50 AM

    Hi Makita

    I'm not familiar with this particular service, but currently all I see that you've done is extend the structures and service. I imagine there would still be coding required to retrieve the Title value.

    If this value is not available as standard in the routine which retrieves the other values you may need to enhance that object

    Regards

    Arden

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2015 at 05:36 AM

    Hi Makita,

    To add fields at the top of the customer details section in edit and create mode.

    View - CreateQuotation.view.xml

    Extension point- extEditQuotationCustDetailsTop



    regards,

    Ashish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2015 at 09:37 AM

    Hi Makita,

    You should enhance the object.

    you should fetch Title information from badi.

    Go to Enhancement spot- se18. Add your logic 😊

    Thanks,

    Karthik A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2015 at 04:44 AM

    Hi, Expert

    Thank you for replying.

    I have to do follow steps, right?

    1, Add new field(Title) to ABAP Structure(SE11)- ---> Done

    2, Add new field(Title) to OData(SEGW) ---> Done

    3, Add new field(Title) to BADI ----> not yey

    4, Etend UI by using Eclipse.

    Thank you,

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 10, 2015 at 07:25 AM

    Hi Expert

    I can Extend Title field, but still cannot get value of Title...

    How can I get value of title?

    Thank you,


    Capture2.PNG (56.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 11, 2015 at 02:09 AM

    Hi Expert

    I solved this problem by using other field, Incoterms.

    The document David shared was very useful.

    Thank you for your help.

    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.