Userexit for updating sales order user status based on Production Order
Hi.
My clients requirent is
Sales order user status should get updated based on production order creation,GR for PO creation etc.
Basically depending on PO & GR For PO,various user stauts in sales order should get updated.
Can you please suggest me some userexits in PP for this requirement?
I am a SD Consultant and not having much idaes about PP
Thanks
Nisha
hi,
if you are not going to update it in the SO..
then you need different exits as those are different transactions.
Similar Messages
-
To get the User status of the Production Order
Dear all,
I have a requiement to get the user status of the production order, This is just below the Status of the Production Order,
I was able to get the Status of the Production order using the Function Module ( REL MSPT PRC ) etc
Can any body please help me in fetching this data.
with rgds
Ranjith SinghDear,
Please try with,
FM 'STATUS_TEXT_EDIT'
Or See function module PM_ORDER_DATA_READ
The status maintenace is done by SAPLBSVA
Use the Tables are :
JEST - Pass OBJNR of the Production ORDER (AUFK, AFKO tables)
or from
TJ02
TJ02T
Please take help from technical consultant.
Hope it will help you.
Regards,
R.Brahmankar -
Userexit for updating sales order user status based on PO
Hi.
My clients requirent is
Sales order user status should get updated based on production order creation,GR for PO creation etc.
Basically depending on PO & GR For PO,various user stauts in sales order should get updated.
Can you please suggest me some userexits in PP for this requirement?
I am a SD Consultant and not having much idaes about PP
Thanks
Nishahi,
if you are not going to update it in the SO..
then you need different exits as those are different transactions. -
Update order user status based on a custom check box value in web ui
Hi Experts,
I have a requirement to Update the user status based on a custom check box value in web ui.
This is needed at the followup for a SR, the component is BT116H_SRVO, Details View.
I created a value node with 4 checkboxes, based on the check box value, the corresponding user status
need to be updated.
How can I reach to the order save functionality of SAP in EH_ONSAVE method, so that syatem can capture my check box value, along with other screen fields, and append the status parameter in Order maintain?
or do I have to call order maintain in even handler for checkbox, which will affect performance .....
Pls help.
Regards,
LakshmiHi,
In your event handler you can use bol entity corresponding to status BTStatusH and change the user status.
Best regards,
Caíque Escaler -
Creating check on officers who can change a sales order - User Status
The user needs to create a check on persons who can change (User Status) on the sales order created.
The sales order are created by a group of people. These group of people can not be allowed to change the sales order - User Status(In header Detail).
Only a second level user users should be allowed change this user status.
Can it be done at configuration level. Or should we use an Exit?
Thanks in advance.Hi Sunoj,
I never have used this auth. objects, but if you want to set restrictions on some users, search before in auth. objects. As I told you, you can use the tcode SU24 for this purpose. Do the selection, see the result, try it with tcode PFCG and check it.
If you can do something with customizing tools or other standard tools (as authoritation tools) avoid the use of enhancements, BADI, BTE'S and so on. If you don't find the solution, then go to userexits.
I hope this helps you
Regards
Eduardo -
Function module for changing Work order user status in IW32
Hi,
I want to change the work order user status in IW32 using ABAP.
Is there any function module to do so or any other way? I have tried using BDC but this does not work.
Please suggest.
Regards,
Naba
Edited by: n. saha on Nov 5, 2008 6:46 AMI 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 -
TO change the user status in the PM order
Hi,
My requirement is that a techician is assiged to do the work using MRS and based on that user status is update in the PM when the save button is clicked on the MRS board.
Now according to my requirement if anybody click on the save button and the technician is assigned to do the operation is done through MRS than the User status in the PM order should get changed.
As a part of standard functionality the user status is not updated.
A new user status is created in the trasaction BS02.
Can anybody please let us know how to achieve this functionality
Thanks
MohitWe had a similar requirement and this is what we did :
1) Set up a task as a reciever for the WORKORDER SAVE event.
2) In this task called a method of a business object.
3) In the method called STATUS_CHANGE_EXTERN to change the user status. -
Is it possible to change the user status of a TECO Order
Hello Folks
Is it possible to changes the user status of a TECO Order?
I have tried to change it using the FM 'STATUS_CHANGE_EXTERN'. Its working fine for NON TECO Orders but not for TECO Orders.
On the other hand I was able to manually change the user status for a TECO Order in transaction IW32.
I need to change the user status from NFBK to FBK.
Please provide some inputs for the same.
Thanks n Regards
RameshThe simple way is via the Internationalization settings via ARD or RDP or Screen Sharing, either via System Preferences or (if enabled) via the menu bar. If you're looking for a lower-level approach, there's not AFAIK a direct command for this. As for one possible approach, might [threadID=2106201|http://discussions.apple.com/thread.jspa?threadID=2106201] help?
-
Set User status collectively in PM order
Hi,
I want to set user status collectively in PM orders. Is there any standard T Code.
Regards
Rakesh GanpatHi,
As mentioned above there are no standard transaction for this and the BADI are available from ECC 6.0 EHP3 only. Either way you will have to do some development.
You could use the FM STATUS_CHANGE_EXTERN to make the user status change one by one. You can incorporate this FM within the above user exit or within you customer Program.
Regards
Narasimhan -
PM order user status authorization
Hi Experts,
How can i give authorization to user status of PM Order ?
I want to give authorization for different activites as below.
for example i only want authorization for 01 and 04. Is this possible?
01 ACLD
02 BASL
03 MABE
04 ISBE
05 MIBE
thanks.Hi,
In addition to Narasimhan & Wendy told, follow these steps
Activities
1. create authorization keys in BS52
2. Create User Statuses & assign to Maintenance Order Object types in OIBS
3. Assign the authorization key to one or more user statuses in your status profile.
4. Assign these User Statuses to Order Types in OIOG
5. Define corresponding authorizations and include them in the relevant authorization profiles.
6. Assign these Authorisation Profiles to the User groups in SU01 under Profiles sub screen.
Regards,
Maheswaran. -
Query based on production order,receipt for production and issue for produc
hello sap experts i need a query on
this is my query but iam not getting correct result could anypne help out any relation is wrong in this pls verify it and reply asap .
SELECT T0.[DocNum], T0.[ItemCode], T0.[PlannedQty], T1.[ItemCode], T1.[PlannedQty], T3.[Quantity], T5.[Quantity]
FROM OWOR T0 INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry, OIGN T2 INNER JOIN IGN1 T3 ON T2.DocEntry = T3.DocEntry, OIGE T4 INNER JOIN IGE1 T5 ON T4.DocEntry = T5.DocEntry
WHERE T1.[ItemCode] = T3.[ItemCode] and T1.[ItemCode] = T5.[ItemCode] and T0.[PostDate] between [%0] and [%1]
GROUP BY T0.[DocNum], T0.[ItemCode], T0.[PlannedQty], T1.[ItemCode], T1.[PlannedQty], T3.[Quantity], T5.[Quantity]
ORDER BY T0.[DocNum]
regards
JennyHi,
Here is another suggestion.
select t0.docnum,
case
when t0.status = 'P' then 'Planned'
when t0.status = 'R' then 'Released'
when t0.status = 'L' then 'Closed'
when t0.status = 'C' then 'Cancelled'
else t0.status end as 'Production Order Status',
t0.ItemCode as 'Parent Item', t0.PlannedQty as 'Planned Parent Item',
T1.ItemCode as 'Component Item', T1.PlannedQty as 'Planned Component Item',
(select T2.Quantity
from ign1 t2
where t0.itemcode=t2.itemcode and t0.docentry = t2.baseentry) as 'Received End Product',
case
when t1.issuetype = 'B' then 'Backflush'
when t1.issuetype = 'M' then convert(varchar(15), t3.quantity)
end as 'Issued Component Item'
FROM OWOR T0
INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry
left join ige1 t3 on t1.docentry = t3.baseentry and
t1.linenum = t3.baseline
Somehow I get the feeling it would make more sense to have it in 2 separate reports. But if it works for you it's good.
Let us know how it goes and if these are indeed the reports you are looking for.
Jesper -
Can I reset a non numbered user status based on a numbered user status?
Can I reset a non numbered user status based on a numbered user status?
Yes. Numbered status are mutually exclusive ie. succeding status resets previously set status.
My requirement is like this: I have 3 numbered status and 2 non numbered status. Lets say, the first numbered status & two numbered status are set at the begining. Now when I click the second numbered status, both the numbered status and two non numbered status should be automatically reset. Only numbered status is getting reset and not the other two.
Thanks
Edited by: Smartsoft General User on Jul 22, 2009 4:36 PM -
A FM or BAPI to update the status of a Production Order
Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.
Thank you
ErnestoHi,
I believe you can use the FM I_CHANGE_STATUS to update the status..
where JEST-OBJNR = AUFK-OBJNR
Thanks,
Naren -
How can I get status of a production order from database?
Hi,
I need to write a report to show user details about the production order. Because there are some customized linkages between our sales order and production order, we can't use COOIS directly.
But I met a problem when writing this report. I found that after TECO, all lines on reservation of the production order will be set deletetion flag. So, I need to tell which orders had been TECO-ed. But I don't know from which fileds and which tables I can get the data to tell this. Please help.Hi Robbie,
You can use function module STATUS_READ
You need to pass it the object number - for a PP order header it will be something like OR000001000000
You can also set an indicator to only retrieve active status values.
The FM returns a table of status codes which are in the internal format and look like I0002
Then use table TJ02T for system statuses to determine what these internal codes mean. If you have user statuses you should be able to work out where they are stored by looking at the technical information behind the configuration transactions.
Regards,
Monika -
BOM Explosion based on Production Order Creation
Hi PP Guru,
My client wants the BOM Explosion date to be based on Production Order creation date. Could you help to advise how to set-up this requirement?
I have showed them these possible System Configuration in BOM explosion, but none of these options are applicable to their current business practice.
<OPPQ> BOM Explosion:
BOM explosion number/order start date
1 Order start date
2 Order finish date
3 BOM explosion number/order start date
4 BOM explosion number/order finish date
Looking forward to you reply.
thanks,
JohnHi Sundaresan,
Thanks for your reply. So do you think there's any other way to fulfill the client's requirement? I was thinking to do the "PP Master Data" instead, in order to choose the date of explosion.
Actually the scenario is this:
Initially the Material XXXXXX has a valid BOM on 03.01.2011 to 12.31.9999, but then, some changes has been made, maybe the user has changed the component or added new component using 04.01.2011 to 12.31.9999 as validity date.
For example, the user created the Production Order (manually in CO01 or from Planned Order conversion) on 03.20.2011 and the Order Star date is 04.01.2011, so the system will copy the updated BOM which is valid on 04.01.2011 to 12.31.9999 (based on Order Start date).
However, the client wants to explode the previous BOM instead (03.01.2011 to 12.31.9999).
Please advise.
Thanks,
John
Maybe you are looking for
-
I am after some help with iTunes and how to set it up correctly. I have lots of music and movies, so got an external HD. I recently got a larger ext HD, and whenever my iMac shuts down or is restarted, it changes the file path and i have to reconfigu
-
Dynamic Link Media Server Error on Video Export CS6
Hello, Whenever I atempt to render video or export a photoshop file as a video I get the following error: dynamiclinkmediaserver has encountered an error [/Volumes/BuildDisk/builds/DynamicLinkMediaServer1/main/shared/adobe/MediaCore/ASL/Foundat ion/M
-
Mass update changes are showing as saved but not updating.
Hi Gurus, When I try to do some changes for scheduling agreement line item using t-code MEMASSSA the message is showing as that changes are saved, but when I log into schedule agreement these changes are not being update, even I donu2019t find any ch
-
Hi will if i get the mini DVI to VGA adapter & got a vga adapter for my xbox 360 will i be able to connect the xbox360 and view it through my iMac?
-
Can we block a material for particular storage location ?
We can allow material to storage locations by MMSC. Can we block a material for particular storage location ? Please share ur view.