Bapi or Function Module to do the availability check for Planned Orders
Hi all,
I need a Bapi or a Function Module to do the availability check for a Planned Orders. Anyone knows how?
I will use it in an Exit.
Thanks in advance
Points will be given
I think I found it.
If anyone is searching for it too, we will use these one:
CO_ZA_AVAIL_CHK_ORDER_MULTI
Similar Messages
-
Function module to find the attachment list for an accounting document?
Is there a function module to find the attachment list for an accounting document? Or which table stores such references?
I know I can find this info from the transaction FB03, but is there a function module to find the attachments for an accounting document? So far I only found the attachments are stored in the table SOOD, and archived documents in table TOA03, but I can't find the table that stores the links between the accounting document and its attachments?
<b><REMOVED BY MODERATOR></b>
Thanks,
Ning
Message was edited by:
Alvaro Tejada GalindoHi,
i_object1-typeid = 'YARSATTA'. "<<< Give your Object id name
i_object1-catid = 'BO'.
i_object1-instid = i_yarsitem-docno. "<<<< Document Number
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
read table i_stat1 into wa_stat1 index 1.
if sy-subrc eq c_0.
move wa_stat1-counter to v_attno1.
endif.
For link you need to check for table SRGBTBREL
and also please check class CL_GOS*
a® -
WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL
dear Friends,
our users want to WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL SHOULD BE ENABLE,
at present we maintaing KP in Material Master. if we activated what will happen?
please advice.
with regards,
Rajesh GHi,
The availability check is generally used for goods movements(GR,GI,reservation) & not for PRs.
Regards,
Vijay -
Material availability check for production order
Hello,
Is there any functional module to check the material availability of production order. So that it can be used in developments.
Regards,
GaneshHi,
Following are the available Function Modules for avaibility checks in Production orders,
BAPI_PRODORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Production Orders
And for Process Orders,
BAPI_PROCORD_CHECK_MAT_AVAIL - BAPI: Execute Material Availability Check for Process Orders
Regards,
Dhaval -
Availability Check in planned Order & Production Order
Dear All,
How can I achieve the same Availability Check (missing Parts ) output in Planned Order & Production Order.
Currently in Availability check in Planned Order is bit different in the sense, I have the Component in Stock without any reservation. But in Planned Order it shows in Missing part.
But if I convert this Planned Order to Production Order, it is not visible in Missing parts which is correct.
I want to have the same missing part report for both Planned Order & Production Order.
Thanks
Regards'
RaghuDear Brahmankar,
Thanks for replay.
Now i did, the said possibility, in OPJK is different from my Regular material master rule.
When i see, availability in MD12 it shows the material available, and same as in Production Order check as well.
But when, I use MDVP, for check. the same planned order shows the same component as missing.
am i on the right track?
Please suggest.
Thanks
Regards
Raghu -
BAPI or Function Module to Update the Alternative Payer (KNZA) of Customer
Hi Experts,
My client requirement is to update the Customer Permitted Alternative Payer during creation of BP
Would you please let me know the any BAPI or Fictional Module available to UPDATE the u201CPermitted Alternative Payer (KNZA)u201D of Customer Master.
iam trying SD_CUSTOMER_MAINTAIN_ALL function module, its failed to update the KNZA tables. please help to close the issue.
Thanks in Advance.
Venkatesh M.Hi Ravi,
Thanks for the quick reply.
The Function Module, what you are given is BTE. it will not trigger when creating of contract.
My Requirement is when creating the contract for the particular BP, we need to UPDATE the Alternative Payer of Customer.
Here i required BAPI or Function Module to change or Update the customer master Alternative Payer (KNZA).
Regards,
Venkatesh M -
BAPI or Function Module to create the Rebate Agreement
Hi All,
I have a requirement where I get the flat file which consists of the header and item level data. Using that I have to create the REBATE AGREEMENT. The transaction code to create the Rebate Agreement is VBO1 (Create Rebate Agreement).
Is there any BAPI or FUNCTION MODULE available in SAP to create the Rebate Agreement. Please tell me if you know any suitable BAPI or FM.
Thanks in advance.
Best Regards,
Paddu.Hi Paddu
Were you able to find a BAPI or Function Module to create Rebate Agreement. We have a similar requirement where we have to create Rebate Agreements with Conditions.
If you have found a solution do share it with us.
Regards
Salil -
What is the Function MOdule that returns the fields in database table order
Hello Folks
I have a dynamic internal table with fields ( which are not in order). I want to display them in the order of which they are present in the database table? Is there any function module that returns the fields in database order?
FAQ. Please search before posting your question.
Edited by: Suhas Saha on Oct 10, 2011 10:19 PMHi,
You can use this BAPI.
<b>BAPI_SALESORDER_GETLIST</b>
Reward if useful.
Regards,
Vimal -
Function module to get the BOM details for a material-plant combination
hi
Is there any function module to get the BOM details such as
BOM Usage -STLAN
Alternative BOM -STLAL
Items -POSNR
Required Quantity-EMENG
Resulting Quantity-MENGE
Unit of measure -BMEIN
Base unit of measure-MEINS
for a given material-plant combination
if so please suggest me some FMs.................
Awaiting for ur reply..............try the below fm it may be useful for you
DATA : BEGIN OF I_BOM OCCURS 0.
INCLUDE STRUCTURE STPOX.
DATA : END OF I_BOM.
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
CAPID = 'PP01'
DATUV = SY-DATUM
MEHRS = 'X'
MTNRV = P_MATNR
WERKS = P_WERKS
TABLES
STB = I_BOM
EXCEPTIONS
ALT_NOT_FOUND = 1
CALL_INVALID = 2
MATERIAL_NOT_FOUND = 3
MISSING_AUTHORIZATION = 4
NO_BOM_FOUND = 5
NO_PLANT_DATA = 6
NO_SUITABLE_BOM_FOUND = 7
CONVERSION_ERROR = 8
OTHERS = 9.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
just befor use it check your application area.for my case it is PP01. you can find it in CS12 when you are exploding the bom the value you are giving in BOM application that is the value for CAPID.
Just go to se37 and checkout the fm it has lot of options here I am using the minimum things.
regards
shiba dutta -
Function module to change the reason code for status in a Opportunuity/lead
Hi,
What is the function module to change the opportunity reason. I was able to change the status using the crm_order_maintain but How can I change the reason for that opportunity.
Thanks
naveenYou can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
BR,
Florin -
Function module to display the card details for the tcode BCA_CN_card_03
HI all,
I need to know the function modules to create the card data and also to display the card details in accounts management in CRM.
Points will be awarded.
Thanks and regards,
vinoth.1 BUPA_ADDRESS_GET_DETAIL
2 BUPA_IDENTIFICATION_GET_DETAIL
BUPA_IDENTIFICATIONDETAILS_GET
3 BUPA_TAX*
4,5 BUPA_PCARD* -
Reg: function module to fetch the overall taxs for a sales order
Hi Experts,
I need a fuction module which fetches all the taxes for a sales order with the tax values.
(i.e) i need a function module with displays the overall tax values and not line itemwise..
Regards,
Vikram.SHi,
Check if it works
POS_SALES_DOCUMENT_HEAD_TAXES -
Function module to get the payment details for PO
Hi,
Is there any standard function modlue to get the payment details for specific purchase order or is there any table where we can get the payment details till date.
My requirement is purchase order wise how much already paid to vendor and what is the balance amount to be paid vendor.
thanks in advance....
Regards,
SreeHello
BAPI_PO_GETDETAIL will help you.
Look at structures PO_ITEM_HISTORY and PO_ITEM_HISTORY_TOTALS
Also you may use table EKBE -
Availibility check for sales orders created simultaneously
Hi SD experts,
When a sales order is being created with an item "A", while a second sales order is being created too, at the same time, with the same item "A", the system can't carry out the availibilty check.
It displays the following message : "The material A (plant M500) in item 000010 which you entered for processing is blocked for another transaction. The system is therefore unable to carry out either the availability check or the transfer of requirements."
This is quite logic... But for example for a call center where the operators create orders simultaneously how can we make it possible??
Any suggestions please ?
Thank you,
Bahia.Hi there,
In SPRO -> SD --> Basic functions --> Availability check & TOR --> Avaliability check --> Avaliability with ATP --> Define material block for other users.
Here you make the settings for different availability check types 02 for individual requirements etc. If you check the field Block, system will block the material for other remaining sales orders if availability check is being carried for one sales order. It is set at plant level. If same material is available at other plants, it will be available there.
Regards,
Sivanand -
Function module to get GR IR details for Purchase Order
Hi
Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
One way to create a custom fuction to fetch the details from MSEG and BKPF.
Can somebody suggest a better solution.
Thanks in advance.
Ruhi HiraHi,
u can get the GR/IR Information from purchase Order history table EKBE..The field VGABE will contain value for GR/IR as '1' and '2'.
Regards,
Nagaraj
Maybe you are looking for
-
Hi As per the SAP help document to restrict the file size in Advanced Mode of File sender adapter i used to following variable Name :MaximumFileSize Value: 10000 So that only files of size less than 10000 bytes should be picked up. Otherwise error s
-
Link between vendor number in purchase order and supplying plant (Sales O.)
Hi All Please could you advise, what settings control the following: 1. Purchase order created for vendor A. (vendor- is internal supplier within same company in SAP, but different company code). 2. Sales order automatically created on vendors side,
-
How to get the first 6 digits and the last 4 digits in a string ?
Greetings folks. A quick question and probably quite simple for a lot of guys out there. I have a string that could be anywhere between 15 to 20 characters ( Not a fixed length ) I want it to be split into 3 segments. Segment 1 : 123456 ( 6 digits )
-
Prevent .pdf files from automatically downloading in e-mail
How do you prevent .pdf files from automatically downloading in an e-mail message with an Exchange account?
-
How can I see when a gift card was put on my account
Trying to find on my account when a gift card was put on my account. A gift card was put on my account and used, I wanted to see if there is on my account a place where it tells u when it was put on my account and all the transactions for it?