Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is 'X' parameter in BAPI?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In events, start-of-selection is a default event. When we have to use this event explicitly? Why?

1036


What are the components of sap scripts? : abap hr

1089


Differentiate between static and dynamic step loops?

1069


What are the user interfaces of interactive lists?

1036


What is the difference between a structure and a table? : abap data dictionary

1105


what is the difference between hashed & sorted internal tables?

2216


Explain about the tables exists in a data dictionary and what are they? : abap data dictionary

1098


I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr

988


Double click function on the lists, identifying the line selected by the user on the list?

1040


What are the data types of the external layer?

1068


What is difference between inner join and outer join?

1088


What is the basic difference internal tables and database tables? : abap data dictionary

1033


Under Data Transfer Portion of ABAP, what do you mean by DX Project

2309


Difference between open sql and native sql? : abap data dictionary

1055


What are the 3 methods that we use in sequence in a batch input session method? : abap bdc

1089