IW31 and IW32 Partner Address Changes button
Hi all,
We want to restrict users from changing and viewing the partners' addresses that can be accessed via the Partner Address button under the "Partner" tab in transaction code IW32, but I don't believe there is an user exit/enhancement exit available for us to restrict this. I understand this address change will only apply to the work order itself, and won't affrect the master data, however, our users would like to restrict this function(partner address changes and view). Does anyone know of an user exit that I can use to restrict the partner addresses function using authorization objects or can this be handled via configuration, etc,? Or even, did anyone experience the same scenario and what did you do to handle this?
Your help on this is greatly appreciated! Thanks in advance for your help!
Best regards,
Cyanna
This can be done using Transaction variant and no need of programming.
check the Tcode SHD0.
Transaction Variants & Variant Transactions
Re: Transaction Variants
Similar Messages
-
Restricting the partner address change in both VA01 & VA02
Hi All,
In Sales Order Creation / Change i need to make the partner address fields editable but want a restriction on save.
For that i am doing the following:
Change:
This is possible by restricting the update comparing YVBPA & XVBPA table using parameter UPDKZ.
Create:
In the create scenario YVBPA table remains empty.Are there any other tables I should look at to restrict this address data change?
However, there is a table XVBADR , changes to which do not influence the final display address.
Alternatively , do we have an alternative approach to restrict the partner address change in both VA01 & VA02?
Thanks in advance!!!
Regards,
APResolved by using YVBPA & XVBPA tables.
-
I want to change my Apple ID for IPad because forgot password and all email addresses changed so cannot get informations for password reset. What can I do?
I was wondering if you ever figured this out. I have the same issue. When I try to use the support communities, there are so many with the same problems and never seem to be any replys?? Not very helpful and I can not get Apple to return my emails.
-
Any Pointers to set user status in iw31 and iw32
Hi all,
I am working on an enhancement where I need to set the user status for an order every time a new order is created(iw31) or an existing order is changed(iw32) and a material in that is flagged as a retirement unit material.
Is there any function module to do that?Hello Anu
I would like to point to the BAPI documentation where a useful BAdI (<b>IBAPI_ALM_ORD_MODIFY</b>) is mentioned:
FU BAPI_ALM_ORDER_MAINTAIN
Short Text
Process Maintenance-/Service Order
Functionality
This Business Application Programming Interface (BAPI) is used for
changing maintenance- or service orders and their lower-level objects.
The following objects of an order can be processed (for restrictions,
see the note at the end of the documentation):
o Order header
o Partner
o User status
o Order operations
o Relationships
o Components
o Long texts for order header, operations, and components
Function
Calling up this BAPI once allows you to perform all the operations. For
this the system supplies the function module with a method table
containing the methods to be performed. The entries in the method table
refer to data records in the optionally filled-out data tables. All the
methods from the method table are performed. Alternatively, just lower-
level objects from existing orders can be changed.
You can process the transferred data with the Business Add-In (BAdI)
IBAPI_ALM_ORD_MODIFY to, for example, merge data from the external
system with data from the R/3 system. The BAdI is called up as soon as
the transferred data is converted into the internal format. The tests
then take place after this.
Construction of Method Table
o REFNUMBER Reference number for linking object methods - attributes
The reference number is the line of the database which contains the
corresponding data. The data table is determined by the object type.
o OBJECTTYPE Object category
The object category specifies which object from the order should be
processed. The key words listed here are not language-dependent and
must be transferred exactly as they are. The following objects
exist:
- HEADER Order header
- PARTNER Partner data
- USERSTATUS User status
- OPERATION Operation data
- RELATION Relationships
- COMPONENT Components
- TEXT Long texts
- (empty) ,General BAPI functions (save)
o METHOD Methods
The methods with which the data should be processed. The following
functions exist:
- CREATE Create objects
- CHANGE Change objects
- DELETE Delete objects
- RELEASE Release
- TECHNICALCOMPLETE Technically complete
- ATPCHECK Availability check
- CALCULATE Calculate
- SCHEDULE Schedule
- DELELTEDSEX Delete the status for external scheduling at
operation level
- SAVE Save all data
- DIALOG Call-up dialog. See explanation below.
- TRACE Write trace file in the specified file to the
frontend
o OBJECTKEY SAP external object key
This key is for assigning the lower-level objects correctly to the
corresponding objects, as there is always just one key in the data
table. The key must have the following structure:
- 1-12 Order number
When creating orders with internal number assignment, a
reference number beginning with % must be entered here. The
BAPI then returns this number and the number actually assigned.
- 13-16 Operation number
- 17-20 Sub-operation number
For relationships, the key is structured as follows:
- 1-12 ,Order number from
- 13-16 Operation number from
- 17-28 Order number to
- 29-32 Operation number to
The following methods are permissible for the individual objects:
o HEADER:
CREATE, CHANGE, RELEASE, TECHNICALCOMPLETE, ATPCHECK, CALCUALTE,
SCHEDULE
o OPERATION
CREATE, CHANGE, DELETE, DELETEDSEX
o PARTNER, RELATION, COMPONENT, USERSTATUS, TEXT:
CREATE, CHANGE, DELETE
o (empty):
SAVE, DIALOG, TRACE
Data tables and update tables
The objects have one or more data tables. For some objects you can
specify which of the fields specified in the structure should be
changed. For this you must set the field in the corresponding table to X
as in the data table. If no update-table is transferred, then only
those fields are set that have a value that is not initial. This
simplifies the transfer data. However, this means it is not possible to
delete fields. If an update structure should only be specified for some
data records, the table with the update fields must nonetheless have the
same amount of lines as the data table. The empty lines are then
treated as if no update structure was transferred. The objects
"Partner", "User Status", and "Text" have no update tables. The whole
data record is always copied here.
References
The objects use the field REFNUMBER from the method table to refer to
the lines in the data table. Counting always begins with 1. In doing
this, REFNUMBER also refers to the update table. However, in the method
table there is a second reference to higher-level objects for
lower-levels objects. The field OBJECTKEY must be filled with order
number, operation number, and sub-operation number, as specified above.
If lower-level objects of a newly-created order should be changed, then
you must enter a temporary order number that must begin with %. Several
orders can be numbered serially, for example, with %00000000001,
%00000000002 ... .
The following objects have special treatment for REFNUMBER:
o Partner
o Texts
Partners have an order number in the data table. During processing of
the method table, all those entries in the data table are processed
which have an order number that is the same as that in the line to which
the method refers. Thus, through just one entry in the method table,
several partners can be changed.
Texts are composed of two tables. The first table (IT_TEXT) is made up
of the header data of the text. Here you must specify the object and the
first and last line of the text table (respectively inclusive, counting
from 1). Through this, a line segment is specified in the text line
table (IT_TEXT_LINES).
Peculiarities in processing
The BAPI processes the transferred methods in a particular sequence,
which must not correspond to the sequence in the methods table.
o Write trace file
o Change user status time period 1
o Delete objects (dependent first)
o Create new objects
o Change existing or newly-created objects
o Change user status time period 2
o Status change of order
o Save data
The methods are performed such that lower-level objects can also be
assigned to newly-created objects. For example, first the operations are
created, and then the components. Long texts can also be created for the
objects.
Components have an exceptional position. Components are created through
the assignment to an operation, that is, using the "key" order/
operation (item number). However, as this is not the unique component
key, you can only access the components to change them, delete them, or
add long texts by using the reservation number/-item, which is only
given after saving. This means that, for example, you cannot create a
long text when you create the component.
User status changes can take place at two different time points. Time
point 1 is before the object changes, time point 2 is after the object
changes and before the status change of the system. These time points
should be defined in the transfer table in the field CHANGE_EVENT. The
field documentation contains the possible values.
The external scheduling is offered by the BAPI as a special function.
THe BAPI can set the date field directly at the operation level, and
select the operation with the status DSEX "Date set by external system".
This status prevents any further scheduling of the operation, it keeps
the transferred dates. For this, set the category 'X' in the restriction
categories. When reading the operation, this category is also returned,
independent of the category of restriction set in the dialog. To delete
the status, you can call up the method DELETEDSEX for the object
operation. The external scheduling cannot be influenced in the dialog.
All changes to the scheduling restrictions in the dialog are saved as
normal, but are not relevant for the scheduling as long as the status
DSEX is active.
Every time the BAPI is called up, a SAVE or DIALOG method must be
transferred. Normally, calling up a BAPI is seen as a transaction. All
data that is changed in the BAPI should be saved to the database
immediately. The BAPI checks whether a SAVE method exists, otherwise it
terminates processing. A test run of the BAPI is composed of a normal
call-up using the SAVE method and a subsequent
BAPI_TRANSACTION_ROLLBACK. To call up the BAPI without the SAVE method,
for example, to realize dialog transactions, the BAPI can be called up
with the DIALOG method. This switches off the check for the SAVE method.
The processor must then ensure that later either a SAVE method or a
BAPI_TRANSACTION_ROLLBACK is called up.
A BAPI_TRANSACTION_COMMIT without SAVE method terminates processing in
the update to ensure that no inconsistent data is written to the
database. The processor who called up the BAPI does not receive any
confirmation for the termination of the update in the target system.
This logic is necessary as the order data was flagged for updating with
BAPI_TRANSACTION_COMMIT through the SAVE method. However, the status
information was already flagged for updating when the BAPI was called
up. A BAPI_TRANSACTION_COMMIT without SAVE method then just saves the
status information and would generate inconsistent orders, if the
updating was not terminated.
Customer Enhancement
The BAdI IBAPI_ALM_ORD_MODIFY can be used to change the transferred
data. The BAdI is called up after the conversion of the transfer
structure into the structures used internally. Additional data can be
transferred using the table EXTENSION_IN. Only then is the data checked.
Example
The following examples should clarify the use.
Creating an order
OBJECTKEY should be filled with a temporary key. The BAPI returns this
key together with the assigned order number in the return table
ET_NUMBERS . The order number in the HEADER table should also be filled
with the number. For external number assignment, the external number
should be specified. The update structure can be transferred if
necessary.
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
Creating an order with operation and long text
Methods table
REFNUMBER OBJECTTYPE METHOD OBJECTKEY
1 HEADER CREATE %00000000001
1 OPERATION CREATE %00000000001
1 TEXT CREATE %000000000010010
IT_HEADER
ORDERID ORDER_TYPE PLANPLANT ...
%00000000001 PM01 1000 ...
IT_OPERATION
ACTIVITY SUB_ACTIVITY CONTROL_KEY WRK_CNTR ...
10 PM01 MECHANIC ...
IT_TEXT
ACTIVITY ... TEXTSTART TEXTEND
10 ... 1 2
IT_TEXT_LINES
TDFORMAT TDLINE
* Longtext for operation 10, line 1
* Line 2 of the long text
Notes
Using the BAPI to process the order data cannot support all the functions
of the transaction. This applies in particular for the following
functions:
Order header data
o The object list cannot be processed.
o Refurbishment orders are not supported.
o The estimated costs cannot be processed - only the estimated overall
costs of the order.
o Notification data cannot be processed with the order BAPI. Even if
the settings in Customizing are such that the orders and
notifications can be maintained on one screen, no notification is
created for the order.
o Permits cannot be processed.
o The order addresses cannot be processed.
o Individual partner addresses cannot be maintained.
o The settlement rule cannot be maintained.
Order functions
o Printing the papers is not possible.
o Locking and unlocking the order is not possible.
o Accepting and rejecting quotations is not possible.
o Business completion is not possible.
o Flagging for deletion is not possible.
o The log cannot be displayed.
o User default values are not used.
o The field selection is not checked.
o The Customer Exits/BAdIs are not executed completely.
o Joint ventures are not supported.
o Funds Management is not supported.
o Investment orders are not supported.
o No integration of service products with task lists possible.
o No integration of configurable service products possible.
o Assignment of sales document items with service products in
accordance with the aforementioned conditions.
Operation data
o A change of the control key in the operation is not possible, if
this leads to a change of the processing type (internal-/external
processing)
o User status change not possible.
o Production resources and tools cannot be processed.
o Service lines cannot be processed.
o Task list integration is not supported.
o Linking operations with object list is not supported.
Component data
o User status change not possible.
o BOM data cannot be processed.
o The delivery address cannot be processed.
Further information
See also the documentation for the individual transfer tables.
Parameters
IT_METHODS
IT_HEADER
IT_HEADER_UP
IT_HEADER_SRV
IT_HEADER_SRV_UP
IT_USERSTATUS
IT_PARTNER
IT_PARTNER_UP
IT_OPERATION
IT_OPERATION_UP
IT_RELATION
IT_RELATION_UP
IT_COMPONENT
IT_COMPONENT_UP
IT_TEXT
IT_TEXT_LINES
EXTENSION_IN
RETURN
ET_NUMBERS
Exceptions
Function Group
IBAPI_ALM_ORDER
Regards
Uwe -
Partner address change issue using BAPI_SALESORDER_CHANGE
Hi,
I'm trying to change partner address in an order using the Bapi BAPI_SALESORDER_CHANGE. I have searched the known threads but did not found a solution.
my requrirement is to change partner address without passing address number to 'PARTNERADDRESSES' parameter
This is brief about my requirement.
Our requirement is sales order executin from ECC6 to ECC5 i.e. when a sales order is created in ECC6 it should be created in ECC5 when we save order in ECC6, so in a similar way even changes done in EC6 sales order should be reflectedin ECC5 (whichi includes ATP also) so during this process a user can add additional line items with different ship_to party address, so for newly added line item in ECC6 during VA02 (change process) address number will not be there in ECC5 so i can not pass address number in ECC5 during address change using BAPI_SALESORDER_CHANGE.
since stock is not maintained in ECC6 we are doing above process i.e. sales order execution from ECC6 to ECC5.
so in order to change partner address for newly added line item in ECC6 i will not be having adrees number in ECC5 so can any body plz let me know how to change address of a parter without passing address number to 'PARTNERADDRESSES' parameter of
'BAPI_SALESORDER_CHANGE'.
If any body has faced this and found a solutin for this plz let me know.
Hope you understood my requirement.give a meaningful title to ur thread, so that, people get u back quickly. Just tip that, try to do ur requirement online, then Observe How the system is behaving....thanq
-
Badi or User Exit to send Mail for Tcode IW31 and IW32
Hi All,
I have a requirement as follows:
In IW32, after entering an order number, if we change the user status (activating the user status) and press the SAVE button, a mail needs to be triggered
I have found a couple of user exits but I am unable to find one soon after the table updation. Another important thing to note is that if the user wants to deactivate the user status (i.e., when the user status is reverted back to the previous status) and saved, then this functionality should not be executed.
Kindly help me with the user exit or the enhancment or the BADI where I can implement this functionality.Hi,
Create a event driven function module, your function module will trigger based on the event. Configure that in the transaction SWETYPV..When ever the status is changed it will trigger a function module (Z function module) which inturn send a mail(IF you write the code)..
Use Business object - -
BUS2007
Use events:
MaintenanceOrder.released Order released
MaintenanceOrder.teccompleted Order technically completed
MaintenanceOrder.finconfirmed Order finally confirmed
MaintenanceOrder.completed Business completion for order
Regards, -
Contact Objects and Primary SMTP address changes
We are going to be changing the primary SMTP address on a large number of contact objects. Does anyone know if simply removing the SMTP address of contacts will cause any issues?
Hi,
Please confirm if the “contact objects” in your posting mean the
Mail Contact in Exchange. Generally, the Primary SMTP address for the mail contact is the external email address for the contact.
If you want to change it to a different external email address, we can use EMS with "-PrimarySmtpAddress" parameter to change it. If you want to change the primary SMTP address for multiple mail contacts, we can create a .csv file with all changed
external e-mail addresses for these contacts. Then imports and uses the data in the .csv file to set the mail contact.
Import-CSV "C:\ChangedContacts.CSV" | ForEach-Object {Set-MailContact -Identity $_.Name -PrimarySmtpAddress $_.EmailAddress -EmailAddressPolicyEnabled $False}
Regards,
Winnie Liang
TechNet Community Support -
IW31 or IW32 Work Order Create - Component - Purchasing - Field GL_ACC
I need to populate, or change, the GL Account number in custom logic whenever either Work Order transaction - IW31 and IW32 - is executed under creating components when selecting the Purchasing button at the bottom. I would rather use a BADI than an exit, but if my only choice is an user-exit then I will. I have tried putting breakpoints in several processes in BADIs:
WORKORDER_UPDATE
IWO1_PREQ_BADI
IWO1_WKCTR_CHANGE
I have had no luck breaking into any of these when I am in the Purchasing screen of the IW32 after hitting enter. However, I do break into WORKORDER_UPDATE in the SAVE Process, but I need to break into the custom logic on an enter. To reiterate, my goal is to put custom logic that will replace a GL Account No., or create a GL Account No.
Thank-You.Hello Tom,
This happened me once for me. As per the BADi Functionality it it is not allowed by the customer to modify particular fields that SAP will erace automatically during the exit of the BADI.
Other assumptions :-
If it is an inetrnal table then you need to use the modify statement to save the data back to the internal table. If thsi BADI is being called multiple times then it will be a structure and not an internal table. So what you are doing is correct. But SAP logic is erasing that value during exit of the BADI as it is not allowed.
Thanks,
Greetson -
Apply changes button not working as expected
Hi
I have a page, this page has some fields and a drop-down list where it has a projectname as the values and when I change a value in the drop-down list and click on "Apply Changes" button it does update the table and the changes can be viewed on the page ............. but when I have created a copy of this same page and changed the select statement of the drop-down list and in order to change the year from the drop-down list and click on apply changes then it does not update the table or changes are not reflected on the page.... am I doing soemthing wrong somewhere , but not sure where !
Can anyone know what could be the reason ....?
thanksHi Nancy,
That could be the case, but I tried it multiple times during the day and it was not working. I think I would have notice it if I "missclicked" it like 10 times in a row. I normally use this option more than once a day and it works. But If it happen again, I'll pay attention to that.
Thanks! -
My Safari Preferences/Security screen has changed and no longer addresses cookies. Rather, there is a new Preferences/Privacy screen that allows you to manipulate cookies, but it is not as easy to use as when cookies were on the security screen. Was this an update? Has this change affected anyone else? This is strange, because Safari Help still states cookies are manipulated on the Security screen, even though the screen has changed and no longer addresses cookies.
Presuming you're referring to Safari 5.1, yes, it's moved, but I don't see it as being harder. Now you can clear all privacy-related items - cookies, cache and history - with one button, the "Remove All Website Data" button. If you want to work with individual cookies, it's still just one button, the "Details" button. So no, I don't see it as being more difficult.
Regards. -
My email address changed and my password and I did...
I had an account monis.bukhari
Someone stole my account and change the password and the email address
Please help me.you need to contact the Skype customer service. Just click the link below, and click the email support button. Choose subjects Security & Privacy >> Identity theft / Account takeover.
https://support.skype.com/support_request
Moreover, you can visit the link below for suggestions on how protect your account and prevent similar incidents from happening in the future;
http://www.skype.com/intl/en/security/online-safety/
Note: if your account has a billing or purchase history in the last 6 months, you can request for a new password without the need of your registered email address. just click the link below;
https://login.skype.com/account/password-automation
IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
| skypefordummies.blogspot.com | -
Partner Function Address change at line item level - Item Partners checkbox
Hi guru, we have a requirement that we need to change the address for partner function at line item level without changing the partner number. Currently the ship-to partner function address is automatically coming from the header although the number is modifiable but not the address (when double click into the partner number, the pop-up is grayed out). It is probably because the Item partner check box for the shipto partner is not checked (field name: SD_PARTNER_POSFLAG). However that field is not modifiable in VA02 either.
If the shipto partner number is overwritten, then the item partner check-box is automatically checked and allows address chanage. Is there a way in the configuration that can default the 'item partners' checkbox for certain partner so the address can be changed without the need to overwrite the account?
Any advice is appreciated.
Thank you.If the item level ship-to party is derived from header partner function, but you want to change the address at item screen rather than header level. On item screen, enter the same function, the same number again in a new line, "item partner SD_PARTNER_POSFLAG" is then ticked. Then proceed to the address change.
No need to do modification. -
Hi everybody,
I get the following error in a Opportunity:
Item 100: Address changes for partner function Projektorganigramm (assignment BUYING-CENTER) not possible
Can anyone tell me what is wrong and how I can fix this please?
Thank You!
Regards BjoernHello Bjorhn,,
Go to the spro-->crm-->basic functions-->Partner functions-->partner determination procedure.
select the procedure set for opportunities. now Select the Check box for Changeable address which means one will be able to change the address if the partner function has many addresses.
see the attatchment snapshot
please reward the answer and like if my answer if helpful
.Regards
sai -
HT202667 The "edit" button does not pop up next to my Apple ID and Primary Email Address
The "edit" button does not pop up next to my Apple ID and Primary Email Address. I want to change my address because its an old @mac.com address and I want to update it with my @gmail.com. I'm guessing this is an apple support question, but I would like to just get it fixed.
Just making sure we are comparing Apples to apples, so to speak.
If this is NOT what you see at My Apple ID - then Apple ID: Contacting Apple for help with Apple ID account security
It seems that for SOME folks it takes contact with a live person at Apple - can't explain why though. One person replied that after contacting Apple, they were instructed to email [email protected] with old and new. I never heard back if that was successful or not - just that the email was instructed.
ÇÇÇ -
Need to change name and e-mail address on an account - change of employee
I need to change the name and e-mail address of a current adobe account to another employees.
If you know the answers to your security questions, then from http://support.apple.com/kb/HT5312 :
Navigate to appleid.apple.com using your web browser.
Click "Manage your account"
When prompted, sign in using your Apple ID and password.
Click Password & Security
You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
Once you've finished editing your rescue email address, click the Save button directly below the email field.
If you can't remember your answers then you will need to contact iTunes Support / Apple in your country to get the questions reset, before you can then use the above steps for potential future use.
Contacting Apple about account security : http://support.apple.com/kb/HT5699
Maybe you are looking for
-
Good evening, Been having an issue with the latest version of itunes and was wondering if there is a way around it. For as long as I have had my mac and itunes the listing order of artist always started with a numbered group..for example .38 Special
-
Works on dev, but not production server
I am building a site using LCCS which works on my laptop, which runs ColdFusion 9 and Apache. But it does not work on my production server, which is ColdFusion 8 and IIS. I have made the various configuration changes and I can successfully create a r
-
New iMac G5. Is it ok?
I'm going to be getting a new iMac G5 2.0Ghz this week. I am ready the blogs about the imac and have a few worries about its visual stability. Please could I have some constructive adive about this machine. So I won't go make a mistake! I am updradin
-
Retail Execution Application Device Registration Issues
Hello Community, I am having issues registering the Retail Execution application with a user in CRM. I am testing with an iOS device where I downloaded the application from the app store and an Android device where I got the APK from the SAP marketpl
-
Camera Raw does not support fujifilm HS50EXR Raw file.
I'm using Lightroom 5.5 and Adobe Photoshop CC (having camera raw version 8.1.0.14). I've downloaded some raw files of fujifilm HS50EXR from http://www.photographyblog.com/reviews/fujifilm_finepix_hs50exr_review/sample_images/ to try and check qualit