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

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

Re: [sap-dev] BAPI For PM Order TECO

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

Reply from ashutosh-p on Dec 23 at 5:53 AM
If you need only complete order technically then you can try
IWO_AER_DL_ORDER_TECO.

Thanks.

---------------Original Message---------------
From: Prasanna Kumar Basantaray
Sent: Friday, December 20, 2013 12:28 AM
Subject: BAPI For PM Order TECO

Hi,
Check this function module, I think it will help you.

*&--- -&> Collect Object Number

wa_object-objnr = PM order object no.
APPEND wa_object TO gt_object.

*&--- ----&> Collect Object Status

wa_jstat-stat = 'I0002'. "Release
gs_jstat-inact = 'X'.
APPEND gs_jstat TO gt_jstat.
CLEAR : gs_jstat.
gs_jstat-stat = 'I0045'. "TECO
wa_jstat-inact = space.
APPEND wa_jstat TO gt_jstat.

CALL FUNCTION 'STATUS_CHANGE_INTERN_MULTI'
EXPORTING
client = sy-mandt
TABLES
status = it_jstat
OBJECTS = it_object
EXCEPTIONS
object_not_found = 1
status_inconsistent = 2
status_not_allowed = 3
OTHERS = 4.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2013 Ziff Davis, Inc. and message author.
Ziff Davis, Inc. 28 E 28th Street New York, NY 10016
ashutosh-p  

achievement
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

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