Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

Custom fields are not clearing while creating new transaction

$
0
0

Hello Experts,

 

I have one issue in SAP Web UI.

I have 3 custom fields in my sales agreement .Creating sales agreement is working fine after that I immediately creating another sales agreement using "New" button on the tool bar. Now my custom fields are not clearing the old values and it is by default in read only mode.

So I used little bit piece of code in do_prepare_output.

 

IF lr_docflow IS BOUND.

      lr_docflow->delete( ).

      lr_core = cl_crm_bol_core=>get_instance( ).

      lr_core->modify( ).

      me->ztyped_context->btdocflow->on_new_focus(

                   focus_bo = lr_docflowset ).

 

ENDIF.

 

But now  again I am facing another issue, which is after completion of  new sales agreement from "New" button , every thing fine,but If I open the same sales agreement  ,custom filed values are not displaying the values which I used while creation.

 

 

Finally I understood .problem is with Clearing old values.

can any body please help me here?

 

Regards.

Kiran


Viewing all articles
Browse latest Browse all 4552

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>