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

PR Creation using a BAPI

anup_deshmukh4
Active Contributor
0 Likes
966

Hello experts ,

I want some solution for the following scenerio

I have some zz fields in EBAN ( PR master table )

I want to create a PR using a BAPI ( strictly ) Simultaniously i want o update my Zfields in the table

What are the possible solution ,

How Can i add some passing paramaters to BAPI by extending some standard structre or table so that my zee fiels in eban also get updated

7 REPLIES 7
Read only

Former Member
0 Likes
914

Hello ,

Use FM BAPI_REQUISITION_CREATE . In this you need the fill the parameter EXTENSIONIN with the additional fields in EBAN..

Read only

0 Likes
914

how am i going to update the fields to update EBAN zee fields ...using extention

Read only

0 Likes
914

Hello,

Here you have the pass the name of the append structure and concatante the values of those fields and pass to valuepart1

field.

data : i_extensionin type table of BAPIPAREX,

w_extensionin type BAPIPAREX..

w_extensionin-STRUCTURE = (Name of the append structure)

w_extensionin-VALUEPART1 = concatenated values of the custom fields.

Read only

0 Likes
914

Thanks buddy let me check ...!

Edited by: Anup Deshmukh on Dec 23, 2009 10:15 AM

Read only

0 Likes
914

The Fields are not getting updated though i have given correct structre name and Concatination is also correct

What do i do hello experts please help

Edited by: Anup Deshmukh on Dec 30, 2009 1:31 PM

Read only

0 Likes
914

Hi Anup,

Check if these links helps you in getting some idea:

http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend

Regards,

Swarna Munukoti

Read only

anup_deshmukh4
Active Contributor
0 Likes
914

Self answered