Additional data to be sent in manage order
Hi All,
I have to send an addition data at the header as well as line item level at the time of updating an order.
In B2B application, when I am updating an order I am additing data in respective business object.
HeaderData headerData = isaBOM.getOrder().getHeaderData();
//setting the value for header in headerData
ItemList itemsdata = isaBOM.getOrder().getItems();
// setting value for items in itemsdata
In log.debug I can see the data getting passed from front end to java layer, but no data is getting passed to badi in backend.
Can anyone help me in this?
Thanks.
Regards,
Rupali
Hi,
isaBOM.getOrder().getHeader().addExtensionData("Name","Value");
or
isaBOM.getOrder().getHeaderData().addExtensionData("Name","Value");
Use the above and when you update your order you will be able to populate this values in CRM_ISA_BASKET_CHANGEHEAD Function Module.
Regards,
Sateesh Chandra
Similar Messages
-
Additional Data's WBS Element of Work Order
Hello,
I need to fetch the Additional Data's WBS Element for work orders (PM module) and then also apply the change functionality to it.
Any BAPI or Function Module available for the same.
Can someone help me on that?Hi,
Please use the following steps as reference:
1.Go to T-Code pfcg
2.Create a Role by giving a name say ZPSTEST
3.Click on Authorization tab
4.You will be asked to save the profile first
5.Go to Change authorization data
6.Choose SAP_ALL and adopt reference.
7.Confirm Yes to insert all authorization
8.Go and expand the link project system
9.Expand the link PS: Project Manager for Project Definition
10.Here you will see two fields Activity for Authorization che and Number of responsible per
11.Click on change button on the first field.
12.Here click on Cancel full authorization
13.Now, here you can choose what all functions you want to assign for this authorization Role.
14.Choose say Display and save
15.Click on Number of responsible person and choose any person , say XYZ
16.Now the authorization role is ready. This setting will ensure that any person who is assigned this role will only be able to Display the projects , if the responsible person is XYZ
17.Go back to the pervious screen. In the process Generate the profile also.
18.Once you are in Change Roles Screen, go to tab USER. Here you can assign this role ZPSTEST to various users.
Reward points if useful.
Regards -
Sale Order additional data B.
Hi,
I have created 2 z fields in sale order additional data b at item level.
but when user is entering any data in that field,same data is getting displayed for all line items.
how to control that for particular item for which user has entered.
Data Entered in z fields are used only for display purpose which are used for some calculations.hi,
in PAI usercommand module
use loop endloop for internal table which store item level data
loop at item level data
user command module
endloop.
in module driving program .
module
read table it_issue index tab_ctl-current_line transporting no fields.
if sy-subrc = 0.
it_issue-kostl = p_kostl.
it_issue-ktext = p_ktext.
it_issue-for_sys = p_for_sys.
modify it_issue from it_issue index tab_ctl-current_line.
clear it_issue.
else.
it_issue-kostl = p_kostl.
it_issue-ktext = p_ktext.
it_issue-for_sys = p_for_sys.
append it_issue .
clear it_issue.
endif.
endmodule .
regards
deepak. -
Mandatory field in sales order additional data tab
Hi,
I have added an extra field in additional data tab of sales order.
How can i make this field as mandatory for certain sales organisations ?
TIAsince it's conditional, I think I would add code in SAVE_DOCUMENT_PREPARE subroutine in MV45AFZZ, based on transaction code, prior values (YVBAP) and current values (XVBAP), and issue an error message, allowing user to return to the screens displaying Item table control, when the field is not properly populated.
-
Screen compression problems in sales order additional data b screens
When i enter va01 for the slaes order he screens are:
SAPMV45A8309, Sales Document Header - User Exit Header
SAPMV45A8459, Sales doc. Item - User exit item
Use screen painter to change them. (transaction SE51)
what happened is that i have four boxes in additional data b subscreens and i am calling another sub screen 9801 which contains table control what happened is that while run time i am getting gap in the boex of screen 8459, how to compreess the boxes or spaces to accomodate the table control.
very urgent pls.....
regards
subbaThanks for your reply , Actually i am calling 9801 sub screen with table control on to 8459 sub screen(sapmv45a program)
still the problemm remains the same. I am using the code as below.zie,z01,zia are all modification groups to hide the boxes in the 8459 screen, pls check my code and revert back urgently urgently.....
PROCESS BEFORE OUTPUT.
Verarbeitung vor der Ausg
MODULE ZZ_GET_TEXT.
MODULE ZZ_FIELD_SETTINGS.
CALL SUBSCREEN ZZAUDIT INCLUDING 'SAPMV45A' '9801'.
PROCESS AFTER INPUT.
CALL SUBSCREEN ZZAUDIT.
MODULE ZZ_FIELD_SETTINGS OUTPUT.
LOOP AT SCREEN.
Determine main grouping based upon mod group 3 field.
CASE SCREEN-GROUP3.
WHEN 'ZIA'. " Orbit /interface architecture.
PERFORM ZZ_FIELD_ZIA.
WHEN 'ZIE'. " ERI interface.
PERFORM ZZ_FIELD_ZIE.
WHEN 'Z01'. " Generic -Relevant for all interfaces potentially.
PERFORM ZZ_FIELD_Z01.
ENDCASE.
Handle display of contract versus other doc types.
IF VBAK-VBTYP EQ 'G'. "Contract doc type.
IF SCREEN-GROUP4 NE 'Z02'.
SCREEN-ACTIVE = 0. " field not relevant for contract display.
ENDIF.
ELSE. "other doc types.
IF SCREEN-GROUP4 EQ 'Z02'.
Field not relevant for non-contract display.
SCREEN-ACTIVE = 0.
ENDIF.
ENDIF.
FORM ZZ_FIELD_ZIE.
IF NOT VBAK-AUART IN ZZR_AUART.
IA related Doc Type - Hide ERI fields
SCREEN-ACTIVE = 0.
ELSE.
IF SY-BINPT NE 'X'. " Not Processing in BDC Mode
SCREEN-INPUT = 0. " Turn Off Input Ability
ENDIF.
CASE SCREEN-GROUP4.
WHEN 'ZAU'. " Audit Toggle Related
IF zzshowaudit NE 'X'.
screen-active = 0.
ENDIF.
WHEN 'ENA'.
SCREEN-INPUT = 1.
WHEN 'ZTS'.
IF SY-SYSID EQ 'DV2'.
SCREEN-INPUT = 1. " Testing Allowed in Development
ENDIF.
ENDCASE.
ENDIF.
FORM ZZ_FIELD_ZIA.
IF VBAK-AUART IN ZZR_AUART.
ERI related Doc Type -Hide IA related fields
SCREEN-ACTIVE = 0.
ELSE.
CASE SCREEN-GROUP1.
WHEN '001'. "0902 specific fields
WHEN '002'. "0902 WebCore fields
IF VBAK-VKORG NE '0902' AND
VBAK-VKORG NE '0903' AND
VBAK-VKORG NE '0917'.
SCREEN-INPUT = 0.
ENDIF.
WHEN '003'. "0917 specific fields
IF VBAK-VKORG NE '0917'.
SCREEN-INPUT = 0.
ENDIF.
WHEN '999'. "Generic Fields
IF VBAK-VKORG EQ '0917' OR
VBAK-VKORG EQ '0902' OR
VBAK-VKORG EQ '0903'. -
User exit for additional data B for sale order item .
Hi., all
my client requirement is
( This business requirement will make the Last Price for a given item be visible during order entry. )
u2022Retrieve & display during order entry, the most recent unit price given to a customer for a specific item, from the Billing data.
. Display the Last Price under Additional Data B Screen
add new field (last extended price) in additional data b screen.
after that 1. Using the Sales Order Material Number (VBAP-MATNR), Sales Order Sales Organization (VBAK-VKORG), Sales Order Distribution Channel (VBAK-VTWEG), Sales Order Division (VBAK-SPART), Sales Order Sold-to Number (VBPA-KUNNR for VBPA-PARVW=u2019AGu2019) to access the Billing Items By Material Index Table (VRPMA) and specify a billing date (VRPMA-FKDAT) of less than 60 days from current Sales Order requested delivery date (if specified at header VBAK-VDATU or at the schedule line level (VBEP-EDATU). This will result in all the billing documents where the Sold-to bought the item but isnu2019t completely refined as of yet. Retain the billing document (VRPMA-VBELN), item (VBPMA-POSNR), and billing date (VRPMA-FKDAT) in a temporary table to pass to number 2 as the input.
2. Use the billing document (VRPMA-VBELN) and item (VRPMA-POSNR) to read the Sales Document Partners Table (VBPA) where the partner function (VBPA-PARVW = u201CSHu201D) and the Sales Order Ship-To (VBPA-KUNNR for VBPA-PARVW=u2019WEu2019) to select ONLY billing documents that are for that given ship-to location. This filters out only billing documents relevant for that ship-to location.
3. From the resulting list of billing documents, select the most recent date (VRPMA-FKDAT) which will refine the search for the last Billing Document (VRPMA-VBELN) and item (VRPMA-POSNR).
4. Using the most recent Billing Document (VBPA-VBELN), access the Billing Document Item Table (VBRP). To result in the Last Extended Price as VBRP-KZWI1.
5. This price will be an extended price which needs to be calculated as a u2018unit priceu2019. For this billing item, select the sales unit (VBRP-VRKME) to determine if the sales unit is in cases or eaches.
a. If the unit of measure is in cases, then simple math is required to divide the Last Extended Price (VBRP-KZWI1) by the billing quantity (VBRP-FKIMG). Standard rounding should apply when .005 results in a .01.
how to achive this ?Hi Chakravarthy,
use the Exits provided in SAPMV45A -includes MV45*ZZ and screen exits as well 8309 8310 8459, 8460. Just be sure to
use zznnnnnn include in the SAP provided forms instead of coding directly in the forms.
You can check below user exits:
MV45ATZZ :For entering metadata for sales document processing. User-specific metadata must start with "ZZ".
MV45AOZZ:
For entering additional installation-specific modules for sales document processing which are called up by the screen and run under PBO (Process Before Output) prior to output of the screen. The modules must start with "ZZ".
MV45AIZZ:
For entering additional installation-specific modules for sales document processing. These are called up by the screen and run under PAI (Process After Input) after data input (for example, data validation). The modules must start with "ZZ".
MV45AFZZ and MV45EFZ1:
For entering installation-specific FORM routines and for using user exits, which may be required and can be used if necessary. These program components are called up by the modules in MV45AOZZ or MV45AIZZ.
Reddy -
Hi,
Can somebody explain the Use of customer group 1, 2 , 3, 4, 5 in Sales order Header ? Is it only meant for reporting?
ThanksTry:
Sales and Distribution -> Master Data -> Business Partners -> Customers -> Sales -> Maintain reserve fields in customer master
Help to this topic says:
There are reserve fields in the customer master record which are not used in the standard system. They are available for use and are as follows:
Customer group 1 (View: V_TVV1 Field:KVGR1)
Customer group 2 (View: V_TVV2 Field:KVGR2)
Customer group 3 (View: V_TVV3 Field:KVGR3)
Customer group 4 (View: V_TVV4 Field:KVGR4)
Customer group 5 (View: V_TVV5 Field:KVGR5)
You can find the fields in the customer master record under the sales and distribution data in Sales. Choose additional data under Environment.
It is advisable to change the field description (Data elements KVGR1 to KVGR5).
This is described in the system modifications in the Reserve fields unit of the customer master record:
Reserve Fields in Customer Master
Record
In this step you maintain the valid entries for the individual views.
Did this help you?
Greetings
Martin -
Additional Data A in Sales order Item....
Hi,
Where to Configure fields(Material Group1,Material Group 2) in Additional data A in Sales Order Item level??? so that user can select it from Dropdown list.
Any impact on Busines Process???
Regards,
AmolHi Amol,
The path for configuring these material groups is:
SPRO>Logistics-General>Materail master>Settings for key fields>Data relevant to sales and distribution-->Define material groups.
Here you can define the material groups and for each group you can define the values also. by double clicking on the groups.
No,It willnot have any impact on the business process at all.
Regards,
Krishna. -
How can I create User Entered Additional Data Points in Credit Management?
I currently have a requirement to create additional data points in Credit Management (11i) that require a data analyst to input the value so that the score can be calculated.
For example: Does customer have a Qualified Audit Report?
If YES = +10 points added to score
If NO = 0 points added to score
I was able to add an additional data point and the case folder was assigned to an analyst, however when opening the case folder to input the missing data, the additional datapoint was not included in the case folder. Does anyone know what I may have missed in the setup?
Data Point was defined as follows and added to a checklist called TEST.
Data point: Unqualified
Category: (none)
Parent: (none)
Application: Receivables
Scoreable: Y
Enabled: Y
PL/SQL Package: (none)
Function: (none)
Thanks in advance.
Shauna
Edited by: sphelps on Sep 22, 2011 8:29 AMThe setup described above was correct. The datapoints did not show up in the case folder until the next day. I am assuming that maybe the changes required a bounce or a background process of some sort.
-
Additional Data B in Sale Order Header / Item
Hi Friends,
Thanks in Advance.
Can we incorporate RADIO BUTTONS Logic in Additional Data B Screens. For me it is triggering Error, i am using ECC 6.0
Regards:
Sridhar.JAnswered by OWN.
Regards:
Sridhar.J -
Manage "Additional data B" in VA01 and BAPI_SALESORDER_SIMULATE
Hi all ,
I'm implementing a new field in VA01 custom screen named "Additional data B" in this field in the user exit "userexit_pricing_prepare_tkomk(sapmv45a)" a value in table KOMK .
This works well , but now i have to pass this custom value to BAPI_SALESORDER_SIMULATE , but i can't find any userexit or Extensionin custom Structure for make it working equal than VA01 .
Any Idea ? DarioHello, hello.
It is very important that your VBAKKOZX append have the same fieldname as your VBAK extension ZZ fields !!
-VBAK extension for VBAK-ZZTYPE and VBAK-ZZSTATUS -
- (count field length in BAPE_VBAK) -
clear: extensionin.
extensionin-structure = 'BAPE_VBAK'.
extensionin-valuepart1(10) = quotation_doc.
extensionin-valuepart1+10(4) = change_header-quot_status.
extensionin-valuepart1+14(4) = change_header-quot_type.
APPEND extensionin.
clear: extensionin.
extensionin-structure = 'BAPE_VBAKX'.
extensionin-valuepart1(10) = quotation_doc.
extensionin-valuepart1+10(1) = 'X'.
extensionin-valuepart1+11(1) = 'X'.
APPEND extensionin.
Erik
Edited by: Erik Hoven on May 22, 2008 9:17 AM -
Need to update WBS element in Additional data tab of an order
Hi all,
I have a custom program -> which creates service order against notification. My program uses BAPI_ALM_ORDER_MAINTAIN to create orders.
When these order are created - i need to update WBS element in Additioal data(CAUFVD-PSPEL) tab of on order. In which paramenter and how should we pass to acheive this.
Even i could not go for BDC as the order number at this point is not created.
Please let me know.
Thanks
SenthilDear Senthil,
See the link, How to use the BAPI BAPI_ALM_ORDER_MAINTAIN.
Maybe your requirement matching.
Regards,
Abbas. -
Adding custom fields to VA01 additional data tab without access key
I have to add custom fields at item level in transaction VA01/VA02.
Is access key required to add fields to additional data screen i.e 8459 ?
Is there any way to do this without using access key ?Hi ,
Try for any User Exit or BADI available for the tcodes.
Here are exits for VA01 and VA02.
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Regards,
Lakshman. -
Adding new fields to additional data B screen in sales transaction
Hi All,
I have a requirement like this I need to add 3 input fields and 1 push button(select oppurtunity) in additional data B screen of sales order transaction.If I click on this button I want geneate one pop up dialog box just like as search help box and I should be able to search data for these 3 fields data based on some 4 input fields data?How can I acheive this?I can add button and what I have to write the code in PBO and PAI of this screen?Please some body help me in this regard.
Regards
MaheshHi friend,
In SAP we can add few fields from maintain reserve fields. Please go through it;
Maintain Reserve Fields In Customer Master
There are reserve fields in the customer master record which are not used in the standard system. They are available for use and are as follows:
Customer group 1 (View: V_TVV1 Field:KVGR1)
Customer group 2 (View: V_TVV2 Field:KVGR2)
Customer group 3 (View: V_TVV3 Field:KVGR3)
Customer group 4 (View: V_TVV4 Field:KVGR4)
Customer group 5 (View: V_TVV5 Field:KVGR5)
You can find the fields in the customer master record under the sales and distribution data in Sales. Choose additional data under Environment.
It is advisable to change the field description (Data elements KVGR1 to KVGR5).
This is described in the system modifications in the Reserve fields unit of the customer master record:
Reserve Fields in Customer Master
Record
In this step you maintain the valid entries for the individual views. -
Additional data on relationship between two objects
Hi
We have a requirement to capture additional data on a relationship between two objects. The data to be captured are custom fields that are unique to the relationship between the objects and not specific to either of the objects.
We created a new object type and related it to the position (S)and the job (C) object. In the customising (Personnel Management/Personnel Development/Basic Settings/Maintain Relationships there is an option to set up Additional Data. There are however several restrictions (e.g. the substructure has to be in T77AD). When you set up an existing substructure (e.g. PAD22) and screen (e.g. 3000), it works really well, however we have not been able to get this to read our own substructure and screen (since there is no customer include on HRP1001 and the 'Additional data' button seems to go to MP100100 to find the screen).
My question is two fold:
a) Is this an allowed customisation (e.g. can we create our own substructure, screen and Query string)? And if so, how does the data get into T77AD (since SAP recommends that data should not be added to this table)? and
b) Is there any documentation on this (thus far I have only received info on how to enhance infotypes which I don't think is relevant???)?
If this can not be maintained is there any other suggestions on how to deal with this scenario?
Any assistance will be appreciated.
Regards
LiezlHi everyone
Thanks for everyone who tried to assist us with this. I am happy to report that our in-house guru's have found the answer. So, for anyone who is interested:
In programme MP100100 you have a screen 6000 which is a customer enhancements screen. We set up two in-house function modules for the PBO and PAI with its own screen and added an append structure to PAD31 to add the fields required. In the configuration, we then specified PAD31 as the substructure with screen 6000 and then also specified our own PBO and PAI function modules. The parameters required for screen 6000 is set up within our own customer screens.
Hope this will be helpful to someone - it certainly seemed to open up some doors for us!
Regards
Liezl
Maybe you are looking for
-
How do you stop multiple users executing the same calc script at the same time?
We have an issue when users uplaod a spreadsheet and then run a calc script. at one time we have multiple exectuions of the script running. This slows up the system and we have to go cancel all the executions and run it again. Can we stop this and p
-
Does anyone know, how to fix ' This installation package could not be opened. Verify that the package exists and that you can access it, or contact the applikcation vendor to verify that this is a valid Windows Installer package." ?
-
I have a portege R705. On eday it refused to boot, stating first it is loading windows, then stating that windows has encountered a problem communicating with a device connected to the computer. it further say that it may be caused by pulling a US
-
My phone displays numbers instead of contact names for incoming calls and text - how do I fix?
My phone displays numbers instead of contact names for incoming calls and text - how do I fix? It used to display the names if there was a contact listed, now it just shows numbers regardless of whether or not the number corresponds to a contact nam
-
Playlist/folder Help.
Hello. To cut down on confusion, this is exaclty what I want to acheive: I want to go to the music section of my iPod then to Playlists then to a folder INSIDE the playlists called 'Albums' and INSIDE the Albums folder, there are numerous albums that