on 06-01-2015 3:18 PM
Hello Friends,
I want to find FM to add identifiers to existing substance. This activity we manually do using tcode CG02.
I came across two FM, BAPI_BUS1077_CREATE and BAPI_BUS1077_CHANGE but I am not sure which of these I can use to add identifiers. I tried both but no success yet. So just thinking, is it even possible to add identifiers to existing substance using FM. If so kindly suggest how can I do it.
Thanks,
I find sample program RC1_1077_BAPI_EXAMPLE_GENERAL that has many scenarios along with the one that I was looking for.
Thanks a lot guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Brijesh
the ABAP example given by Romuald is a good starting point But it will help only if you define something on top:
1.) is there the need to do "update" of identifiers regularly?
2.) should it be done by user?
3.) is there the need to execute "mass" updates (rarely ? if so may be standard EHS import might be an option)
4.) the "inserting"/"update"/"delete" can as well be don using IDOCs
Some "updates" are possible as well using OCC. tale a look here:
For more references in context of BAPIs/(APIs. check e.g:
You will find lots of references
C.B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
yes, you can add or modify identifier with these two bapi
you will find a example in : RC1_1077_BAPI_EXAMPLE_CHANGE
Regards
Romuald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Remuald,
Program you suggested is really helpful to understand how this BAPI works. I checked the part for changing of identifiers, but I think in that program they are just changing the existing identifiers, not adding new identifiers (Line number 1667). Change is working fine, but not sure how I will be adding identifiers using this BAPI. Kindly suggest.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.