on 12-18-2017 2:39 PM
Gowtham, It is mostly because you have not filled the export parameter es_attachment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes the answers was helpful, i missed the below step and now it is working fine.
copy_data_to_ref(
exporting
is_data = ls_gow_product
changing
cr_data = er_entity ).
Thanks all for their inputs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gowtham,
As mentioned by Krishna, as a rule of thumb you should always fill the exporting parameter er_entity in case of any Create or Update method.
Framework always expects the created/updated value which shoud be rendered back to UI. Attachments/media is an excpetion here where we export other file attributes Like created by, creation date etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gowtham Raja M,
Could you put an debugger in your create stream method and check if it is getting triggered or not. Also, go through this blog to check if you are doing any mistake.
Regards,
Arjun Biswas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gowtham Raja M,
This usually happens when your fields in OData and the fields in your SE11 table do not have matching types. I would suggest you to verify the types once, also if there are any date fields, make them null in the entity types section.
Regards,
Arjun Biswas.
Hi,
I don't understand your scenario, why is your code there? What do you have in the GetEntitySet (Query)? GetEntity (Read)? Is that service linked to where?
Share the whole dump...and maybe what you have done/trying to do, because there are a lot of question marks here...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to add more code snippets. All the relevant places you placed ABAP in. It seems like some field symbol you are using is not assigned when you are trying to access it.
Hi,
Debugger is getting triggered?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.