Table for orders created by IP10
HI friends,
Can any one tell me the table name in which the orders created through IP10(Scheduling Maintenance plan) are stored.
Thanks
Vivek
hi
you can check in MHIO table where you can get the order generated for the maintenance plan
regards
thyagarajan
Similar Messages
-
ATP for Order Create vs Order Release
In SAP there is an option for different ATP checks when creating a production order and when releasing a production order. I'm not sure I understand the behavior we are seeing in our system. Could be I have a fundamental misunderstanding of the functionality.
In our configuration, ATP for production order create takes into consideration open purchase orders. ATP for order release does not. When I go into CO06/CO09 using the checking rule for order create, I see the commitments which include the open purchase order quantities. When I go in using the checking rule for order release, my expectation is that the commitments for the purchase order quantities will not be there. Nonetheless, those commitments appear. I'm receiving missing parts when I'm trying to release a production order even though there is sufficient material not committed to released production orders.
I hope that makes sense. Any guidance would be appreciated.Yes. We have a different checking rule in OPJK for production order create (YO) and one for production order release (YP). YO includes purchase orders as a supply element in the check and YP does not. Other than that, they are identical.
I am saying that when looking at CO09 with YP, I saw commitments based on purchase orders.
Purchase orders are a supply element.
MD04 - 18,606 on hand. Order reservations for 1,512, 9,329, and 709 are for released orders. The order reservations for 18,657 and 23,322 are for created orders.
CO09 - Checking Rule YO. Because of purchase order for 45,000, all quantities are confirmed.
CO09 - Checking rule YP. All quantities still confirmed. -
USER STATUS TABLE FOR ORDER MASTER
Hi
Please reply the Data table name for the field "USER STATUS" under control data tab of Order master.
Regards
Prakash.Hi,
The statuses for orders are strored in JEST table.
Regards,
Eli
P.S. Please, avoid posting in CAPITAL letters -
TECO for order created without material
Hi
I want to schedule background program for putting teco status to all order created without materialand which are having CNF status. Orders which has recived CNF status on date which is 60 days in past from current date
Please guide how to do that.Hi Mayuresh,
Use transaction COHV or COHVPI and create variant (XYZ)according to your requirement. Under mass processing select function 'Technically complete'.
Schedule a background job using
Transaction code SM36,
Program name PPIO_ENTRY
Variant XYZ
at date\time and frequency you want to use.
Hope this helps.
Regards,
Himanshu -
BAPI / FM for Order Create with Reference
Hi experts,
I looking for a BAPI or any FM that can be used to create sales orders with reference. I want to create ORders with reference to other orders.
I've tried BAPI_SALESORDER_CREATEFROMDAT1 and 2. These doesn;t work for referencing Order. Any ideas....
Thanks a LOT
RonHi,
Here is list of all bapi for sales order.
BAPISDORDER_GETDETAILEDLIST Sales Order: List of All Order Data
BAPI_ORDER_CHANGE_STATUS_GET Change status for order
BAPI_SALESDOCU_CREATEFROMDATA Creating a Sales Document
BAPI_SALESORDER_CHANGE Sales Order: Change Sales Order
BAPI_SALESORDER_CREATEFROMDAT1 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales Order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create sales order, no more maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all orders for customer
BAPI_SALESORDER_GETSTATUS Sales order: Display status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
BAPI_XSI_GET_VTRK_G Tracking info
Pls reward helpful points.
Regards,
Ameet -
Hi,
In creation of MAINTENANCE ORDER, I need to create a Search help for Work Center and Plant based on :
1. Order type
2. Planning plant
3. Business area
Could you help me out by letting me know what are the master tables having these fields.
Regards,
Srilakshmi B* Validate Work Centre
if not ZES_PO_ITEM-ST_ARBPL is initial.
clear : T399X.
select single * from T399X where WERKS = ZES_PO_ITEM-ST_SWERK
and AUART = ZES_PO_ITEM-ST_AUART.
if SY-SUBRC = 0.
call function 'CR_WORKSTATION_READ_ROUTING'
exporting
ARBPL = ZES_PO_ITEM-ST_ARBPL
DATE = SY-DATUM
PLNTY = T399X-PLNTY
WERKS = ZES_PO_ITEM-ST_SWERK."L_SWERK. "Changed on 27th Feb
if SY-SUBRC <> 0.
message E138(ZSM) with 'Work Centre not maintained for plant' ZES_PO_ITEM-ST_IWERK.
endif.
endif.
endif.
Regards
Gopi -
Name of table for order Vs item category
Hi Experts
What is the table or Function module to get the list of service orders with reference to item categories used in the line item .
Eg : List of orders with item category "ZSR3"
Here my input will be item category "ZSR3" and the out put expected is the service orders which contains the item category - ZSR3.
Regards
RajHello Shantala
thanks for the response
I checked both tables , but i do not find the field for item category in the table . hence not able to get details of order Vs Item category.
Regards
Rajesh S -
Hello All,
Is there any table i can get details of production order with workcenter details for operation 0010. I would require for a given production order i would require the work center used at operation level 0010. Either direct table or indirect table, do please let me know.
Thanks
With Regards
GJHi nandha,
Thanks a lot for your quick reply. The problem is im not a PP consultant, im a FICO Consultant. i have requirement in CO-PA while settling the production order based on the production order i would like to capture the workcenter details too. i tried deriving workcenter by AFKO -> PLPO -> CRHD, but the problem here is in table AFKO the field ZAEHL is different from field ZAEHL in table PLPO, so im getting incorrect values. It gives workcenter used other than in opereation 0010.
Now i tried another derivation AFKO -> AFVC -> CRHD, in this logic i dont have value for field APLZL in AFKO, either i can hardcore the values because some materials have group counter more than 1.
Could you please help me out in achieving this, basically in CO-PA if i need to derive the values from tables, i need to fulfill all the keyfields in the table, then i would get the correct values
Thanks a lot again for quick reply.
Thanks
With Regards
GJ -
Hi All,
I have arequirement to update a Ztable with some data when we create a new OPPORTUNITY using CRMD_ORDER tcode.
so please let me know the name of BADI whcih will be triggered when we create a new OPPORTUNITY.
I tried using order_save method prepare it did not work because for a new transaction a GUI id will not be created until we save once.
Please help ..
Regards,
Suresh.For opportunity you can use badi CRM_OPPORT_H_BADI.
Regards. -
BAPI Sales order create with reference
Hi
I need to use BAPI to create sales order with reference to Quantity Contract. The line item material quantity would be less than or equal to quantity contract quantity.
Sales order needs to be created with new quantity.
Quantity contract quantity change needs to be maintained.
Document flow needs to be maintained.
Is any one aware if this is possible using BAPI_SALESORDER_CREATEFROMDAT2. If yes, how?
Any insights would be highly appreciated.Hi Maninder,
The BAPI does not allow the Pricing Conditions to be sourced from the Contract. I debugged the BAPI and it uses a piece of code (don't recall which subroutine though) from SAPMV45A which is relevant for dialog processing where it reads from the VBAP and *VBAP structures. Well this structure is only populated when you are using the Front End transaction (VA41, VA42, etc). Because this structure is empty, pricing conditions do not flow across.
Here is a little prototype program I whipped up to test my method of creating a Sales order and then changing the Sales Order:
REPORT ypat_salesorder_create LINE-SIZE 256.
* This program will create a ZOC Sales Order with Reference to Contract
* 20000720 / 10. This will be done via BAPI. There are 2 BAPi calls,
* BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE. We need to
* perform 2 BAPI calls as the BAPI to create the Sales Order does not
* bring across the Pricing Conditions properly. To get around this we
* create the Order with reference to the Contract, then we get the
* related Pricing Conditions from the COntract and then update the newly
* created Order.
* Constants
CONSTANTS: c_contract LIKE vbak-vbeln VALUE '0020000720',
c_item LIKE vbap-posnr VALUE '000010'.
* Structures
* Structure to hold BAPI Header
DATA: st_bapisdhd1 LIKE bapisdhd1.
* Internal Tables
* Sales Order Create BAPI Return Messages
DATA: tbl_return TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
* Sales Order BAPI Line Item
DATA: tbl_bapisditm TYPE STANDARD TABLE OF bapisditm
WITH HEADER LINE.
* Sales Order BAPI Line Item
DATA: tbl_bapisditmx TYPE STANDARD TABLE OF bapisditmx
WITH HEADER LINE.
* Sales Order BAPI Pricing Conditions
DATA: tbl_bapicond TYPE STANDARD TABLE OF bapicond
WITH HEADER LINE.
* Sales Order BAPI Partner Functions
DATA: tbl_bapiparnr TYPE STANDARD TABLE OF bapiparnr
WITH HEADER LINE.
* Sales Order BAPI Schedule Lines
DATA: tbl_bapischdl TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
* Sales Order BAPI Schedule Lines
DATA: tbl_bapischdlx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
* Sales Order BAPI Pricing Conditions
DATA: tbl_bapicondx TYPE STANDARD TABLE OF bapicondx
WITH HEADER LINE.
* Customer Enhancement for VBAK, VBAP, VBEP
DATA: tbl_bapiparex TYPE STANDARD TABLE OF bapiparex
WITH HEADER LINE.
* Table to hold BAPI Detail Conditions
DATA: tbl_bapisdcond TYPE STANDARD TABLE OF bapisdcond
WITH HEADER LINE.
* Table to hold Return Messages from Sales Order Change BAPI
DATA: tbl_return_chg TYPE STANDARD TABLE OF bapiret2
WITH HEADER LINE.
* Variables
DATA: g_vbeln_created LIKE vbak-vbeln,
g_valid_contract TYPE c,
g_cont_price_date TYPE d.
* Start of Selection
START-OF-SELECTION.
PERFORM validate_contract.
PERFORM create_sales_ord.
PERFORM update_sales_ord.
* End of Selection
END-OF-SELECTION.
PERFORM write_output_report.
* Subroutines
*& Form create_sales_ord
* Create the Sales Order
FORM create_sales_ord .
PERFORM populate_bapi_tables.
PERFORM call_create_sales_ord_bapi.
ENDFORM. " create_sales_ord
*& Form populate_bapi_tables
* Fill up the BAPI Tables
FORM populate_bapi_tables .
PERFORM populate_bapi_header.
PERFORM build_bapi_partners.
PERFORM build_bapi_items.
PERFORM build_bapi_sched_lines.
ENDFORM. " populate_bapi_tables
*& Form populate_bapi_header
* Build BAPI Header Details
FORM populate_bapi_header .
CLEAR st_bapisdhd1.
st_bapisdhd1-doc_type = 'ZOC'. "Order type
st_bapisdhd1-sales_org = '026'. "Sales Org
st_bapisdhd1-distr_chan = '00'. "Dist Channel
st_bapisdhd1-division = '00'. "Division
st_bapisdhd1-purch_no_c = 'Cust Po No'. "Cust PO No
st_bapisdhd1-name = 'Orderer'. "Name of Orderer
st_bapisdhd1-ord_reason = ''. "Order Reason
st_bapisdhd1-sales_off = '3001'. "Sales Office
st_bapisdhd1-sales_grp = '301'. "Market Area
IF g_valid_contract = 'X'.
st_bapisdhd1-price_date = g_cont_price_date.
ENDIF.
ENDFORM. " populate_bapi_header
*& Form build_bapi_partners
* Build BAPI Partner Functions
FORM build_bapi_partners .
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'AG'.
tbl_bapiparnr-partn_numb = '0000100750'.
APPEND tbl_bapiparnr.
CLEAR tbl_bapiparnr.
tbl_bapiparnr-partn_role = 'WE'.
tbl_bapiparnr-partn_numb = '0000504472'.
APPEND tbl_bapiparnr.
ENDFORM. " build_bapi_partners
*& Form build_bapi_items
* Build The BAPI Line Items
FORM build_bapi_items .
DATA: l_matnr LIKE mara-matnr.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = '10000072'
IMPORTING
output = l_matnr.
CLEAR tbl_bapisditm.
tbl_bapisditm-itm_number = c_item.
IF g_valid_contract = 'X'.
tbl_bapisditm-ref_doc = c_contract.
tbl_bapisditm-ref_doc_it = c_item.
tbl_bapisditm-ref_doc_ca = 'G'. "Contract
ENDIF.
tbl_bapisditm-material = l_matnr.
tbl_bapisditm-plant = '3012'.
tbl_bapisditm-target_qty = '5.000'.
tbl_bapisditm-target_qu = 'M3'.
tbl_bapisditm-item_categ = 'ZZOC'.
tbl_bapisditm-sales_dist = '301'.
tbl_bapisditm-dlv_prio = '02'.
tbl_bapisditm-prc_group5 = '080'.
tbl_bapisditm-cust_mat35 = 'kdmat'.
tbl_bapisditm-route = 'TESYS'.
tbl_bapisditm-usage_ind = 'CIV'.
APPEND tbl_bapisditm.
CLEAR tbl_bapisditmx.
tbl_bapisditmx-itm_number = c_item.
tbl_bapisditmx-ref_doc = 'X'.
tbl_bapisditmx-ref_doc_it = 'X'.
tbl_bapisditmx-ref_doc_ca = 'X'.
tbl_bapisditmx-material = 'X'.
tbl_bapisditmx-updateflag = 'I'.
tbl_bapisditmx-plant = 'X'.
tbl_bapisditmx-target_qty = 'X'.
tbl_bapisditmx-target_qu = 'X'.
tbl_bapisditmx-item_categ = 'X'.
tbl_bapisditmx-sales_dist = 'X'.
tbl_bapisditmx-dlv_prio = 'X'.
tbl_bapisditmx-prc_group5 = 'X'.
tbl_bapisditmx-cust_mat35 = 'X'.
tbl_bapisditmx-usage_ind = 'X'.
tbl_bapisditmx-route = 'X'.
APPEND tbl_bapisditmx.
ENDFORM. " build_bapi_items
*& Form build_bapi_sched_lines
* Build the BAPI Schedule Lines
FORM build_bapi_sched_lines .
CLEAR tbl_bapischdl.
tbl_bapischdl-itm_number = c_item.
tbl_bapischdl-req_qty = '1'.
tbl_bapischdl-req_date = sy-datum.
APPEND tbl_bapischdl.
ENDFORM. " build_bapi_sched_lines
*& Form build_bapi_conditions
* Pull the BAPI Pricing Conditions from the Contract
FORM build_bapi_conditions .
LOOP AT tbl_bapisdcond.
CLEAR tbl_bapicond.
MOVE-CORRESPONDING tbl_bapisdcond TO tbl_bapicond.
APPEND tbl_bapicond.
CLEAR tbl_bapicondx.
tbl_bapicondx-itm_number = tbl_bapicond-itm_number.
tbl_bapicondx-cond_st_no = tbl_bapicond-cond_st_no.
tbl_bapicondx-cond_count = tbl_bapicond-cond_count.
tbl_bapicondx-cond_type = tbl_bapicond-cond_type.
tbl_bapicondx-updateflag = 'I'.
tbl_bapicondx-cond_value = 'X'.
tbl_bapicondx-currency = 'X'.
tbl_bapicondx-cond_unit = 'X'.
tbl_bapicondx-cond_p_unt = 'X'.
tbl_bapicondx-varcond = tbl_bapicond-varcond.
APPEND tbl_bapicondx.
ENDLOOP.
ENDFORM. " build_bapi_conditions
*& Form call_create_sales_ord_bapi
* Call the Sales Order Create BAPI
FORM call_create_sales_ord_bapi .
CLEAR g_vbeln_created.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = st_bapisdhd1
IMPORTING
salesdocument = g_vbeln_created
TABLES
return = tbl_return
order_items_in = tbl_bapisditm
order_items_inx = tbl_bapisditmx
order_partners = tbl_bapiparnr
order_schedules_in = tbl_bapischdl.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_create_sales_ord_bapi
*& Form update_sales_ord
* Update the newly created Sales Order with the Pricing Conditions
* from the Contract
FORM update_sales_ord .
CHECK g_valid_contract EQ 'X'.
PERFORM get_contract_details.
PERFORM build_bapi_conditions.
PERFORM call_change_sales_ord_bapi.
ENDFORM. " update_sales_ord
*& Form get_contract_details
* Get Contract Details
FORM get_contract_details .
* Need to manually get the relevant Pricing Conditions as the BAPI
* BAPISDORDER_GETDETAILEDLIST causes problems when we call the BAPI
* BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE (I think
* this is due to the fact that these BAPIs belong to the same Function
* Group and there must be some common structures that are not cleared
* causing us all sorts of grief when we try and call the next BAPI)
DATA: tbl_konv TYPE STANDARD TABLE OF konv WITH HEADER LINE.
DATA: tbl_komv TYPE STANDARD TABLE OF komv WITH HEADER LINE.
DATA: tbl_vbak TYPE STANDARD TABLE OF vbak WITH HEADER LINE.
* Pricing Condition Master
DATA: BEGIN OF tbl_t685a OCCURS 0,
kschl LIKE t685a-kschl,
kaend_wrt LIKE t685a-kaend_wrt,
END OF tbl_t685a.
SELECT *
INTO TABLE tbl_vbak
FROM vbak
WHERE vbeln = c_contract.
READ TABLE tbl_vbak INDEX 1.
SELECT *
INTO TABLE tbl_konv
FROM konv
WHERE knumv = tbl_vbak-knumv AND
kposn = c_item.
CHECK sy-subrc EQ 0.
* We now need to make sure we only bring across the Condition Types that
* are EDITABLE. If we bring across non editable conditions (such as
* 'ZPR1') the Change Sales Order BAPI will fail
SELECT kschl kaend_wrt
INTO TABLE tbl_t685a
FROM t685a
FOR ALL ENTRIES IN tbl_konv
WHERE kappl EQ 'V' AND "Sales
kschl EQ tbl_konv-kschl AND
kaend_wrt EQ 'X' AND "Value is Editable
kmanu NE 'D'. "Process manually
* Prepare for Binary Search
SORT tbl_t685a BY kschl.
LOOP AT tbl_konv.
READ TABLE tbl_t685a WITH KEY kschl = tbl_konv-kschl BINARY SEARCH.
IF sy-subrc EQ 0.
MOVE-CORRESPONDING tbl_konv TO tbl_komv.
APPEND tbl_komv.
ENDIF.
ENDLOOP.
CHECK NOT tbl_komv[] IS INITIAL.
* Map KOMV into the more BAPI friendly BAPISDCOND structure
CALL FUNCTION 'MAP_INT_TO_EXT_STRUCTURE'
TABLES
fxvbak = tbl_vbak
fxkomv = tbl_komv
fxbapikomv = tbl_bapisdcond
EXCEPTIONS
entry_missing = 1
OTHERS = 2.
ENDFORM. " get_contract_details
*& Form call_change_sales_ord_bapi
* Call the Change Sales Order BAPI
FORM call_change_sales_ord_bapi .
DATA: st_head_chg LIKE bapisdh1x,
st_logic_switch TYPE bapisdls.
CHECK NOT g_vbeln_created IS INITIAL.
CHECK g_valid_contract EQ 'X'.
st_head_chg-updateflag = 'U'.
st_logic_switch-cond_handl = 'X'.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = g_vbeln_created
order_header_inx = st_head_chg
logic_switch = st_logic_switch
TABLES
return = tbl_return_chg
conditions_in = tbl_bapicond
conditions_inx = tbl_bapicondx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDFORM. " call_change_sales_ord_bapi
*& Form write_output_report
* Produce Output Report
FORM write_output_report .
IF NOT g_vbeln_created IS INITIAL.
WRITE:/ 'Success! Sales Order', g_vbeln_created, 'was created!'.
ELSE.
WRITE:/ 'Failure! Sales Order was not created!'.
ENDIF.
SKIP.
WRITE:/ 'Sales Order Create Log'.
LOOP AT tbl_return.
WRITE:/ tbl_return-type, tbl_return-id, tbl_return-number,
tbl_return-message.
ENDLOOP.
SKIP.
WRITE:/ 'Sales Order Change Log'.
LOOP AT tbl_return_chg.
WRITE:/ tbl_return_chg-type, tbl_return_chg-id,
tbl_return_chg-number, tbl_return_chg-message.
ENDLOOP.
ENDFORM. " write_output_report
*& Form validate_contract
* Make sure that the Contract is Valid
FORM validate_contract .
DATA: l_gueen LIKE vbak-gueen,
l_prsdt LIKE vbkd-prsdt.
SELECT SINGLE vbak~gueen vbkd~prsdt
INTO (l_gueen, l_prsdt)
FROM vbak
INNER JOIN vbkd
ON vbak~vbeln = vbkd~vbeln
WHERE vbak~vbeln = c_contract AND
vbkd~posnr = '000000'.
IF sy-datum LE l_gueen.
* Contract is valid! Set Order Price Date
g_valid_contract = 'X'.
g_cont_price_date = l_prsdt.
ENDIF.
ENDFORM. " validate_contract
Hope this helps.
Cheers,
Pat. -
Hello,
Do we have a table for the created RFQs? I can see the newly created RFQ in EKPO table but I need to link the newly created RFQ# to its corresponding PR#. Is this possible?
Need your urgent response on this.
Thanks,
Jeffrey
Message was edited by: Jeffrey Prado
Message was edited by: Jeffrey Pradochk this if it can help you
http://web.mit.edu/sapr3/windocs/bpsps01m.htm -
Table to find sales order created for a transaction type.
Hello all
I have a requirement that i need to check all the orders created for a transaction type and to find out how many of them are active now and how many of them are deleted.
i know only the transaction type and based on this input i need to know the above details is there any report or table for this.
Thanks and Regards
shanto aloorHello shanto aloor,
in the database table CRMD_ORDERADM_H you can search by transaction type. In Se16 you can enter the process_type to find the related transactions. If you have the header GUID you can use also the report (SE38) CRM_ORDER_READ to get more details of the transaction.
Hopefully this information will help you to meet your requirement.
regards
Rene -
Sales Order Unable to Use New Condition Tables for Tax Condition Type
Dear All,
I am currently working on SAP R/3 4.0. I have a new requirement for my tax where I need to create new condition tables other than the 4 standard SAP tables which are Customer/Material, Division/Customer, Departure Country/Destination Country, Domestic Taxes and Export Taxes. My new tables consists of Departure Country/Destination Country/Shipping Point/Tax Code. The requirement is that the tax code is based on the chosen destination country and shipping point. The problem I am facing now is that no matter what types of table I create or even I generate with reference to the standard table, the access sequence will only refer to the 4 standard SAP tables above. Even if I put my own table in the highest priority for the access sequence, the same thing happens. My sales order will only pick up date from the standard table.
I wonder if anyone encountered the same problem as me.
Kindly advise.
Thank you.
Regards,
YvonneHi
Yvonne
I suggest fist check a simple thing ,whether u have successfully determined shipping point for each line item ,it is possible that just adding a line item will not trigger shipping point determination . So after u update the shipping point on line level u can rerun pricing and check agian if u r getting it .
Secondly for tax purposes I suggest Try to have Customer and material tax classification approach this allows to u have long term flexibiliy and also reduces your maintenance activity . As if u change or add number of shipping points and business changes using the sequence of shipping point ,the logic of just using shipping point will not work.
In Tax classification u cna add new condition table for each new tax category and use it in different access sequences.
This information can be passed on to FI using Different Tax code for Different combination.
I hope this helps
Regards
Mandar -
How to update SIS Structure S503 table for Sales Order
Hi All,
I have a requirement where i want to restrict S503 table getting updated for an Item Category. Can somebody please help me in this.
Complete scenario:
I am splitting Sales Order line item into multiple Sub Line items based on batch determination. So for a line item 10 in Sales Order having ordered quantity 1000 i have 2 more sub line items 101 and 102 based on 2 available batches having 500 quantites each. When Sales Order is saved S503 have 1 entry for SO created but the ordered and confirmed quantity is doubled as it is picking it from main line item 10 as well as from 101 and 102.
Is there any way to restrict the main line item entry quantity from getting in to SIS structures.
Thanks,
Sudhir.Hi,
There is a change in the requirement.
Scenario:
I have created a sales order with some 4 condition types, in that 2 condition types are of class A & B and the other two is of class C. Here I need to update the condition price of class A & B only and the remaining condition types should not get update even though there is an updated price is available.
For the above scenario, I need to write a standalone program. Do we have any function modules to update the price of the single condition in the sales order? Please tell me how we can update the sales order at item condition level.
Thanks.
Balaram -
User exits to update a Zfield in AUFK table for T-code KO01(Order Creation)
Hi all,
I have a custom field(zZTEST) in aufk and coas struture(zztest) in order to display in the output generated by kok5 for order.
The reason for adding in coas struture is the ALV output in kok5 uses coas structure
I know aufk table gets an entry while creating an order in ko01.
When i save the order (i.e when i succesfully create an order) i have to pass a value to aufk-zztest so that the custom field in aufk for that internal order created has an value.
I was looking at the user exits available for ko01
i found 5 user exits for ko01
Exit Name---Description
COOPA002---Customer function for master data maint. - internal
COOPA003---User-Defined Fields in the Order Master
COOPA004---Customer function: Print order master data
COOPA_01---Customer check modules for internal orders
KKAZ0001---Customer check modules for internal orders
I have written the code break-point in all the includes associated with this USER EXITS.
Out of this only only 2 includes gets triggered when i click General data and investments tab .
I have the code in both of them and the aufk tables gets updated when i save an internal order and i can see the value in kok5 output as well.
To be frank this is what i want.
But my only worry is that when we create a new internal orders we don't have any data to be filled i.e mandatory fields in General data and INvestments tab.
i.e. user can create an internal order without even going to these tabs(General data and INvestments tab) in that case the custom field doesn't get updated and as a result of that i don't see that value in KOK5 ALV output.
Let me know what can be done or is there any other way that this can be achieved or the way i approached is right or wrong or am i am missing any user exits and the system is at 4.6c.
Thanks
VenkatHi,
Any suggestions on this post
Thanks
Maybe you are looking for
-
Problem resetting user permissions- CMD R not working
Hi, Thanks in advance to those willing to lend some help! GEAR: 2.53 GZ Core 2 Duo Mini running 10.8.5 All updates done. I believe I have a current Time Capusle backup at my disposal. New Macbook Air available to help. ISSUE: In the last couple of da
-
Flexible column alias name?
Hi Is that a way to assign the column alias name at run time. Example: I want to sums a column and label it based on the current year. For 2007, I should have: SELECT 'A' 'B', 'C', sum(RESERVE_AMT) AS RESERVE_AMT_2007 FROM table_name For 2006 I shoul
-
Logreader alert indicate logreader has stopped but it hasnot.
OS: Windows Server 2008 R2 Enterprise SP1 64 bit 128gb ram SQL Server: SQL Server 2008 (SP2) - 10.0.4371.0 (X64) Enterprise Edition (64-bit) Issue: Server is running Transactional Replication with alert configured to send notification when there is n
-
How To Post an Adobe 7 Project on a WordPress Web Site
How do I go about publishing my Adobe 7 project on a WordPress web site RETAINING all the interactivity of the project?
-
RND parameter in Hyperion URLs to become static
Greetings, We have detected that Hyperion uses dynamic URLs from time to time to redirect you to the same place, and that those URLs change a RND parameter. For example, within a Planning application you navigate to a (let's say) dataform folder and