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

Services for Object (Create , Change, Delete)

Former Member
0 Likes
859

Hi All,

Is there any sample program where we can create (Change and delete) a note in the services for object for sales order.

We have requitement where we need to develop a Z program which should have the functionality of changing or creating or deleting the Note from the services for object in sales order. the input parameter will be sales order.

Thanks.

Chindam.

5 REPLIES 5
Read only

former_member194669
Active Contributor
0 Likes
800

Simply execute OAER transaction directly or call fm 'BDS_CALL_NAVIGATOR' in your Z report.

PS you should know the "class name" "class type" and object key

a®

Read only

0 Likes
800

thanks for your quick reponse,

Can you be move speciefic on how can i achive this or if you could give me some sample code.

Thanks.

Read only

0 Likes
800

I don't have any sample code

Please check how this fm called


    CALL FUNCTION 'BDS_CALL_NAVIGATOR'
       EXPORTING
            classname      = 'BUS2037'    " Business object for sales order
            classtype      = 'BO'
            OBJKEY         = L_OBJKEY  " Sales order Number
       TABLES
            EXCLUDING      = i_excluding
       EXCEPTIONS
            INTERNAL_ERROR = 1
            OTHERS         = 2

a®

Read only

0 Likes
800

i tried with this FM but i am not able to create any NOTE for the sales order.

Is there any othere way to create change delete a NOTE from a sales order in the services for object. ( a button at the left of title bar)

thanks,

Chindam.

Read only

0 Likes
800

No more required by client.