BAPI Function module : Unable to search from Netweaver Studio
Hallo,
I developed a small BAPI Function module GetCarList etc using the tutorial <a href="http://www.sappoint.com/abap/bapiintro.pdf">Introduction to BAPIs</a> . This ofcourse is also available in help.sap.com for GetFlightList etc.
Steps Followed :
-o developed RFC based Function Module. (BAPI supported)
-o activated it, released it.
-o created a alias in the BAPI explorer, added API methods, parameters and released all of them
After i activated and released the function module, i could see it in the BAPI Explorer (Transaction SWO1) as released( ready to be used). But when i tried to search it from Netweaver Studio (to import it as a WebDynpro Model) i could not find it.
-o checked if the BAPI method is available or not in the BAPI Explorer list. (it is available and released)
-o Tried to import BAPI Func.Module - like 'GetFlightList' of Table SFLIGHT (comes with SAP examples), [ but could not] .
I have no idea what the problem could be. do let me know.
thanks
Sreenivas.
Hi all,
i did check the SE37 or SE80 transaction to find out whether the current module is Remote call enabled or not. Adn well it was already RFC set. I have no idea what had happened in the last week, today it works. Now i can import the function module into netweaver. anyways thanks Achim for the support.
Sreenivas.
Similar Messages
-
Unable to deploy from Netweaver studio after changing hostname
Hi All,
After following the SAP note 757692 to change the hostname for J2EE Engine 6.40, we are getting error message " Error: There is no control instance running in the cluster" in the SDM log when trying to deploy an app from netweaver studio. We have change the setting in netweaver studior to point to the new server etc ...
1. We noticed that in the SDM log, it seem to still looking at the old hostname (clttst1) instead of the new host name (apple)
2. We have to change the hostname because of the cluster environment.
3. I checked the trace file dev_ms and found the following messge " MsHttpInit: full qualified hostname = clttst1.rta.nsw.gov.au" , i.e. still pointing back to the old hostname.
I have made all the neccessary changes base on the SAP note 757692, i.e. message server name etc ...
Any advices / help are greatly appreciated.Hi ,
Thanks for your help, I can connect to SDMserver using RemoteGui fine, the default hostname in the login screen is my "new" hostname.
But when the developer try to deploy the apps from Netweaver studio, getting error and the SDM log indicating that it is still using the old hostname.
Old hostname clttst1, new hostname apple
The error message in the SDM log as follow :
Oct 20, 2005 2:42:07 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****
Oct 20, 2005 2:42:08 PM Info: Starting cluster instance processes.
Oct 20, 2005 2:42:08 PM Error: An error occured while starting a cluster instance.
Oct 20, 2005 2:42:08 PM Error: There is no control instance running in the cluster:
Name:JM_T1129783328975_clttst1
Host:clttst1
State:5
Name:JM_T1129783488134_RTASVR04
Host:137.172.153.23
State:5
Name:JC_clttst1_JRP_30
Host:clttst1
State:5
Please check if there are running cluster instances.
As you can see from the log, it is still looking at clttst1 ...
Any helps are greatly appreciated. -
How to call rfc fuction module designed in sap from netweaver
Hi all.
Can any one pls let me know how to call the trfc,arfc function modules designed in sap from netweaver system.
Is the method of calling trfc , arfc fuction modules from non sap system same?
If not let me know how to call trffc & arfc function modules from non sap systems.Thanks in advance.
Kind Regards,
sami.Hi
Use
in background task
and
destination
additions when you call tRFC function modules from
SAP system to SAP system. -
Is there any BAPI or function module to delete entries from a table (VBAK)
Hi Everybody,
this is my first thread in SDN...
my problem follows...
A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
tables:
VBAK sales document: header data
selection fields:
VBAK-LIFSK ≠ <BLANK>
VBAK-ERNAM = userID used by e-Sales / IVE
(EP-BATCH / EAI-BATCH)
VBAK-ERDAT <= Current system Date
VBAK-ERZET <= Current system Time - 20 minutes
These orders should be deleted from SAP system.
This report should be scheduled to run regularly every 10 minutes.
my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
best replies will be rewarded....
regards
ReddyHi Vasanth ,
thanks for your reply.
i tried in the same manner what u mentioned.
but how to pass only one parameter to the functionmodule..
here in this case we have to pass only update flag as 'D'..
i did the same it giving dump..
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.
my pgm :
*& Report YNEW_ORDER_DELETION
REPORT ynew_order_deletion.
TABLES:vbak.
PARAMETERS:
p_lifsk LIKE vbak-lifsk DEFAULT '02'.
SELECT-OPTIONS:
s_lifsk FOR vbak-lifsk DEFAULT '10',
s_ernam FOR vbak-ernam,
s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
s_erzet FOR sy-uzeit.
*PARAMETERS:
p_erzet LIKE sy-uzeit.
s_erdat like vbak-erdat,
s_erzet like vbak-erzet.
DATA:
BEGIN OF int_final OCCURS 0,
w_vbeln TYPE vbak-vbeln,
END OF int_final.
DATA:
int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
DATA:
wf_time TYPE sy-uzeit.
INITIALIZATION.
s_ernam-low = 'KULKARMA'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
s_ernam-low = 'EAI-BATCH'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
wf_time = sy-uzeit - 1200.
p_erzet = sy-uzeit - 1200.
p_erzet-low = wf_time.
APPEND s_erzet.
int_order_header_inx-updateflag = 'D'.
APPEND int_order_header_inx.
START-OF-SELECTION.
SELECT vbeln FROM vbak
INTO TABLE int_final
WHERE lifsk EQ p_lifsk
AND ernam IN s_ernam
AND erdat IN s_erdat
AND erzet IN s_erzet.
IF sy-subrc = 0.
LOOP AT int_final.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = int_final-w_vbeln
ORDER_HEADER_IN =
order_header_inx = int_order_header_inx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = int_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
ENDLOOP.
LOOP AT int_return.
WRITE:/ int_return-type,
int_return-id,
int_return-number,
int_return-message.
ENDLOOP.
ENDIF.
please help me ..its a very urgent issue to be solved...
am waiting for ur reply...
regards
gangareddy -
Search for Top GTS BADIs/BAPIs/Function Modules
Hi All,
Reaching out to collect list of the most common BADIs/BAPIs/Function Modules in GTS.
Been searching the web and I can find lists for other SAP areas, but not ours.
Thanks, Jeffhttps://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879
RH_GET_MANAGER_ASSIGNMENT -
Hi,
Can anybody tell me,
like i need to get the phone number from the BAPI table. can anybody tell me in which table the phone number is available ? and can i change the standard BAPI function module?. ( i mean can i change the standard BAPI function module like including some tables in the import and export etc as per the requirement? will it work ? )
Pls Suggest me.urgent pls suggest me. also pls send any docs related to BAPI's if anybody having .
Thanks in advance
KPHi,
To anablyze the issue, identify what the input parameter is? Is it the PERNR which becomes the import parameter, then you are looking for the address if it is HR related it comes from PA0002 table and that parameter goes in the export section
In the source code write the query to extract the phone number for the employee.
For more info: type BAPI FM in the search forum that should give you a lot of results.
I hope this helps.
SK -
Hi Experts,
Where can I find the Bapi Function Modules.
Can u provide me the coding part of how to use BAPI in our program .
Will be rewarded if helpful.
Regards.Hi Raj,
Foremost of all before you can search for a BAPI you should know the BAPI you are going to use depending on your need. Generally when you are in a project the Functional Consultant gives you the BAPI which you need to use unless you are developing your own BAPI.
By going to the Transaction BAPI, you can search for the BAPI you need. This transaction takes you to the BAPI Explorer where all the BAPIs are listed in two ways,
Alphabetical Order
Hierarchical Order
When the BAPI you need is found you can get all the details regarding all the parameters that are used in the BAPI and also as to how they are declared. DOCUMENTATION is provided for all the BAPI parameters describing them. In the DOCUMENTATION for the BAPI you fill find how a particular BAPI can be used to perform different operations. For ex: the BAPI called BAPI_PROJECT_MAINTAIN can be used perform UPDATE or RELEASE operations.
Some useful tips when using a Standard BAPI,
Go through all the data declarations of the BAPI parameters and check if any Conversion Rules are used. This is helpful as you will need to declare variables for every parameter in BAPI that you would be used by you. And all these variables should be declared of the same data type as the BAPI parameters.
Check to see if there any mandatory fields that need to be passed. Look for all the BAPI parameters that you would need and declare variables for them and map them correctly.
Though RETURN (generally a table) is may not be mandatory its useful to use it as any messages regarding success or error while processing the BAPI are populated in it. In some cases the RETURN may be a structure and in such a case there would another table where messages are populated. These are useful to be used in the program.
After processing BAPI, if successful then the Function Module BAPI_TRANSACTION_COMMIT is performed to save the changes. But if its not successful then the Function Module BAPI_TRANSACTION_ROLLBACK is performed to rollback any changes that would have occurred.
Sample Program,
Note: 1. Here the BAPI called BAPI_PROJECT_MAINTAIN is used. This BAPI is used to
Edit project including networks. It can be used perform operations like UPDATE
or RELEASE and others. Here its used to perform UPDATE operation (Here
ROFIT_CENTER is updated).
2. Here a Function Module called CONVERSION_EXIT_ALPHA_INPUT is used
to convert the profit center from the External Format(Format as in the program) to
Internal Format (Format in the BAPI).
(You can use this program to check out.)
DATA: wk_i_project_definition TYPE bapi_project_definition,
wa_i_method_project TYPE bapi_method_project,
wa_i_wbs_element_table TYPE bapi_wbs_element,
it_i_method_project TYPE STANDARD TABLE OF bapi_method_project,
it_i_wbs_element_table TYPE STANDARD TABLE OF bapi_wbs_element.
DATA: wk_i_project_definition_upd TYPE bapi_project_definition_up,
wk_return TYPE bapireturn1,
wa_i_wbs_element_table_update TYPE bapi_wbs_element_update,
wa_e_message_table TYPE bapi_meth_message,
it_i_wbs_element_table_update TYPE STANDARD TABLE OF bapi_wbs_element_update,
it_e_message_table TYPE STANDARD TABLE OF bapi_meth_message.
CONSTANTS: _index(6) TYPE c VALUE '000001',
_wbselement(11) TYPE c VALUE 'WBS-ELEMENT',
_update(6) TYPE c VALUE 'UPDATE',
_save(4) TYPE c VALUE 'SAVE'.
wk_i_project_definition-project_definition = 'M-1000000000'.
wk_i_project_definition_upd-project_definition = 'X'.
wa_i_method_project-refnumber = _index.
wa_i_method_project-objecttype = _wbselement.
wa_i_method_project-method = _update.
wa_i_method_project-objectkey = 'M-1000000000:00001-003'.
APPEND wa_i_method_project TO it_i_method_project.
CLEAR wa_i_method_project.
wa_i_method_project-method = _save.
APPEND wa_i_method_project TO it_i_method_project.
wa_i_wbs_element_table-wbs_element = 'M-1000000000:00001-003'.
wa_i_wbs_element_table-profit_ctr = '65576'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_i_wbs_element_table-profit_ctr
IMPORTING
output = wa_i_wbs_element_table-profit_ctr.
APPEND wa_i_wbs_element_table TO it_i_wbs_element_table.
wa_i_wbs_element_table_update-profit_ctr = 'X'.
APPEND wa_i_wbs_element_table_update TO it_i_wbs_element_table_update.
CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
EXPORTING
i_project_definition = wk_i_project_definition
i_project_definition_upd = wk_i_project_definition_upd
IMPORTING
return = wk_return
TABLES
i_method_project = it_i_method_project
i_wbs_element_table_update = it_i_wbs_element_table_update
i_wbs_element_table = it_i_wbs_element_table
I_WBS_MILESTONE_TABLE =
I_WBS_MILESTONE_TABLE_UPDATE =
I_WBS_HIERARCHIE_TABLE =
I_NETWORK =
I_NETWORK_UPDATE =
I_ACTIVITY =
I_ACTIVITY_UPDATE =
I_RELATION =
I_RELATION_UPDATE =
e_message_table = it_e_message_table
I_ACTIVITY_ELEMENT =
I_ACTIVITY_ELEMENT_UPDATE =
I_ACTIVITY_MILESTONE =
I_ACTIVITY_MILESTONE_UPDATE =
IF wk_return IS INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN =
LOOP AT it_e_message_table INTO wa_e_message_table.
WRITE:/ wa_e_message_table-message_id, wa_e_message_table-message_number,
wa_e_message_table-message_type, wa_e_message_table-message_text.
ENDLOOP.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'
IMPORTING
RETURN =
LOOP AT it_e_message_table INTO wa_e_message_table.
WRITE:/ wa_e_message_table-message_id, wa_e_message_table-message_number,
wa_e_message_table-message_type, wa_e_message_table-message_text.
ENDLOOP.
ENDIF.
Regards,
Raga Suman. -
How to define null or empty value in BAPI function modules?
Hi,
I have problem with BAPI functions, where some parameters are mandatory.
For example: when I try to use HR BAPI's(BAPI_PERSDATA_CHANGE, etc.) I have to insert parameters like SUBTYPE,OBJECTID,LOCKINDICATOR. The PA0002 table that is used from this BAPI doesn't have SUBTYPE, OBJECTID, LOCKINDICATOR, for any of the records that I would like to select.
So what I tried, was to put a ' ', to indicate that is empty. It returned an error message saying "Make an entry in all required fields". Next tried to put in some values for these fields -- and it returned an error message saying "No data selected from 0002 for this period".
I also tried to run BAPI_FAMILY_CHANGE that uses data from table PA0021. Here I found some records with SUBTYPE, OBJECTID fields that were not empty, but LOCKINDICATOR was still missing. So I tried to put LOCINDICATOR value directly in to database (with MS SQL Enterprise Manager). After that I was able to use BAPI_FAMILY_CHANGE.
I think that manually inserting data in database is not normal procedure.
Is there something that I have missed out?
I mean -- how can I get this to work without inserting data directly in database?
How can I define null or empty value in BAPI function modules?
Thank you in advance.
Best regards,
MihailDefining an empty value for a parm in a table is easy.
First get the function's definition from the SAP system
Second only populate the fields for which you have a value to set
Third execute the function.
The JCO takes care of the rest.
Enjoy -
Is there a BAPI function module which reverses the sign of an integer
Hi Friends,
Could u plz tell me a BAPI function module which can reverse the
sign of an integer ?
For example:
if i get the integer value in work area as <number> <sign> , i need to change it to <sign><number>.
i.e if i get the integer value in work area as "248-" ("-" indicates minus sign) to " -248 ".
i.e if i get the sign after the value , my requirement is to get the sign before the value.
The actual ABAP query is:
data: QTY_1 TYPE CHAR10,
QTY_2 TYPE CHAR10,
WA_DISTK_PORTLET-QUANTITY TYPE INT4.
QTY_1 = WA_DISTK_PORTLET-QUANTITY.
SEARCH QTY_1 FOR '-'.
IF SY-SUBRC = 0 AND SY-FDPOS <> 0.
SPLIT QTY_1 AT '-' INTO QTY_1 QTY_2.
CONDENSE QTY_1.
CONCATENATE '-' QTY_1 INTO QTY_1.
CONDENSE QTY_1.
ELSE.
CONDENSE QTY_1.
ENDIF.
CLEAR: WA_DISTK_PORTLET-QUANTITY.
MOVE : QTY_1 TO WA_DISTK_PORTLET-QUANTITY.
when i move this QTY_1 to work area quantity field The sign is coming after the numeric value.
Note: There is no possibility to change the datatype of quantity field.
I have tried my level best with 'CLOI_PUT_SIGN_IN_FRONT' function module.
I will assign full points to the correct function module.Hi Ram,
try this ang look into fields.
data: fields type table of SVAL with header line.
fields-tabname = 'MARA'. fields-fieldname = 'MATNR'. append fields.
fields-tabname = 'BKPF'. fields-fieldname = 'BUDAT'. append fields.
CALL FUNCTION 'POPUP_GET_VALUES'
EXPORTING
POPUP_TITLE = 'Value Insert'
TABLES
FIELDS = fields.
Regards, Dieter -
LSMW or ABAP Program:- I need BAPI function module or Direct input program
hi experts,
I have to develop the program which uploads the transportation pricing data for freight cost management.
the transcation code is XK15 for the application A.
There is a program called RV14BTCI which will uploads for the application V or M not for A.
So i can use lsmw or direct input program in both lsmw and abap program so plz help me if there is any BAPI function module or Direct input program for Application A.
thank you,
waiting for u r reply.
Edited by: SANTOSH MARUPALLY on Jan 22, 2008 6:27 AMHi Santosh
Am not really sure if RV14BTCI can not be used for other applications apart from V and M.
You can try using BAPI: BAPI_PRICES_CONDITIONS. Over the forum you can find few example coding.
Regards
Eswar -
BAPI function module 'BAPI_PO_CHANGE' is not updating aacural condition
Dear All,
BAPI function module 'BAPI_PO_CHANGE' is not updating aacural condition in PO pricing. Please give me a right solution on this query.
Below I have given my code.
Thanks and Regards
Makarabd
poitem-po_item = '00010'.
poitem-net_price = '1060.00'.
poitem-period_ind_expiration_date = 'D'.
APPEND poitem.
poitemx-po_item = '00010'.
poitemx-po_itemx = 'X'.
poitemx-net_price = 'X'.
APPEND poitemx.
select single * from ekko where ebeln = po_no.
pocond-itm_number = '00010'.
pocond-cond_type = 'ZVCU'.
pocond-cond_value = 10.
pocond-currency = '%'.
pocond-STAT_CON = 'X'.
pocond-accruals = 'X'.
pocond-change_id = 'I'. " I - Add , U - Update , D - Delete
APPEND pocond.
pocondx-itm_number = '00010'.
pocondx-itm_numberx = 'X'.
pocondx-cond_type = 'X'.
pocondx-cond_value = 'X'.
pocondx-currency = 'X'.
pocondx-change_id = 'X'.
pocondx-STAT_CON = 'X'.
pocondx-accruals = 'X'.
APPEND pocondx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = po_no
TABLES
return = return
poitem = poitem
poitemx = poitemx
pocond = pocond
pocondx = pocondx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.Hi ,
Are you trying to pass the non char fields in CI_COBL. Please look at the link below .
[http://forums.sdn.sap.com/thread.jspa?threadID=1137795] .
Also serach for the similar threads when and notes while transferring currency and quantity field in different custom includes of the EKPO ...
Thanks,
Anjaneya . -
BAPI Function Module for SCM APO Tcode /SAPAPO/AC42
Hi,
I want to know the BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.
This BAPI FM should return the column values "Remaining Prod Alloc" and "Incoming Order Quantity" when we give
below details as inputs for the Tcode /SAPAPO/AC42
Product Allocation Group
Product
Allocation Procedure
prod Alloc step
Product Alloc Object (Characteristics of Product Alloc Group)
Plant (Characteristics of Product Alloc Group)
Customer Group 5 (Characteristics of Product Alloc Group)
Reward points if helpful.
Thanks,
MichHi,
You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.
ProductAllocationAPO.DataInsert
Interface to Import Product Allocation Data Functionality
This method is used to adopt data from OLTP systems for product allocation in the global availability check.
You can do the following using the method:
Adopt new data
You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.
Change existing data
You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.
The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.
Prerequisite
To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.
Regards
Vinod -
BAPI Function Module for SCM APO Trans code /SAPAPO/AC42
Hi,
Is there any BAPI Function Modules for SCM APO Tcode /SAPAPO/AC42.
This BAPI FM should return the column values "Remaining Prod Alloc" and "Incoming Order Quantity" when we give
below details as inputs for the Tcode /SAPAPO/AC42
Product Allocation Group
Product
Allocation Procedure
prod Alloc step
Product Alloc Object (Characteristics of Product Alloc Group)
Plant (Characteristics of Product Alloc Group)
Customer Group 5 (Characteristics of Product Alloc Group)
Reward points if helpful.
Thanks,
MichHi,
You should be able to get the information using the standard BAPI (Assuming you are using SCM5.0) BAPI_APOPAL_INSERT in the transaction BAPI.
ProductAllocationAPO.DataInsert
Interface to Import Product Allocation Data Functionality
This method is used to adopt data from OLTP systems for product allocation in the global availability check.
You can do the following using the method:
Adopt new data
You can adopt new characteristics combinations or new time series. Newly created characteristics combinations have the status Active and are therefore included in the product allocation check.
Change existing data
You can overwrite existing data if you have set the interface parameter ALLOW_UPDATE. You can set the status of existing characteristics combinations to Active if you set the interface parameter UPDATE_STATUS. If the characteristics combination does not exist, the system creates it.
The product allocation quantity is overwritten for existing time series. If you also want to change the incoming orders quantity, you must set the interface parameter UPDATE_INCOMING_ORDER_QTY. If the time series does not exist, the system creates it.
Prerequisite
To be able to use this method, you must have made all the Customizing settings for product allocation. For more information, see the Implementation Guide (IMG) for SAP APO under Global Available-to-Promise -> Product Allocation.
Regards
Vinod -
Stuck with Bapi Function module BAPI_STSRVAPS_SAVEMULTI2
Hi all,
I have been given the requirement to get the stock quantity using the bapi function module BAPI_STSRVAPS_GETLIST2 from the Livacache and depending upon some stock reservation percent split the stock into two as (NEW STOCK and STOCK RESERVED ).And then write it back to Livecache as change and create.
Please do tell me how to proceed with it.
Thanks and Regards.
syed.hi
hope the following helps u to know what is to be passsed.
1. Required entries :
BILLING_DATA_IN-SALESORG
BILLING_DATA_IN-DISTR_CHAN
BILLING_DATA_IN-DIVISION
BILLING_DATA_IN-DOC_TYPE
BILLING_DATA_IN-ORDBILLTYP
BILLING_DATA_IN-SOLD_TO
BILLING_DATA_IN-ITEM_CATEG
BILLING_DATA_IN-REQ_QTY
BILLING_DATA_IN-SALES_UNIT
BILLING_DATA_IN-CURRENCY
If a material is billed for which a material master needs to be
determined (BILLING_DATA_IN-NO_MATMAST = ' '), you must make the
following entries :
BILLING_DATA_IN-PLANT
BILLING_DATA_IN-MATERIAL
If, on the other hand, a material is billed for which no material
master is to be determined (BILLING_DATA_IN_NO_MATMAST = 'X'), you
must make the following entries :
BILLING_DATA_IN-COUNTRY
BILLING_DATA_IN-MATERIAL
BILLING_DATA_IN-TAXCL_1MAT
2. COMMIT control :
In the update run (TESTRUN = ' ') the update is carried out by
COMMIT
WORK as part of the method available. -
BAPI function module to get condition type and its values based on delivery number?
Hi All,
I would like to have the BAPI function module to get condition type value based on delivery number before invoice is created.please provide detail program for as a reference .please reply as soon as possible its urgent.
Regards,
saaikumar.If you haven't already, you may first need to search via the SAP transaction "BAPI" in the area this is applicable to. Failing that I do hope you get an answer.
Maybe you are looking for
-
How do i use my time capsule as a network to store files, etc.?
How do i use my time capsule as a network to store files, etc.?
-
Wrapping text around the image in illustrator cs4
I am trying to create a brochure with wrapping text around the image, I have followed several online tutorials like http://www.tutorials-expert.com/tutorial/19302/Wrapping-Text-Around-an-Image-in-Illustrato r.html and some other but I followed these
-
How do i write photos onto a cd in iPhoto
please can someone tell me how to write photos onto a cd when using iPhoto
-
NOKIA 2220 cant accept MMS settings sent by servic...
hi, i have been using my Nokia 2220 since May 2010, but until now, i cant send or receive MMS. My service provider had sent MMS settings several times but my phone keeps on rejecting them with an error message that says like only 20 files can be rece
-
Ibeacon emit /receive on IOS devices
Hi everyone, Does someone know if IOS devices such as iPhone 4s and + can emit via iBeacon technolgy ? I have found both answer during my search and not an understandable for me, answer from Apple pages. Some say that iPhone can only receive data via