Skip to Content
avatar image
Former Member

FPM - Dropdown List in form UIBB not working and how to passing data to another component

Hi Experts,

I am new to FPM. I am facing some problems and hope Experts can tell me whether the way I am using currently is correct.

I created a field call Bill-to party in Document Header section. When user choose the partner number from that Bill-to field, the partner details should reflect at Business Partner tab based on the selected bill-to partner. See screenshot Pic1.

pic1.jpg

I checked the partner info in Business Partner tab will be save to backend. See screenshot Pic3.

pic3.jpg

During development, I encountered these problems.

1. Bill-to party dropdown list is not working properly. I managed to create dropdown list for bill-to which it will only show the available bill-to partner number based on the sold-to party. The selected value from dropdown list show in input field but within second it will disappear. I already make sure CV_DATA_CHANGED = abap true but is not helping. See screenshot Pic2.

pic2.jpg

2. Both of document header and business partner tab are different components and structures. The document header structure is TDS_HEAD_COMV and business partner is TDS_PARTY_COMV. How to make sure the selected bill-to partner is reflected on the Business Partner tab automatically.

pic1.jpg (33.1 kB)
pic3.jpg (45.1 kB)
pic2.jpg (24.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 27, 2017 at 08:30 AM

    Hi,

    1. It seems like you overwrite the dropdown value in the get_data method. But without seeing your code I can't tell you where the error is.

    2. For how to pass data from one component to another, please refer to:

    https://blogs.sap.com/2012/12/01/data-exchange-possibilities-in-floorplan-manager/

    Add comment
    10|10000 characters needed characters exceeded