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

divbep

Hi All,

Can any one kindly give me the solution for this.

I have to pass the quantity field to divbep-wmeng.

in the userexit include zxvdbu01.

but it is giving the runtime error while moving the divbep data to work area(like non convertable.)

tha run time error is UC_OBJECT_NOT_CONVERTIBLE.

Is Divbep some thing different to othe internal tables

like dxvbap,dxvbak.

Please kindly suggest me how declare a wa for this divbepa and how pass the data.

Thaks in Advance.

Thanks&Regards.

Ramu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2006 at 06:10 AM

    HI Ramu

    Please note that if you are passing the data w.r.t structures both should be same in UNICODE enabled systems.

    Alternatively if you just need to pass the quantity, do it explicitly like in below example.

    data:l_qty like divbep-wmeng.

    • populate the quantity with the value

    • now pass the quantity like

    divbep-wmeng = l_qty.

    I guess this will resolve your problem.

    Kind Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      the include is zxvdbu01(exit_saplvedb_001).

      the divbep is releated to unicode program.

      i find a statement in abapdocu like

      MOVE-CORRESPONDING STRU 1 TO STRU 2.

      this statement is for unicode programs to pass the field values.

      THIS statement saloved my problem.

      Thanks&Regards.

      Ramu.

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2006 at 01:46 PM

    Ramu,

    Especially in a Unicode enabled system the source and the target should be of same type. Where as this not the case in a non-unicode system.

    Hence you may need to make the source and target of same type. I believe after that a individual MOVE: for each field will be a solution

    Hope I could help you.

    thomas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 16, 2006 at 07:33 AM

    HI Ramu,

    Just declare 1 variable of type c as below-

    DATA: qty(19) TYPE c,

    and now transfer the value of tht field into this variable like-

    qty = itab-kwmeng.

    Hope this helps!!!

    Regds,

    SeEmA.

    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.