Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

To use Append structure to rectify the error

Former Member
0 Likes
959

Hi,

I am using ECC 6.0.Here i am having a class CL_DPR_CONTROL_PLAN_VERSION_O.

In this class there is a method CREATE_OBJECTS.

Inside this method there is a BAPI.

This BAPI is having several table parameters.But the the formal parameters passing to this BAPI is having a mis match in structure with the actual parameters.

So can i go forward and use the append structure to add those fields to the tables.

For example the to the table parameter materialtaskallocation they are passing a table which is having less number of fields.The table they are passing is of type dpr_cp_bapi1191_mtk_c.So can i go inside this table and use the append structure to add the missing fields.

Please give your suggestions.

Thanks&Regards

Ansari

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
930

Hello Muhammed

Perhaps OSS note <a href="https://service.sap.com/sap/support/notes/900591">Note 900591 - Inspection plans in cProjects in connection w/ DI system</a>

may be useful.

Regards

Uwe

Hello Muhammed

Perhaps OSS note <a href="https://service.sap.com/sap/support/notes/900591">Note 900591 - Inspection plans in cProjects in connection w/ DI system</a>

may be useful.

Regards

Uwe

6 REPLIES 6
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
930

Hi,

THis should not be a problem, since append strcuture does not mean any modification you can go ahead and make the changes it solves your problem.

Regards,

Sesh

Read only

Former Member
0 Likes
930

Hi,

Generally it is not recommended to do so. Please search for an appropriate SAP Notes using the BAPI name or the structure name which you are talking using SAP Service Market place site and implement the corresponding SAP Note.

There'll surely be an SAP Notes for this or raise an issue if this is not there to SAP Standard.

Please let me know if further details are required from my side.

Thanks & Regards,

Goutham.

Read only

0 Likes
930

Hi Goutham,

I searched for SAP Notes using the BAPI name & Class name. I am unable to find the suitable Note for the same.

Is it advisable to append the structure or will it affect somewhere else.

Read only

0 Likes
930

Hi Ansari,

I do not have access to the SAP Service Market Place.

But if you are sure there is no SAP Notes provided, Please raise it to the SAP Standard with High/Medium priority they 'll definitely get back with a solution. As implementing such changes with SAP Notes is more preferred than any other approach (even without modifying standard). As during later upgrades we do not have any severe situations with transaction SPDD.

Thanks & Regards,

Goutham.

Read only

uwe_schieferstein
Active Contributor
0 Likes
931

Hello Muhammed

Perhaps OSS note <a href="https://service.sap.com/sap/support/notes/900591">Note 900591 - Inspection plans in cProjects in connection w/ DI system</a>

may be useful.

Regards

Uwe

Read only

0 Likes
930

Hi,

Thanks for reply.

As per SAP note 900591, i can use append structure to add the fields.