We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

[sap-acct] BAPI_PO_CHANGE cannot update version to complete

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by maverickkidf14
on Jan 5 at 1:32 AM
I'm using FM BAPI_PO_CHANGE to delete item and create new item. My problem is this FM is automatically create new version even though I pass the value that I need. My requirement is to make this version tick as completed. If i pass with some value, it will overwrite with new version created with this FM.
data: ls_intver type i.
sort ta_allversions by version descending.
read table ta_allversions index 1.
ls_intver = ta_allversions-version.
ls_intver = ls_intver + 1.
ta_allversions-version = ls_intver.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
INPUT = ta_allversions-version
IMPORTING
OUTPUT = ta_allversions-version
.
ta_allversions-completed = 'X'.
ta_allversions-created_by = sy-uname.
ta_allversions-cr_on = sy-datum.
ta_allversions-rec_time = sy-uzeit.
append ta_allversions.
Information in ta_allversion using BAPI_PO_GETDETAIL1.
Any idea? If we cannot change anything in this version management, how can I update the version to complete?
__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
View this online
  
Most Popular White Papers

In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language