Give me some clarification about BAPI's
Hai All,
Here i am creating a sales order through BAPI_SALESORDER_CREATEFROMDAT2 function module. In this i am passing TARGET_QTY field through tables parameter ORDER_ITEMS_IN. Here it is creating sales order number. And aslo it is giving a warning message that sales order not created completely. When i am checking the sales order through va02 transaction the target quantity which i have passed is not reflecting to ORDER QTY of the sales order. Please clarify this problem
Hi
May be Something wrong when passing the Qty field to the BAPI structure
see the sample code and do accordingly
PARAMETERS: p_auart TYPE auart OBLIGATORY.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
PARAMETERS: p_spart TYPE vtweg OBLIGATORY.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
*ITEM
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
PARAMETERS: p_itcat TYPE pstyv OBLIGATORY.
DATA DECLARATIONS.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
HEADER DATA
header-doc_type = p_auart.
headerx-doc_type = 'X'.
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
PARTNER DATA
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
item-material = p_matnr.
itemx-material = 'X'.
item-plant = p_plant.
itemx-plant = 'X'.
item-target_qty = p_menge.
itemx-target_qty = 'X'.
item-target_qu = 'EA'.
itemx-target_qu = 'X'.
item-item_categ = p_itcat.
itemx-item_categ = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.
Regards
Anji
Similar Messages
-
can you give me some reasons about why I need to buy an iPod touch 5.Although I have the iPhone ,iPod nano, iPad ,MacBook pro,I think the iPod touch 5 is so attractive that I can't help buying it at once.If I have it,what I can do with it,can you tell me?
All I can say is that I REALLY like my Touch 4th gen because I have all sorts of capabilities in a small form: e-mail, web browsing, news, weather, books, magazines, etc. etc. Plus lots and lots of apps out there, including so many free ones. I use the Cloud a lot so it's great to have everything sync'd to my MacBookPro (e-mail, Evernote, Pocket, etc.)
It would be easier, though, to do some of this, especially magazines, on the iPad mini, but, again, I love the small size of the Touch.
As for the 5th gen instead of the 4th, the fifth has Siri and the 3D feature in maps, which are great. And I'm sure it's a lot faster in iOS 6 than the 4th gen. And cool colors!
Don't know if this helps . . . -
Woudl you please give me some meterial about general HR operations?
Hi experts :
would you please give me some meterial about general HR operations and configuraions
Thank you very much.Transaction Code:-OH00
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Define employee attributes
Transaction Code:-OH00
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Define employee attributes
Transaction Code:-OH00
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Define employee attributes
Transaction Code:-OH00
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Create payroll area
Transaction Code:-OH00
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Create payroll area
Transaction Code:-PE03
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Check Default Payroll Area
Transaction Code:-PA03
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Create control record
Transaction Code:-PA03
Personnel Management Personnel AdministrationOrganizational Data Organizational Assignment Create control record
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayDefine EE Sub Group Grourping for PCR and Collective Agreement Provision
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayDefine Reason for Change
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayCheck PayScale Type
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayCheck PayScale Area
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayCheck Assignment of PayScale Structure to Enterprise Structure
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayDetermine Default for PayScale Data
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PaySetup Payroll Period for Collective Agreement Provision
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayDefine PayScale Salary ranges
Transaction Code:-OH11
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Create Wage Type
Transaction Code:-OH11
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Create Wage Type
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Check Wage Type Group Basic Pay
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Check Wage Type CatalogCheck Wage Type Text
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Check Wage Type CatalogCheck Entry Permissibility Per Infotype
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Check Wage Type CatalogCheck Wage Type Characteristics
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Check Wage Type CatalogCheck Wage Type Characteristics
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Employee Sub Group Grouping for Primary Wage
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Personnel Sub Area Grouping for Primary Wage Type
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Define Wage Type Permissibility for each PS and ESG
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataBasic PayWage Types Define Wage Type Permissibility for each PS and ESG
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionDefine Reason for Change
Transaction Code:-OH11
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCreate Wage Type Catalog
Transaction Code:-OH11
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCreate Wage Type Catalog
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCheck Wage Type Group Recurring Payments and Deduction
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCheck Wage Type CatalogCheck Wage Type text
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCheck Wage Type CatalogCheck Entry Permissibility Per Infotype
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCheck Wage Type CatalogCheck Wage Type Characteristics
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesCheck Wage Type CatalogCheck Wage Type Characteristics
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesDefine Employee Sub Group Grouping for Primary Wage Type.
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesDefine Personnel Area Grouping for Primary Wage Type
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesDefine Wage Type Permissibility for each PS and ESG
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataRecurring Payment and DeductionWage TypesDefine Wage Type Permissibility for each PS and ESG
Transaction Code:-OH00
Personnel Management Personnel AdministrationaPPayroll DataAdditional Payments Define Reasons for Changes
Transaction Code:-OH11
Personnel Management Personnel AdministrationaPPayroll DataAdditional Payments Wage TypesCreate Wage Type Catalog
Transaction Code:-OH11
Personnel Management Personnel AdministrationPayroll DataAdditional Payments Wage TypesCreate Wage Type Catalog
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataAdditional Payments and DeductionWage TypesCheck Wage Type Group Additional Payments
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataAdditional Payments and DeductionWage TypesCheck Wage Type CatalogCheck Wage Type
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesCheck Wage Type CatalogCheck Entry Permissibility for Additional Payments
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesCheck Wage Type CatalogCheck Wage Type Characteristics.
Transaction Code:-OH13
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesCheck Wage Type CatalogCheck Wage Type Characteristics.
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesDefine Employee Sub Group Grouping for Primary Wage Type.
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesDefine Employee Sub Group Grouping for Primary Wage Type.
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesDefine Wage Type Permissibility for each PS and ESG
Transaction Code:-OH00
Personnel Management Personnel AdministrationPayroll DataAdditional PaymentsWage TypesDefine Wage Type Permissibility for each PS and ESG
Transaction Code:-PA03
Payroll Payroll IndiaBasic SettingsPayroll OrganizationCheck Payroll Accounting Area
Transaction Code:-OG00
Payroll Payroll IndiaBasic SettingsPayroll OrganizationGenerate Payroll Periods
Transaction Code:-OH00
Payroll Payroll IndiaBasic SettingsPayroll OrganizationGenerate Payroll PeriodsCheck Date of Payday
Transaction Code:-OG00
Payroll Payroll IndiaBasic SettingsPayroll OrganizationGenerate Calender for Cumulation
Transaction Code:-OH00
Payroll Payroll IndiaPayscale GroupingsDefine Payscale Groupings for Allowances
Transaction Code:-OH00
Payroll Payroll IndiaPayscale GroupingsAsssign Payscale Groupings for Allowances
Transaction Code:-OH00
Payroll Payroll IndiaBasic Salary for IndiaAsssign Basic Wage Types to Groupings for Allowances
Transaction Code:-OH00
Payroll Payroll IndiaBasic Salary for IndiaAsssign Basic Wage Types to Groupings for Allowances
Transaction Code:-OH00
Payroll Payroll IndiaBasic Salary for IndiaAssign Basic Codes for Allowance Groups
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksAssign Wage type Model for Payscale Grouping for Allowances
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain Default Wage Types for Basic Pay
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain Wage Types Characteristics
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain Wage Types Characteristics
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain PayScale Groups and Levels.
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain PayScale Groups and Levels
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain Valuation of Basic of Basic Wage Type
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksMaintain Allowance Rules Based on Slabs
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksCalculate Eligibility for RAPs
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksCalculate Eligibility for RAPs
Transaction Code:-OH00
Payroll Payroll IndiaReimbursements, Allowances and PerksCalculate Eligibility for RAPs
Transaction Code:-OH00
Payroll Payroll IndiaCompany LoansMaster DataCreate a Loan Type
Transaction Code:-SPRO
Payroll Payroll IndiaCompany LoansMaster DataAssign Repayment Type
Transaction Code:-SPRO
Payroll Payroll IndiaCompany LoansMaster DataCreate Loan Conditions
Transaction Code:-SPRO
Payroll Payroll IndiaCompany LoansMaster DataCreate Loan Conditions
Transaction Code:-SPRO
Payroll Payroll IndiaCompany LoansMaster DataCreate Loan Conditions
Transaction Code:-OH00
Payroll Payroll IndiaCompany LoansMaster DataMaintain Loan Eligibility Checks and Limits
Transaction Code:-SPRO
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemEmployee Grouping and Symbolic AccountsDefine Employee Grouping Account Determination
Transaction Code:-SPRO
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemEmployee Grouping and Symbolic AccountsDefine Symbolic Accounts
Transaction Code:-OH02
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemMaintain Wage TypesDefine Posting Characteristics for Wage Types
Transaction Code:-OH02
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemMaintain Wage TypesDefine Posting Characteristics for Wage
Transaction Code:-OG00
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemMaintain Wage TypesMaintain Posting Periods for Payroll Periods
Transaction Code:-OH00
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemMaintain Wage TypesMaintain Posting Periods for Payroll Periods
Transaction Code:-SPRO
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemCreate Posting Variants
Transaction Code:-OBYE
Payroll Payroll IndiaReporting for Posting Results to AccountingAssigning AccountsAssign Expense Accounts
Transaction Code:-OBYE
Payroll Payroll IndiaReporting for Posting Results to Accounting Activities in HR SystemAssigning AccountsAssign Expense Accounts
Transaction Code:-OBYG
Payroll Payroll IndiaReporting for Posting Results to AccountingAssigning AccountsAssign Balance Sheet Accounts
Transaction Code:-OBYG
Payroll Payroll IndiaReporting for Posting Results to AccountingAssigning AccountsAssign Balance Sheet Accounts
Transaction Code:-OG00
Payroll Payroll IndiaReporting for Posting Results to AccountingCheck Customizing for Account Determination
Transaction Code:-OG00
Payroll Payroll IndiaReporting for Posting Results to AccountingCheck Customizing for Account Determination
Transaction Code:-SPRO
Payroll Payroll IndiaPayroll CalenderDefine Schedule for Payroll Calender
Transaction Code:-SPRO
Payroll Payroll IndiaPayroll CalenderDefine Schedule for Payroll Calender -
Give me some suggestions about enterprise websites
Recent very distressed and hope everybody can give me some advice sincerely. When you look at these websites at first sight,Can you give the first feeling?Theses websites involves in different industries,such as hardware industry,chemical industry, rubber industry, construction industry and so on!Each websites I will give you some keywords.The keywords in hardware industry are marine hardware, trailer parts, wrouht iron, scaffold, sand casting, hand tools and so on!Chemical industry:swimming pool chemical, ammonium nitrate, sea sault.Rubber industry:rubber seal.Consruction industry:granite countertops, paint tools, storage bin.If you have any Suggestions, please don't hesitate to give me some Suggestions.Thanks!
The decision of whether to use CLDC or CDC is made for you by the device you are programming for. If you want to write an application for a particular smartphone then you have to find out what configuration it is running and as far as I know all smartphones (no matter how powerful) will be running CLDC. The CDC is aimed at things like set-top boxes for televisions and other such devices that run from mains power for example.
Within CLDC there are 2 versions, 1.0 and 1.1 and again the choice of which one to use comes from the device you are aiming for. The same for MIDP, which has version 1.0 and 2.0. As an example I am developing an application for a Nokia N95 and I know from the phone documentation that it is running CLDC 1.1 and MIDP 2.0.
I've never looked at CDC to be able to tell you the differences but if you are starting development of a mobile phone application then you will want to look at CLDC/MIDP and you should never have to worry about getting it to work on a CDC emulator because you will never need to do that. -
Please give me some material about Oracle forms..!
HI All
This is Narendra ,I did Oracle Certification,now i want to learn Oracle forms also.
Please give me some material if you have it,which test book is good for starting and what all to learn.Please send me if you have any PDF's
Best Regards
Narendra YarapathineniHi You can go through this url : http://www.oracle.com/pls/db102/portal.portal_db?selected=5
And also
http://www.oracle.com/technology/products/forms/htdocs/d2q60.htm
Message was edited by:
user539670 -
Give me some advice about the big message
Whether JMS provider provide the function to deal with big message? i haven't found.Whether should I split the message myself? but if i split myself,the message as a whole will be difficult to ensure whole.I can only receive message one by one.If i only receive some of the splitted messages,and the other still in the topic ,all of the messages are unuseful.if u have practice in this ,give me some good advice pls.thanks.
There are JMS servers in the market, which provide an inbuilt mechanism to send large messages. Some of them implement this by internally compressing/splitting into various parts and who so ever is listening on that destination is delivered the complete message/file by concatinating/uncompressing them at the consumer side. Do check for this support in your JMS provider.
-
Would you give me some information about objective-c multi thread
hello,
I am studing objective-c multi thread, but have not enough information. would you give me some, please? Thanks very much!Have you tried the ADC pages: http://developer.apple.com/macosx/?
Multi-threading can be a complicated business in any programming language, so good luck! -
Would you give me some information about objective-c multi thread please
hello,
I am studing objective-c multi thread, but have not enough information. would you give me some, please? Thanks very much!Hello
You rang at the wrong door.
This forum is dedicated to AppleWorks, not to objective-c
Yvan KOENIG (from FRANCE mercredi 9 août 2006 07:38:25) -
I have very thin, colored lines that have shown up on my IMac monitor screen. I don't know where they came from or how to get rid of them. I'm concerned now because I started with one and now have three. Does any know why this occurs or how to get rid of them?
I got an address from Applecare, although I can't place my hand on it right now. I didn't bother persuing the letter route myself as I didn't expect much. I know that the location was Cork, Ireland though as that where the UK Applecare is based as far as I'm aware. The best thing to do is to call Applecare (if it's free) and discuss the issue. State that you are not happy wit the fact that you will have to pay to have the problem resolved especiiay if it is an ongoing problem that has not been resolved. I ended up speaking to a senior manager of the Applecare team who then proceeded to tell me about mailing in my grievence to customer services division or something like that.
If I can find the address I may post it if I'm allowed.
In the case of age, Schools usually have a 5-year life-cycle as they tend to be used differently than consumer machines, i.e. being used constantly on a daily basis for at least 12 hours with no break. you would expect issues to appear after a few years, but I expect problems that arise through defects to be resolved and stay resolved. As I mentioned we had machines for around 2 years before the lines appeared and sent them to be repaired. I'm happy with that. What I am unhappy about is the fact that the problem has reappeared exactly in the same way and now I'm left with around 7 machines that I either pay loads to repair or, the more likely replace the machines with newer ones since the age is now big enough to warrant the replacement.
Sorry for the lengthy moan, but these are the reasons I purchased Apple ahrdware in the first place to avoid the "not our problem" stance some PC vendors usually take, similar to the Dell monitors thread mentioned in here somewhere. -
Somebody can give me some manual about tuxedo! thanks
I need the tuxedo manual about its functions and atmi , api!
so somebody can help me !
Please give a link or post them to me mailbox !
[email protected]
thanks!http://edocs.beasys.com/more_tux.html
"redtomy" <[email protected]> wrote:
>
I need the tuxedo manual about its functions and atmi , api!
so somebody can help me !
Please give a link or post them to me mailbox !
[email protected]
thanks! -
Can anyone give me some link about the axample about the tree
Dear All:
I am learning something about the tree, is there any one can provide a link about a an example for tree node deletion /add?
and I also need an example about drop and drag a node from the tree too.
Thank you very much !Start with this section from the Swing tutorial on "How to Use Trees":
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
The Swing Connections has a couple of articles that might help:
http://java.sun.com/products/jfc/tsc/articles/ -
Could you give me some ideas about striping html tags?
Hi everyone:
I am wondered where to get this component in J2se api or another projects(like commons)?
If you know where to find it? Please tell me directly...
Thanks a lot!!Thank you hiwa, I will google it named HtmlEditorKit.Search the Swing forum: http://forum.java.sun.com/forum.jspa?forumID=57
>
>
I can not do this with simply regex as you said "it
is dirty", because it maybe filter some useful
information like "<NotHtmlTag>".No. Use a proper regex. Read the java.util.regex.Pattern class documentation. -
Just some clarification about special points...
...that is, 20 points for each new member I refer...
How long I have to wait before seeing these points on my account ?
Since last week I know that 2/3 persons gave my mail as reference, but, till now, I see nothing !
Thanks for sharing your experience !
Bye,
RobertoOne week...
-
Some Quick clarification about 2012 and always on Availability groups
Hi guys, just need some clarification about always on.
I've got plenty of experience with normal SQL Clusters, but just need some clarification around always on availability groups.
I presume with AG, you setup a listener and this becomes your point of connection, IE this is what you use in the you connection string for you applications, so can I use this when I am setting up a new application, and will this automatically make the Database
that's created by the APP, Highly available. ? or do you still have to add it to the AG afterwards. ?
I have also read that you can still point to the installed SQL instance, and you don't need to use the AG group listener, but how does this make your DB HA ? how does the failover work.
I also presume you don't need to use any roles under the MSC anymore.
Kind regards
Mark.GHi Mark
I presume with AG, you setup a listener and this becomes your point of connection
That's right, the listener is a virtual network name and you can use this to connect to the primary or secondary replica. Your connections will go in against the primary unless you're using
read-only routing.
so can I use this when I am setting up a new application, and will this automatically make the Database that's created by the APP, Highly available
The first thing you'll have to do is set up the availability group (AG). You can then associate a listener to the AG. I know you're familiar with failover clustering but the mechanics of this are much closer to database mirroring. For every database that's
part of the AG you'll have at least one secondary replica, it's possible to automatically failover to this if you're in synchronous mode.
I have also read that you can still point to the installed SQL instance, and you don't need to use the AG group listener, but how does this make your DB HA ? how does the failover work.
Yes you can do, but from an application perspective you should only do this for databases that are not part of an AG. If you connect to the instance directly and you have a failover your app will no be able to connect to the database (on the assumption your
secondary isn't read-only). App connections should always be via the Virtual Network Name.
I also presume you don't need to use any roles under the MSC anymore.
Not sure I understand this? Do you mean will roles be available in cluster manager? Each AG group will have a role but failover is now controlled through the SQL Server rather than the cluster manager. -
Hi,everyone.
Now i want to use JCo and BAPI to execute a function(create sales order ps:transaction code is VA01).
How do i to find the BAPI that i need?
And where can i find some documents about BAPI?
Thx~~ a lot
PS:if this topic isn`t suitable in Java Programming,plz tell me thx ,^^
by LouisHI Louis,
You can find out the bapis , by running transaction -bapi (Bapi Explorer).
Here u get a list of standard BAPI's given by SAP.
u can select appropriate bapi from here.. Associated with each bapi documentation is there . from this u will get a clear picture of import params ,export params and tables.
Now to execute BAPI or RFC using JCO,
please go through this sample piece of code. fill the params of standard jco methods with appropriate parameters for your use.
private static JCO.Client client;
private static JCO.Repository repository;
client =
JCO.createClient(
"<client num>",
"<user name>",
"<password>",
"en",
"<server ip or server name>",
"<instance number>");
client.connect();
repository = new JCO.Repository("REP", client);
try {
IFunctionTemplate m_read_container;
m_read_container =repository.getFunctionTemplate("<RFC Name>");
JCO.Function function_read_cont = m_read_container.getFunction();
JCO.ParameterList importparam =
function_read_cont.getImportParameterList();
importparam.setValue(<Your value to pass>, "<Import parameter name as in RFC>");
client.execute(function_read_cont);
JCO.ParameterList tables =
function_read_cont.getTableParameterList();
//For Tables
JCO.Table container = tables.getTable("<Your table Name from table parameter>");
for (int iCtr = 0; iCtr < container.getNumRows(); iCtr++) {
container.setRow(iCtr);
Strin value = container.getString("<Tale fieldName>");
JCO.ParameterList exp_abs_read =
function_read_cont.getExportParameterList();//For Export Params
JCO.Structure st_abs_read =
exp_abs_read.getStructure("<If structure using then give structure name>");
for (int iCtrst = 0;iCtrst < st_abs_read.getNumFields();
iCtrst++) {
// String str_field_val = st_abs_read.getString("<Structure Field Name>"));
String fieldName = st_abs_read.getName(iCtrst);
} catch (Exception e) {
Regards
Kishor Gopinathan
Maybe you are looking for
-
Goods issue directly without Goods Receipt(MIGO).
Please let me know the standard process of issue directly to user in emergency, without preparation of MIGO, but the transactions can be done postfscto.
-
BAPI_ACC_INVOICE_RECEIPT_POST Question
Hi Guys, We are using BAPI_ACC_INVOICE_RECEIPT_POST to post vendor invoices. The invoices are getting posted correctly but the payment proposal is unable to pick up these invoices for some reason. When we manually post invoices using FB60 they get pi
-
Does TotalPageCount affect report execution on production as well ?
Hi... As part of the mass report generation process an employee report needs to be run on production every month. The process runs for almost 2000-3000 customers and generats report for each of them. The static copies of this report is any mailed to
-
Keep getting download error on purchased beatles lp
i appear to have downloaded the entire album, but everytime i open itunes on my mac, it reports an error about being unable to download the sgt pepper mystery tour album. i think this maybe the new LP content which doesnt appear to work or complete d
-
Potential Problem in migration from 8.1.5 to 9i - Help!!
Hi, We are in the process of migrating our Oracle 8.1.5 Server to Oracle 9i. Till now we have not faced any issue. Came to know that the logic for sort is opposite as in the case of 8.5x and above releases. This should not have any issues in our case