BAPI or FM for CHANGING Internal Order
Hi all,
I am looking for a BAPI or Function module for changing a End of Work field (DATE field) for that Internal Order. Transaction for internal order KO02
Please suggest.
Edited by: Anu on Jul 6, 2009 3:30 PM
Look at [BAPI_INTERNALORDER_SAVEREPLICA|https://forums.sdn.sap.com/search.jspa?objID=c42&q=BAPI_INTERNALORDER_SAVEREPLICA] (parameter MASTERDATA field DATE_WORK_ENDS)
Regards,
Raymond
Similar Messages
-
BAPI or FM for changing Purchase Order
Hi,
Does anybody know a BAPI or FM to change Purchase Order item details. I looked for a BAPI but only found for creating and listing.
thanks.I think this is becuase the BAPI for PO change has not been "released". If you use transaction BAPI, then click the filter button, then select "All", the PO change bapi will appear int he MM-> purchasing-> purchase order hierarchy. (BAPI_PO_CHANGE)
Although it is not officially "released", neither is the function module to do the same task. We use the BAPI on a regular basis, and it works fine. I think unreleased just means you will get no support if you use it, and SAP can change it at any time.
I am not sure what makes a BAPI go from un-released to released... -
Bapi for changing internal order settlement rules
Hi
I'm looking for BAPI to add/ modify settlement rules in internal order (like in tc KO02). BAPI_ALM_ORDER_MAINTAIN seems not working, and there's only BAPI_INTERNALORDER_CREATE and GETITEM in internal order group ( there's no MAINTAIN ).
Is there another BAPI to do this? of FM?
regards
Wojciech.Thanks for help but this links points to discussions abut creating internal order. I want to change one. BAPI_INTERNALORDER_CREATE does not allow to change orders ( i've just tested it.)
regards
wojciech -
BAPI/Function Module for posting internal order + cost center plan
Hi Guru:
Is there any function module/BAPI, which could be used to post internal order + cost center( both of them )plan data?
Like post a record:
internal order = 10000
cost center = C1000
amount = 1000$
for plann version 30?
It seems the BAPI could only contain 1 cost object, either cost center or internal order.
Thanks.
EricHi again,
I think you may have missed something important here. In R/3 there can only be a single "real" cost object for any one posting. If not then the whole SAP financail model would collapse as there would be "double postings" and that is certainly not wanted.
If there is a need to post to two cost objects, like in your case, then one of the cost objects MUST be statistical.
In your scenario SAP has thought of a solution that might be of help for you. An internal order can be set to be statistical in master data. When posting to both the cost center and the internal order then you will get a real posting for the CC and a statisitical posting for the IO. Reporting does work with this as per your requirement.
Hope this gives you some hints for how to proceed.
Regards, Johan
Aaaaah. Noted that this was only plan data. Sorry. But the same still applies for plan data postings as well as for actual data postings. If there should be just one posting that could be "drilled down" from IO to CC -> If you post twice then, when doing "Grand total" for instance, double values would appear. So, still IO should be statistical. //Johan
Message was edited by: Johan von Reedtz -
Prompt please, whether is what either BAPI or FM for deblocking pp-orders
Hello.
Prompt please, whether is what either BAPI or FM for deblocking pp-orders (STAT=I0002, it is similar to that, as for example does transaction CO02, COHV).
Im voraus danke,
Anton.Manish:
A connection object cannot exist without an address, and has only one, so deletion is not possible. You can change the address of a CO, or you can mark them for deletion.
regards,
bill. -
Changing internal order's via Inbound IDOC
Hi,
We are having Inbound interface set for creating internal order's using message type 'INTERNAL_ORDER_CREATE01'.
But when any existing internal order is changed it is giving status 51 with error 'Order already exists'.
I am wondering how can we handle the changed order situation via inbound IDOC . Is it possible to do it via message type 'INTERNAL_ORDER_CREATE01'.
Regards,
ganeshHi ganesh,
The idoc Status 51 for indound idoc is....
51 Application document not posted
the possible solution is checkthe Partner profile for the Idoc and Port number..
and go to T_code we20 and check the Partner.and check the Syntax in the application tool bar...
then you will come to know the problem..
and if you wan to changed order situation via inbound IDOC , yes it is possibel.
go to t-code we57 and check the Function module attached to the message type .
and go to FM and find hte customer exit and read the segment which contains order situation and modify the segment..
i hope this will solve the problem..
Regards,
Prabhudas -
Standard report for settled internal orders
Hi All,
Is there any standard report available in Asset for settled internal orders.
We can able to see in S_ALR_87013019. But all Internal orders are appearing. I am not able to see settled orders. How to identify those... (Like flag color difference should be required for settled and open).
Thanx in advance.
Regs,
BhaskarHi All,
Is there any standard report available in Asset for settled internal orders.
We can able to see in S_ALR_87013019. But all Internal orders are appearing. I am not able to see settled orders. How to identify those... (Like flag color difference should be required for settled and open).
Thanx in advance.
Regs,
Bhaskar -
FBE2: BAPI or FM for Changing and Deleting Payment Advice
Hi,
I am looking for BAPI or FM for changing & deleting payment advice as we can accomplish from FBE2.
This is EC 6.0 upgrade issue for not be able to post using CALL TRANSACTION in background mode.
I tried the below FM's in the Function group FARMATCH, but all have them have the follwing code to select payment advice Header Table [AVIK].
SELECT * FROM AVIK INTO TABLE LT_AVIK WHERE (LT_WHERE) AND
AVSID LIKE '09%'. "This is not the case for my requirement
FARMATCH_CHANGE_PAYMENT_ADVICE
FARMATCH_DELETE_PAYMENT_ADVICE
I found another set of FM's REMADV_CHANGE & REMADV_DELETE but I am not sure if i can
achieve the same functionality of change and delete that we can do using FBE2.
If anyone had similar scenario, Appreicate your feedback.Below is a sample code.
I am able to delete the details....
Take a look...:)...imp to add wait for few seconds
REPORT z.
PARAMETER: vbeln TYPE vbak-vbeln.
PARAMETERS: fplnr TYPE fplnr.
DATA: t_zfpla TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_zfplt TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fpla_new TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fpla_old TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fplt_new TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fplt_old TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
*DATA fplnr TYPE fplnr.
IF NOT vbeln IS INITIAL.
SELECT SINGLE rplnr INTO fplnr FROM vbak WHERE vbeln = vbeln.
ENDIF.
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = fplnr
TABLES
zfpla = t_zfpla
zfplt = t_zfplt.
LOOP AT t_zfpla.
MOVE-CORRESPONDING t_zfpla TO t_fpla_old.
t_fpla_old-updkz = 'D'.
APPEND t_fpla_old.
ENDLOOP.
LOOP AT t_zfplt.
MOVE-CORRESPONDING t_zfplt TO t_fplt_old.
t_fplt_old-updkz = 'D'.
APPEND t_fplt_old.
ENDLOOP.
BREAK-POINT.
*CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
DATA fpltr TYPE fpltr.
CALL FUNCTION 'BILLING_SCHEDULE_MAINTAIN'
EXPORTING
I_FPLA =
I_FPLT =
i_upd_fpla = 'X'
i_upd_fplt = 'X'
i_fplnr = fplnr
IMPORTING
E_DATALOSS =
E_UPD_FPLA =
E_UPD_FPLT =
e_fplnr = fplnr
e_fpltr = fpltr
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
WAIT UP TO 2 SECONDS. -
Make cost center default for an internal order
Hi friends,
I want to make the cost center default for an internal order type. Can you please tell me how can i achieve that.
Regards,
Wasim.Hi Atif,
thanks for your valuable reply but i am having different cost element depending on what is ordered. Is there anyway we can achieve this.
Regards,
Wasim. -
BAPI or FM for deblocking pp-orders
Hello.
Prompt please, whether is what either BAPI or FM for deblocking pp-orders (STAT=I0002, it is similar to that, as for example does transaction CO02, COHV).
Im voraus danke,
Anton.Answered.
-
SRM 7.0 Output for changed purchase order documents
Hi all,
if we change purchase orders we like to send a PO output document for changed purchase orders only if we change certain PO fields in header or items.
What is the functionality in PO - Header - Output - Order and Send Immediatelly ? We thought that this function is the solution!
But independent we press the button <Order and Send Immediatelly > or button <Order> the system creates allways an output document in any cases of PO field changes which will be sent to a supplier (fax, email). How we can control that a PO document only will be created in cases we define ?
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 28, 2011 6:53 PMHi Jay,
we like to control the output because PO changes for G/L account, cost centre or change from account assigment order to cost centre are not interesting for the supplier and in this cases a PO document should not be sent to the supplier. This was the main reason why we like to use function <Order and Send Immediatelly>.
So I would like to clarify the requirement:
1. Automatic created output document if a new PO will be created
2. Automatic created output document if a PO will be changed but no output if the following fields will be changed:
e.g. for G/L account, cost centre or change from account assigment order to cost centre
So we come back in our discussion to table: BBPV_COMP_FIELDS. There are entries for POO = PO Output and POR = Version comparison for Purchase Order.
Question: Can I use structure name: BBP_PDS_ACC for our requirement. If yes which field-names I have to maintain in detail in this table. If possible I need the entries in detail.
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 30, 2011 9:20 AM -
BAPI for changing Work order user status in IW32
Hello Experts,
I am getting Same Problem in updating status via BAPI, BAPI_ALM_ORDER_MAINTAIN. Its not giving any error but even not update status.
I know i can use this for changing the user status also but not sure how to carry out things.
I used this code.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-change_event = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee TrivediI am getting Same Problem.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-CHANGE_EVENT = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee Trivedi -
BAPI or FM for changing billing plans of a sales order
Hi guys,
I tried the FMs BILLING_SCHEDULE_SAVE and BILLING_SCHEDULE_MAINTAIN for updating the billing plan of an SO but it doesn't work. Tried adding coomit work after calling the FMs but didn't affect the results.
Can anyone provide me with a BAPI or FM for updating the billing plan?Below is a sample code.
I am able to delete the details....
Take a look...:)...imp to add wait for few seconds
REPORT z.
PARAMETER: vbeln TYPE vbak-vbeln.
PARAMETERS: fplnr TYPE fplnr.
DATA: t_zfpla TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_zfplt TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fpla_new TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fpla_old TYPE STANDARD TABLE OF fplavb WITH HEADER LINE.
DATA: t_fplt_new TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
DATA: t_fplt_old TYPE STANDARD TABLE OF fpltvb WITH HEADER LINE.
*DATA fplnr TYPE fplnr.
IF NOT vbeln IS INITIAL.
SELECT SINGLE rplnr INTO fplnr FROM vbak WHERE vbeln = vbeln.
ENDIF.
CALL FUNCTION 'BILLING_SCHEDULE_READ'
EXPORTING
fplnr = fplnr
TABLES
zfpla = t_zfpla
zfplt = t_zfplt.
LOOP AT t_zfpla.
MOVE-CORRESPONDING t_zfpla TO t_fpla_old.
t_fpla_old-updkz = 'D'.
APPEND t_fpla_old.
ENDLOOP.
LOOP AT t_zfplt.
MOVE-CORRESPONDING t_zfplt TO t_fplt_old.
t_fplt_old-updkz = 'D'.
APPEND t_fplt_old.
ENDLOOP.
BREAK-POINT.
*CALL FUNCTION 'BILLING_SCHEDULE_SAVE'
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
DATA fpltr TYPE fpltr.
CALL FUNCTION 'BILLING_SCHEDULE_MAINTAIN'
EXPORTING
I_FPLA =
I_FPLT =
i_upd_fpla = 'X'
i_upd_fplt = 'X'
i_fplnr = fplnr
IMPORTING
E_DATALOSS =
E_UPD_FPLA =
E_UPD_FPLT =
e_fplnr = fplnr
e_fpltr = fpltr
TABLES
fpla_new = t_fpla_new
fpla_old = t_fpla_old
fplt_new = t_fplt_new
fplt_old = t_fplt_old.
WAIT UP TO 2 SECONDS. -
Function Module/Badi to change internal order
Hi All,
Can any one please let me knw the FM or BADI to change an internal order.Hi Shilpa.
I would like to suggest a few,
BAPI_INTERNALORDER_CREATE - Create Internal Order From Transferred Data.
BAPI_INTERNALORDER_GETDETAIL - Delivers master data, statuses, and allowed transactions for internal orders
BAPI_INTERNALORDER_GETLIST - Delivers lists of internal orders according to various criteria.
BAPI_INTERNALORDER_SAVEREPLICA - Replicate Individual Internal Order (ALE).
A few more apart from BAPIs are -
ALE_INTERNALORDER_CREATE
ALE_INTERNALORDER_DB_CHANGE
ALE_INTERNALORDER_SAVEREPLICA
IDOC_INPUT_INTERNAL_ORDER
IDOC_INPUT_INTERNAL_ORDER_CREA
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Edited by: Harsh Dave on Jul 14, 2008 2:37 PM
Edited by: Harsh Dave on Jul 14, 2008 2:40 PM -
Is there a way to redetermine the cost center for an internal order on a PO
When we create a PO for an asset we enter an internal order number and a cost center is determined from the internal order. Sometimes after the po is created the cost center on the IO changes. The po is not updated automatically on the PO and it results in the wrong cost center being posted to during the Goods Receipt and invoice receipt. Is there a program or batch job that we can run that will redetermine the accounting data on a PO?
Thanks!
Chris LintnerWhen we create a PO for an asset we enter an internal order number and a cost center is determined from the internal order. Sometimes after the po is created the cost center on the IO changes. The po is not updated automatically on the PO and it results in the wrong cost center being posted to during the Goods Receipt and invoice receipt. Is there a program or batch job that we can run that will redetermine the accounting data on a PO?
Thanks!
Chris Lintner
Maybe you are looking for
-
Error: FF805 Tax statement item missing for tax code O0
Hi Gurus We are working in Upgrade Project 4.6C to ECC 6 We are getting an error when releasing billing document to accounting in ECC 6 System. Error: FF805 Tax statement item missing for tax code O0 No tax item exists for tax code O0 in a
-
In some folders I get duplicates (or even multiple) copies of the same photograph. How do I stop this happening or when it does how do I delete the extra copies I don't want. Plus from time to time the photos in one folder will appear in another?
-
Sales area and sales office not displyed in bp
Hi all, i'm new to crm , when i'm creating BP i'm not getting my sales area and sales office data in BP sales area data tap. Please provide me solution for this issue. Thanks and regards kesav
-
i made the update for IOS 6 with the latest version of iTunes and it downloaded the latest version of IOs 6 after that, when it was trying to intall the update it gave me an error ( error (6) ) , now my iPhone is in the stage where it shows me a c
-
Adobe Premier Elements 12 lässt sich nach Installation nicht öffnen.
Adobe Premier Elements 12 lässt sich nach Installation nicht öffnen. Der Startbildschirm erscheint zwar, aber beim Versuch ein neues Projekt zu öffnen erscheint kurz der Laufbalken, der dann kurz darauf wieder verschwindet ohne das ein Projekt geöffn