Using change pointers for Process orders
Hi Experts,
We have a requirement where we need to send idocs when a process order is changed. Since process order data is a transactional data, can we still use change pointers?
We tried using the message type LOIPRO and it is giving an error saying that this message type cannot be sent with change pointers.
Can anyone guide me with the process and steps to get this done?
Thanks.
For change pointer, you would have to deligate the business object with t.code SWO1. To handle it, it would take too much time to explaint.
If you use the BAdI, and call function in this way : " CALL FUNCTION 'FUNCTION_NAME' IN BACKGROUND TASK AS SEPARATE UNIT EXPORTING ....." the function would executed only after commit (when you call the funtion, it holds in a queue for commit. In roll back, it get disapeared).
User method in_update from the BAdI.
Edited by: Lior Tabib on Oct 19, 2010 4:18 PM
Edited by: Lior Tabib on Oct 22, 2010 7:27 PM
Similar Messages
-
How to implement Change pointers for Purchase order - ME22N - Custom Fields
Hi Experts,
Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
Everything is working fine according to my requirement.
All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
1.How to implement change pointers for custom fields.
2.Can we maintain - Change Document - for custom fields at data element level?
P.S. - I have browsed many previous - forums before posting a new discussion.
please share your inputs...
explaining how to create/implement - change pointers for custom fields will help me .
Regards,
Karthik Rali.Hi,
To maintain Change Document for custom field:
1. Check if "Change document" checkbox is set in data element.
2. Find Change Document Object for transaction.
You can use SQL trace - ST05.
Look there for line with table CDHDR and statement insert values
(for example for transaction KA02 Change Document Object is KSTAR)
3. Regenerate update program for this Change Document Object in transaction SCDO
Change documents for z-fields schould be generated.
I am not sure about change pointers but they are configured somehow in BD61 and BD50. -
Activate Change Pointers for Purchase Orders
I thought that change pointers would be active by default for purchase orders, but when I change a purchase order field that should be change pointer enabled, nothing is written in table BDCP.
Here's what I have done:
1) Used transaction SCDO to look at the change Documents.
2) Identified object EINKBELEG (Purchasing Document) as the likely object.
3) Verified that table EKKO is one of the tables in the object.
4) Verified that the data element of the field that I am changing in the PO - ZBD2T - is change pointer enabled (it is).
I cannot get any entry created in BDCP with these settings; change pointers are working for other documents.
I also put a breakpoint on the sebugger for the function module EINKBELEG_WRITE_DOCUMENT in the update task, and I cannot see it being triggered, so I am wondering if I am doing the correct thing here.
Can somebody please tell me what I am doing wrong?
BR,
Tony.Hi Guys,
This issue was solved by implementing the BTE 4005 (OPEN_FI_PERFORM_00004005_E). This particular event is triggered in the update task for saving changes to business object. So In my function module (corresponding to BTE), I have explicitly called the method to write an entry in COM_SE_CPOINTER, because we just need the reference of business object for which classification data is changed.
Please refer the below code for more clarity.
BTE position: -
method called in FM to write change pointer.
Thanks anyways, for all the responses.
Cheers,
Shreya -
Change pointer for Sales Order
Hi,
Using change pointers I want to create an IDOC when ever a specific field in the sales order line item is changed. I have activated the change pointer for message type ORDRSP. Also maintained the following entries in BD52
VERKBELEG(Object) VBAP(Table) ABGRU(field).
After this when I change this field at the sales order line item, it inserts entries into change pointer table.
But my problem is creating IDOC's from those change pointer entries. I am not sure which function module (MASTERIDOC_CREATE_XXXXX) works for this.
Anyhelp on this highly appreciated.
Thanks
RamHi Ram,
I don't think so you can use change pointer for sales order changes. Usually, it is done through transaction code<b> NACE</b> - configuring condition for output type.
You can setup requeirement in procedure control to trigger IDoc ORDRSP for any changes in item level.
Hope this will help you and give an idea.
Regards,
Ferry Lianto -
User Status for process orders
Dear Experts,
We are using user statuses for process orders & with this we are resricting or allowing certain business transactions.
My question is can we automatically set the two consecutive user statuses ?
Means when the GR for process order is done i have set the user status as GR.
Next user status is CLSD.
So after completing the closing of process order by settlement transactions can i set the staus as CLSD automatic?
I am trying to do it but i am getting error as-
"Status CLSD is not allowed (ACT 30000292 0010)"
Your help is highly appriciated
Regards
VivekHi,
1) Still your order is carrying cost, it has not settled properly
2) you can check in CO02 itself, Go to tool bar at top
3) here Go to > Costs > Analysis & check whether order is set to Zero
4) you can check in KKBC_ORD also
Also, pls refer below link
Re: HOW automatic order status change to CLSD
regards,
Sankaran -
Trigger IDOC using change pointers
Dear All,
We are using change pointers for triggering IDOC's when a cost centere is creaed/changed/deleted.
We are using message type COSMAS for the same.
I have maintained all the necessary settings including Distrubution model.
When a cost centre is created or changed the IDOC is getting triggered ( After executing prgroam RBDMIDOC ).
But when we delete an cost centre the IDOC is not getting triggered.
I am able to see the releated entries in BDCP and BDCPV tables as well as CDHDR and CDPOS tables.
Can any one say how this can be achieved? When a cost centre is deleted then also IDOC should get triggered.
Regards,
SRavanWhen we remove an Cost center it physically gets deleted from the data base.There is no delete indicator as such
-
Material staging for process order
Dear All,
Can we use material staging for process orders.
If possible pls brief the procedure.
Subbu.Using warehouse management /WM) :
- Create a control cycle for the component, using LPK1. Here you define if the supply will be specific for the order (when weighing takes place in the warehouse) or for released orders (normallu full packages of components and weighing is done at plant level). Reference to a supply area.
- The resource used in the operation has a reference to the supply area.
- Components have material master views in WM for the selected storage type
Then, when releasing the orders run LP10 - LP12 to generate the Transfer requirements for the raw materials. These TR will be converted to Transfer Orders and Confirmed, so the stock will be moved to your supply area.
Using Inventory Management, none of the above is required. You can use MF60 to move materials from General Storage Location to Shop Floor SLoc.
Regards -
Progress confirmation for process order
Hello to all,
I want to use the progress confirmation functionality for process order. I know that it is possible for production orders, but I couldn't find respective transaction for process order. Do you know if it is possible to use progress confirmation for process orders.
BR,
NikolayThanks for your inputs, but they are not useful!
COR6 - it cannot be used once the order is confirmed at phase level;
COOISPI - it's a report
COR6N -it is the standard transaction for process order confirmation
I want to do so-called "unplanned milestone" for process orders, something similar to CO1F for production orders.
BR,
Nikolay -
ALE change Pointers for delta load
The master data datasource is 0CRM_BPSALESCL_ATTR, which is in my source system use change pointers for delta loading. When I use delta loading, the error is "ALE change pointers are not set up correctly". I went to the source system, and use BD61 to activate change pointers. But it does not work. Then I created new Business partners to make changes. I can find these new records in table CDHDR and CDPOS, but there is no records found in table BDCP. And my delta loading still got the error as "ALE change pointers are not set up correctly."
Can anybody give me advice?
Thanks,
WenjieHi, Ron,
Thanks for your reply. I already assign points to you.
I relicated the datasource, and re-active the transfer structure, but it still doesn't work. My one more question is that do I run BD61 on BI system or on source system? I did on source system only. And is there any more setting need to be done on source system? Because my error message said setting on source system is wrong.
Thank you very much.
wenjie -
Hi,
Can any buddy tell me the Bapi used for Process order change
with following scenarios:
Quantity change
Resource change
Rescheduling
Control key change
RM Change
Recipe change
TECO
REVOKE
Material shortage check
Best Regards,
Sheetal.Hi,
BAPI_PROCORD_CREATE for process order create
BAPI_PROCORD_CHANGE - Change Process Order
BAPI_PROCORD_CLOSE - Close Process Order
BAPI_PROCORDCONF_CANCEL for Cancel Process Order
Confirmation.
BAPI_PROCORD_COMPLETE_TECH - Complete Technically
BAPI_PROCORD_RELEASE - Release Process order
BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
pls refer below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
Regards,
Sankaran -
User Status change problem in Process Order
Hi,
We are in process of upgrading our system from 4.6C to ECC 6.0. I have a problem with User status change for process Orders.
In 4.6C we are using the profile x with settings:
10 ZNEW Created process order 10 90 1 1 ZSTA
20 ZLCK Locked process order 20 90 1 1 ZREV
30 ZOPN Reopened process order 20 90 1 1 ZOPN
40 ZMST MES order started 20 90 1 1 ZMST
50 ZMCL MES order closed 20 90 1 1 ZMCL
90 ZTEC Technically completed 20 90 1 1 ZTEC
In ECC 6.0 we also use the same profile settings as above.
The problem is in ECC 6.0 when I do a goods receipt the User status changes to ZTEC . The process followed is ..Create process order, Release Order, Goods issue, Phase partuial confirmations, Goods receipt and then Finla confirmations of phases. Now in 4.6C if i do the above process the User status remains at ZMST and it only changes to ZTEC when i technically complete the order but in ECC 6.0 when I do a goods recipt from above steps the User status changes to ZTEC. THis should not happen.
Any pointers will be very helpful.Hi,
The log for production order preliminiary costing is not saved. Therefore, once the order is saved, there is no log available anymore (this is by the way a question of PP; none of the logs is saved).
Hope that helps...
Regards,
Declan -
Why change pointers for master data, why not change message?
Hi Gurus,
I have one doubt about Idoc.
When changes to master data has to be sent Change pointers are configured and used. (CDPOS & CDHDR). In case of the transaction data change change idoc is used as is the case with orders (we use ORDCHG for ORDERS message type to send the chnage details to a order which was already sent to other system.
Why we can't use change idoc or message type whatever, instead of Chnage pointers in case of master data or vice versa in case of transaction data.
Your valuable input will be rewarded with suitable points!!
-B S B.Change pointers are getting stored in the tables BDCP and BDCPS. As SAP suggests these tables should be as small as possible. And Master data are not much frequently changed data.
As you compare with the transactional data, you need to change them many times in the real scenario. If we also process the transaction data via chnage pointer, these changes BDCP is getting more and more entries.
RBDCPCLR is the program used to process the change pointer. If you have much data in the BDCP table, this program will take much time to run.
So, we use the change pointers for the master data only.
Regards,
Naimesh Patel -
Issues during Component Batch Determination for Process Orders
Hi,
I am encountering a strange issue during component batch determination of process order.
1. During creation of process order, when I execute batch determination, systems does determination based on strategies we have set and when I click on Copy it gives an error
"Log cannot be saved: Object/subobject not specified"
Message no. BL201
*Diagnosis
Log save cancelled because at least one log contains no object or subobject.
Object and subobject are needed to classify application logs because there are several log types. Only a few logs are managed in main memory at runtime, so this classification is not needed.
If the logs are to be saved in the database, object/subobject must be specified for later retrieval.
Procedure for System Administration
Object/sub object can be passed when a log is created (function module BAL_LOG_CREATE) and changed with BAL_LOG_CHANGE.
The possible values for object and sub object must be configured in transaction SLG0.*
If I save the order with CRTD status and come back again in change mode and do determination, It works fine.
Again when the order is in REL status and do the determination, It gives the same error.
This happens only for a specific plant, In other plants batch determination works in all scenarios.
I checked for all plant related Config for batch determination and coudn't find any discrepancies.
Please advise how to resolve this issue. Thanks in advance for your help
Regards,
AheeshThere Is no direct solution for your requirement just try this work around.
While defining the batch determination search strategy for process order in COB1, there is one column Quantity proposal where you can attach the Routines (This is written in ABAB code ) make use of this, define New Routines with ABAB help to fulfill your requirement. Try this if found useful award full points.
Regards,
Ajay Nikte -
Scheduled finish date for process orders not updating in BW
We are having problems with the scheduled finish date (GLTRS) for process orders. When the process order is already released, changes done in R/3 on the scheduled finish date will not result to a delta hence data in BW is not updated. Table AFKO, where data is coming from, is always updated with the changes though. 2LIS_04_P_MATNR is used in extracting the data.
Has anyone experienced the same problem? We are looking for possible ways on how to have a delta whenever there are changes on the process order even after it is already released.
Any help would be greatly appreciated...Hi Donna,
If I've understood your problem correctly, you can increase the load frequency as Sriee has pointed out.
If you want latest data frequently and if you are on BI 7.0 then you can look at Real Time Data Acquisition(RDA)
Regards,
Tom. -
Avoiding change pointers for data with status planned
Hi,
we have to distribute HCM-data, standard infotypes and customer infotypes, into other SAP sytems. One of the receiving systems must not get data with the status planned (istat = 2).
Which would be the best way to avoid planned data in the receiving system? Is it possible to avoid creating change pointers for planned data in the delivering system or have I to delete the planned data in the receiving system while processing the idocs via user-exit?
Best regards
StefanDear Stefan,
You can create the change pointers manually from the IDOC data (e.g.with FM CHANGE_POINTERS_CREATE) during the inbound processing within of the customer-exits of enhancement RHALE001 or within an own BAdI implementation of BAdI HRALE00INBOUND_IDOC.
Or else you can use method IDOC_DATA_FOR_RECEIVER_MODIFY of BAdI HRALE00OUTBOUND_IDOC. In this case please make sure that note 1292241 is implemented.
Hope it helps,
Christine
Maybe you are looking for
-
i don't have a wireless keyboard or mouse for my 2007 iMac, is there any way that can use remote desktop and access it from my 2010mbp
-
How to track changes on the directory server using the ChangeLog facility?
-
Is it possible to avoid unchecked cast warning here?
interface MyRemote extends java.rmi.Remote {} public <T extends java.rmi.Remote> Class<T>[] getRemoteInterfaces() { return (Class<T>[]) new Class[] { MyRemote.class }; // <-- unchecked cast }
-
ClassCastException at Remote object although remote interface is implemented
Hi, I want to access a remote object via T3 (on WebLogic 10) but I am getting a ClassCastException in the client. The exception is thrown if the generic "Remote" object is casted into a concrete remote interface. The following works ok (client side,
-
Getting shared photos into iPod
Hi, I am a new Mac User and would like to share my iPhoto album to my friend's iPod. My friend does not have a Mac. What is the best practice to do it? Can I share album as photocast to a subscriber who has windows xp, iPod, and iTune? I understand t