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

Imposible to update Z-Fields appended to EBAN

Hi gurus

There are Z-fields added to the table EBAN (purchase requisition) and wish to modify the value of these fields through a BAPI (BAPI_PR_CHANGE)

I know that I have to do by filling out the parameters of the table EXTENSIONIN but I have done all the tests possible and couldn't

I call BAPI_PR_GETDETAIL to see how fills EXTENSIONOUT table and then i put the same parameters into EXTENSIONIN to call BAPI_PR_CHANGE and no results

These are the Z fields added to EBAN

PRIO_REQ <----- This is the last standard field of EBAN

.INCLUDE CI_EBANDB <---- Include where Z-fields are in

ZBUYER ZBUYER CHAR 12

ZNMBUY ZNMBUY CHAR 30

ZBUQUE CHAR 20

ZMOTOR CHAR 20

ZNPARTE CHAR 6

ZBUYER2 ZBUYER2 CHAR 12

ZBUYER3 ZBUYER3 CHAR 12

I see that the Z-fields are added on INCLUDE, not APPEND and i don't know if this is a problem, otherwise i hope someone can bring some ligth to this because is a big problem, i only can update these fields throug ME52N and can't make batch input to this transaction

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 19, 2008 at 12:58 PM

    HI

    Try to implement the Business addin ME_BAPI_PR_CUST

    i.e., the method INBOUND.

    and check the changing parameter CH_EXTENSIONIN

    I think the badi will be triggered for the bapi BAPI_PR_CREATE, check if the same is useful for BAPI_PR_CHANGE as well.

    <REMOVED BY MODERATOR>

    With Regards,

    Dwarakanath

    Edited by: Alvaro Tejada Galindo on Mar 19, 2008 6:06 PM

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      i've implemented this badi but i realise i only can check parameters passed to bapi, i haven't acces to eban structure to pass the fields values to Z-fields in EBAN

      Anybody can fill Z-fields of EBAN (Purchase requisition) though BAPI_PR_CREATE/CHANGE

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.