Skip to Content
author's profile photo Former Member
Former Member

BDC or BAPI for HUP1 transaction?

Dear All,

I am trying record HUP1 transaction but not able to get HU number in recording.

Even I tried BAPI_HU_CREATE for creating HU number and this BAPI creates HU number but when I saved HUP1

the system genrate one more HU number (new HU number).

Please Suggest me the any solution for HUP1 recording.

Hu Number creation is done in background .

Help will be appriciated.

Thanks and Regards

Steve

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2010 at 07:23 AM

    Dear All,

    Anybody having any idea on above HUP1 recording .

    Please suggest.

    Regards

    Steve

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2010 at 01:25 PM

    Hi,

    BAPI itself creates the HU. You need not save it again in HUP1.

    Generated HU could be identified using HU_EXID.

    Hope it helps.

    Sujay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2010 at 05:39 AM

    Hi Steve,

    BAPI_HU_CREATE itself creates HU. You can refer the HU number genrated by this BAPI itself. I hope you are calling bapi as below:

    CALL FUNCTION 'BAPI_HU_CREATE'
                EXPORTING
                  HEADERPROPOSAL = L_WA_HU_HEAD
                IMPORTING
                  HUHEADER       = L_WA_HU_HEADER
                  HUKEY          = L_V_HU_NUMBER
                TABLES
                  ITEMSPROPOSAL  = L_I_HU_ITEM
                  RETURN         = I_HU_RETURN
                  HUITEM         = L_I_CREATE_HU.

    Here, L_V_HU_NUMBER is the HU generated.

    Thanks,

    Archana

    Edited by: Archana Pawar on Sep 29, 2010 7:47 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 05:57 AM

    answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.