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

bapi for OQN6 uploading the catelog and code groups

0 Likes
832


Hi

I got the requirement for updating the multiple catalog and code groups for the transaction  OQN6

so i want to know is there any bapi avalable for that, kindly suggest.

regards

sathya eathakota


Hi

I got the requirement for updating the multiple catalog and code groups for the transaction  OQN6

so i want to know is there any bapi avalable for that, kindly suggest.

regards

sathya eathakota

1 REPLY 1
Read only

Former Member
0 Likes
620

hi sathya,

Use below FM:

1. BAPI_PRICECATALOGUE_SAVREPLICA  - For catalog creation


  2. CALL FUNCTION 'QPGR_CODEGROUP_CREATE'   - For codegroup
           EXPORTING
                i_qpgr                  = l_qpgr_new
           IMPORTING
                e_flg_message_collected = l_flg_msg_in_log
           TABLES
                i_short_text_tab        = l_qpgttab
                i_long_text_tab         = l_qpmltxttmp
           EXCEPTIONS
                code_group_inconsistent = 1
                no_authority            = 2
                enqueue_error           = 3
                wrong_key               = 4
                code_group_not_posted   = 5.