cancel
Showing results for 
Search instead for 
Did you mean: 

How to save oportunity assignment block data??

Former Member
0 Kudos

Hi,

I have made a new assignment block in BT111H_OPPT.

It is of value node type and linked with z table .

There is Save button on overview page to save the opportunity.

How to link this assignment block to that so that changes done to this assignment block will be saved to z table as well .

We have many validations for saving oppt and if it gets saved then only this assignment block data should be saved to ztable...otherwise nothing should get saved

Any pointers will be helpful .

Thanks in advance

kanika

Accepted Solutions (0)

Answers (1)

Answers (1)

stephenjohannes
Active Contributor
0 Kudos

Kanika,

Functionally your design is incorrect. In CRM it is okay to save any type of business transaction with errors. The concept is that a document with errors can be saved, but has an error status that blocks from further processing. The change you want to make is borderline a system modification. There are some badi's behind the scenes which if you search in the CRM General & Framework forum you can find those badis key terms: order save.

I would honestly question your requirement in the first place, as this goes against the standard design of the system.

Take care,

Stephen

Former Member
0 Kudos

Hi,

Thanks for the reply, i understand that in crm it is okay to save with errors,

but as per business requirement, we have to restrict it, and we are using order save badi

only to do that, that is not a problem as of now.

Our present requirement is to save the data in assignment block, that is based on a

Z-Table. And we want it to get saved as one logical unit, that is if overview data and

other assignment block's data is saved, then only we should be able to save our date.

Please give some pointers for the same. It would be of great help.

Thanks in advance,

Kanika

stephenjohannes
Active Contributor
0 Kudos

Kanika,

The webclient doesn't work that way. You can influence the save via the order_save badi, but honestly your business requirement is invalid with the functional design of almost every release of SAP CRM.

Once again the system is designed so that you can save documents with blocks for downstream processing until all the information is provided. The CRM system has never worked like the traditional SAP GUI(even in SAP GUI mode), where you can't save until all errors are removed.

If this is an upgrade you probably want to reconsider this requirement and look at the driver behind this business requirement. As the functionaltiy was probably put in place incorrectly in the SAP GUI, in attempt to mimic the behavior of the ERP entry screens.

Take care,

Stephen