cancel
Showing results for 
Search instead for 
Did you mean: 

Error message 173-36 when using Add mode in SAP Add-on

Former Member

I have created an ADD ON application that includes file maintenance on some master data type user defined tables (SAPbobsCOM.BoUTBTableType.bott_MasterData). When I try to add a new record to one of my tables, using a form that I created in my add on application, I am receiving the following error message in the red line area on the bottom of the screen, meaning that it is an error coming from SAP B1, and not from my add on:

Invalid code [Network master] [Message 176-36].

Network master is the name of the user defined table that I am trying to add a record into. Now, if I just ignore the message and hit the add button again, the record gets added to the table. But I need to figure out what is causing this error message so that I can get rid of it. I have tried to debug my code, but I cannot find the specific place where the error message is originating from. I only know that it is somewhere between the time I press the add button, and the time the form is reloaded to the screen. I have other user tables and maintenance forms in my application that are adding records without this error. How can I find out what is causing this error message? Thanks,

Nancy Walk

nwalk@socket.net

Accepted Solutions (1)

Accepted Solutions (1)

Trinidad
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nancy,

Are you using UserDefinedObjects together with your MasterData table?

MasterData and Document tables types are designed to work with UDOs. Then when you create your form you link this form to your UDO and the Add/Update/Find button works automatically.

When you create a MasterData table you have automatically a field called Code and another called Name. This two fields must be shown in your form and filled by the user or calculated in your code before the Add action takes place. Is it your case? It seems like you are trying to insert twice the same code or you don't fill the Code information...

Regards

Trinidad.

Answers (0)