Application Development 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: 

hi guys doubt on bapi please reply

Former Member
0 Kudos
122

hi,

i have doubt on which import parameters to be used in the bapi BAPI_ACC_GL_POSTING_REV_POST we have posting date and document no with us we are confused about what import parameters to be sent as an input to this bapi...........

reward will be given for nice reply...............

1 ACCEPTED SOLUTION

Former Member
0 Kudos
86

hi Gokul,

in the import, REVERSAL is a structure with the following fields.

OBJ_TYPE

OBJ_KEY

OBJ_SYS

OBJ_KEY_R

PSTNG_DATE

FIS_PERIOD

COMP_CODE

REASON_REV

AC_DOC_NO

ACC_PRINCIPLE

So fill all the fields present as it is not an optional parameter.

U can go thru the FM in SE37 and find out which fields are necessary from the above .

PS: reward points if useful.

5 REPLIES 5

Former Member
0 Kudos
86

Hi Gokul.

The import parameters that need to be passed are obj_key, type and sys.

Reward if useful.

Thanks

Aneesh.

Former Member
0 Kudos
86

Give any field string (variable) of type BAPIACREV

Finally it will give these values..

Reversal document number:

o OBJ_TYPE Sender ID

o OBJ_KEY Reference number of the reversal document (source

document)

o OBJ_SYS Logical system

o OBJ_KEY_R Reference number of the document to be reversed.

0 Kudos
86

Give any field string (variable) of type BAPIACREV

Finally it will give these values..

Reversal document number:

o OBJ_TYPE Sender ID

o OBJ_KEY Reference number of the reversal document (source

document)

o OBJ_SYS Logical system

o OBJ_KEY_R Reference number of the document to be reversed.

i gave the sender id as bkpff which i was using as obj type for posting.

is obj_key the new unassigned document number in the row.

obj_sys gave the specific logical system.

obj_key_r can i give any document number generated during gl posting using bapi_acc_gl_posting_post

i even specified the other parameters such as posting date and reversal type but no reversal is done...........need more clarification on this .....

reward is sure..........

amit_khare
Active Contributor
0 Kudos
86

Check the link -

https://forumsn.sdn.sap.com/click.jspa?searchID=3066514&messageID=1930795

Also, you may refer to the BAPI documentation in SE37.

Regards,

Amit

Former Member
0 Kudos
87

hi Gokul,

in the import, REVERSAL is a structure with the following fields.

OBJ_TYPE

OBJ_KEY

OBJ_SYS

OBJ_KEY_R

PSTNG_DATE

FIS_PERIOD

COMP_CODE

REASON_REV

AC_DOC_NO

ACC_PRINCIPLE

So fill all the fields present as it is not an optional parameter.

U can go thru the FM in SE37 and find out which fields are necessary from the above .

PS: reward points if useful.