what is 'X' parameter in BAPI?
Answers were Sorted based on User's Feedback
Answer / somashekar
to make a changes in BAPI Parameter we will be using staemt 'X".
Is This Answer Correct ? | 18 Yes | 3 No |
Answer / somashekar
When the BAPI is called, the fields in the additional change parameter whose ... additional change parameter consists of the parameter name with the suffix "X".
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / santhi
'x' is used to commit/update the data into database
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sathish kumar
In BAPIs that cause database changes (for example, Change() and Create() BAPIs), you must be able to distinguish between parameter fields that are to be modified (change-relevant fields) and parameter fields that are to remain unmodified.
Using an initial value is no solution because an initial value could also represent a valid new value. Also, in the ABAP programming language as well as on other development platforms, the value "NULL" should not be assigned to a data type to indicate an empty field.
Standardized change parameters are used to identify fields with modified values in Change() and Create() BAPIs. You can do this in two ways:
Flagging Fields to Identify Fields Containing Modified Values
Comparing Fields to Identify Fields Containing Modified Values
Flagging Fields to Identify Fields Containing Modified Values
In this approach parameter fields containing modified values are identified by including a flag in an additional "change parameter".
An additional change parameter must be created with the same number of fields and the same field names for every parameter in the BAPI containing modified field values.
When the BAPI is called, the fields in the additional change parameter whose counterparts in the corresponding parameter contain modifications, must be marked with an update flag.
This way the BAPI can identify both modified and unmodified fields in the parameter.
Follow the conventions below when you create change parameters to identify modified fields:
The name of the additional change parameter consists of the parameter name with the suffix "X". For instance, if the parameter is called EquiSales, the name of the additional change parameter is EquiSalesX.
The additional change parameter must contain exactly the same number of fields and the same field names as the parameter. You must use the data element BAPIUPDATE (CHAR 1) as the data element for the update fields. This can have the following values:
'X'
Is This Answer Correct ? | 1 Yes | 1 No |
can we migrate custom defined smart form into adobe form, if yes what are connecting settings we have to make in adboe form?
What is the use of at new statement ?
How to reterive data from the data base using scripts with out touching the print program
What is the difference between Exit and Stop?
While Transporting Smartform form Dev to Test to Production, it is possible that Name of the Function Module change, Why? In which case it changes and in which case it remains same?
Specify the types of data dictionary objects.
Can you show multiple alvs on a single screen?
Explain what is a logical database?
how to download sap Smart form in text format
What is update task
what will happen if you dont give any value in parameter and select options in report??will it fetch any value?
what is 3 tire architecture and how does SAP utilizes this architecture. and how do netweaver came into picture?