on 05-03-2006 11:04 AM
hi,
This Guru,
i am working as java programmer.My Work is Retrieve Data from SAP.But i am facing so many problems because having less knowledge on SAP.
Can u tell me How to Know the functionality of Particular bapi(eg:BAPI_SVCHANGE_CHANGE_STATUS)and what are the import parameters .
if i know the functoinality and import parameters of bapis then i can write JCO programm. Please help me to do this.
regards
Guru
Hi Guru,
>>BAPI_SALESORDER_CREATEFROMDAT2 we have to set value for structure ORDER_PARTNERS of PARTN_ROLE as "AG".
ORDER_PARTNERS is of type BAPIPARNR which is a structure.
Define a structure with needed fields of same type from BAPIPARNR fields like
DATA: BEGIN OF MYSTRUCT,
PARTN_ROLE TYPE BAPIPARNR-PARTN_ROLE,
END OF MYSTRUCT.
This MYSTRUCT has only one field PARTN_ROLE. Now assign this field as 'AG' and use this MYSTRUCT in calling BAPI_SALESORDER_CREATEFROMDAT2
Hope this helps.
Regards,
Uma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
<b>Sales Order</b> - This provides data for building queries related to sales volumes. It contains data about sales orders, sales contracts, complaints (credit memos, debit memos, returns and substitute deliveries) at item level. This enables you to monitor the number of incoming orders and open contracts.
<b>Purchase order</b> - This provides the manager or strategic buyer with an overview of purchase orders for a certain cost center, vendor, product, contract etc.
<b>Quotation order</b> - This figure informs you of the number of sales orders that were created from quotations, that is, the number of quotations that were converted into sales orders.
Hope it helps,
Regards,
Nagarajan.
Hi guru
You can get a step by step guide of calling a bapi from JCO program . please follow this link
And there is a sample application also provided which you can download
hope this helps, please do not forget to rewards points
regards
rajeshkr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i am using sapgui for running bapis,i can identify what are the import parameters .But i donot KNOW what are the values we have to set for particular bapi. for example in BAPI_SALESORDER_CREATEFROMDAT2 we have to set value for structure ORDER_PARTNERS of PARTN_ROLE as "AG".
this is my problem
Hi Guru,
To get list of import parameters you have several options:
1) Go to SAP GUI and call SE37 transaction. You will see all related information;
2) Generate enterprise SAP Enterprise Connector proxy (http://help.sap.com/saphelp_nw04/helpdata/en/ed/897483ea5011d6b2e800508b6b8a93/frameset.htm) and use them in your Java application;
3) Explore metadata for functional module using JCo (http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/frameset.htm)
What is BAPI_SVCHANGE_CHANGE_STATUS doing (accroding to http://www.planetsap.com/LIST_ALL_BAPIs.htm) <i>Enter Count Quantity and Change Item Status from A to B or C</i>
Best regards, Maksim Rashchynski.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.