Production order line item data
Hello All,
I am working on production orders co03 rite now.
I want to access the line item data for a particular order,
AUFK and AFPO are not giving the details i need,
please advise,
thanks,
Gaurav
Dear Gaurav,
U shud try the Table AUFM to get the details u r looking for.
U will get your required output.
Reward points if u feel it was helpful
Regards
Srinivasan
Similar Messages
-
What is table name in SAP R/3 for PM order line item data
Hello,
I am extracting data for PM module and Interested in PM order line item data. Table AUFK is for PM order header master data.
Is there any other table for PM order line item master data?
Thanks,
IshakHi Ishak,
The item table is AUFP.
Thanks. -
User Exit to make changes in sales order line item data.
Hi All,
I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
Just let me know the USER EXIT to do the above changes.
Points will be awarded.
Regards,
Satish.Hi,
Please have a look at the following user exits...
1. user exit_ save_document
2. user exit_save_document_prepare
Regards
sankar -
Production Order quantity should be same as Sale order line item qnty
Dear experts
we have one user requirement as such
Production Order line item quantity should be same as Sale order line item qnty.
suppose for SO Line item he is ordered 100mts,Production of this paricular Line item should also be 100mts it should not be more than this,How to satisfy his requirement.
Regards
Sandeep patilHi,
If the Manual intervention is eliminated for processing of the data then the SO Line Item Qty will be equal to Production order Qty.
Background Jobs for MRP Run, Planned Order to production order cretaion will help you to manage this, along with effective Authorization Management.
Regards,
Siva -
Can sales order line item text be replicated into production order
Hi
Can sales order line item text be replicated to production order through standard PP configuration? If so how can it be done?
If that is not possible through standard configuration then can it be possible to read both sales order line item information and production order information using a BAPI or a program?
Please help me, i have been trying hard for this and also searches sdn for relevant posts but could not find any, I thank all people who can help me with some information on this.
Regards,
JessicaSample code:
DATA:
wa_order_objects TYPE bapi_pp_order_objects.
DATA:
it_order_header TYPE STANDARD TABLE OF bapi_order_header1.
*--Setting Flag to get details of BAPI
wa_order_objects-header = c_x.
CALL FUNCTION 'BAPI_PRODORD_GET_DETAIL'
EXPORTING
number = "Order number"
order_objects = wa_order_objects
TABLES
header = it_order_header. -
Third Party GRN Posting Date to be Copied to Sales Order Line item Billing Date
Hello Experts
I have a client requirement where in they want to bill line items in the sales order ( third party process ) to the end customer in sync with the GRN posting dates happened in the PO
For EG if GRN happened on 1st July 2014 then Billing Date should come in as 31st July 2014 so when they execute VF04 giving from and to dates as 1st july to 31st corresponding sales order can be invoiced
Actual problem is for suppose if i create a sales order in the month of june say 26th basing on the factory calendar setting and invoicing list maintained in the customer master system defaults the billing date to 30th June 2014 , and the same when user runs VF04 from 1st June to 30th June this sales order shows as due and mistakenly end user invoices the customer ( whereas logical GR would have only received in July 1st )
My requirement is similar to below threads but i am unable to find answer how to copy GR Posting date to Billing Date of the sales order line item
use GR Doc date as billing date
3rd party sales process (w/o ship notif) - BillingHi Lakshmipathi ji,
As my requirement is to update the billing date at the sales order line item level , As a process user goes in executes VF04
For Ex
Sales Order Created Date is 1st June 2014 then System Defaults Billing Date at line item to 30th June 2014
Now when i do GRN suppose on 1st July 2014 for that line item , system should trigger a code where in check the posting date of the GRN and override the same in the Biiling Date field of the sales order line item
So when VF04 is run for a month All the GRN which are recieved in the month of July are invoiced in July
Please share me your thoughts do we need to check any userexits from MM side which reads the posting date of GRN and then copies in to my third party sales order
Regards
Hiba -
Line item data is not saving while creating a Sales order using Interactive
Hi all,
I am creating a sales order Using Interactive forms. In the form i am having Header data and line item data.I had created two structures one for Header data and one for Line item data. For entering the LINE ITEM DATA i had created a Dynamic table with Buttons ADD ROW and DELETE ROW.
User will Add the Row or Delete the Row based on the requirement.
My issue is When ever the user clicks the SUBMIT button after entering the header data and 3 line items data , Sales order has been created with only first line item and the remaining two line items are not created.
My Interactive form is like below
HEADER DATA
DOC_TYPE
SALES_ORG
DIST_CHN
DIVISION
PURCH_NO
PARTN_ROLE
PART_NO
LINE ITEM DATA
ITEM_NO MATERIAL PLANT QTY COND_TYPE COND_VALUE
ADD ROW
DELETE ROW
SUBMIT
My code for the method ONACTIONCLICK is like below
method ONACTIONCLICK .
data:
Node_Adobe type ref to If_Wd_Context_Node,
Node_Zsaleheader type ref to If_Wd_Context_Node,
Elem_Zsaleheader type ref to If_Wd_Context_Element,
Stru_Zsaleheader type If_Main=>Element_Zsaleheader,
Node_Zsaleitem type ref to If_Wd_Context_Node,
Elem_Zsaleitem type ref to If_Wd_Context_Element,
Stru_Zsaleitem type If_Main=>Element_Zsaleitem.
data: header_data type BAPISDHEAD.
data: item_wa type BAPIITEMIN.
data: item_data type table of BAPIITEMIN.
data: partner_wa type BAPIPARTNR.
data: partner_data type table of BAPIPARTNR.
data: sales_order type BAPIVBELN-VBELN.
data: Errorlog type BAPIRETURN1.
navigate from <CONTEXT> to <ADOBE> via lead selection
Node_Adobe = wd_Context->get_Child_Node( Name = IF_MAIN=>wdctx_Adobe ).
navigate from <ADOBE> to <Zsaleheader> via lead selection
Node_Zsaleheader = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleheader ).
Node_Zsaleitem = Node_Adobe->get_Child_Node( Name = IF_MAIN=>wdctx_Zsaleitem ).
get element via lead selection
Elem_Zsaleheader = Node_Zsaleheader->get_Element( ).
Elem_Zsaleitem = Node_Zsaleitem->get_Element( ).
get all declared attributes
Elem_Zsaleheader->get_Static_Attributes(
importing
Static_Attributes = Stru_Zsaleheader ).
header_data-DOC_TYPE = Stru_Zsaleheader-DOC_TYPE.
header_data-SALES_ORG = Stru_Zsaleheader-SALES_ORG.
header_data-DISTR_CHAN = Stru_Zsaleheader-DISTR_CHAN.
header_data-DIVISION = Stru_Zsaleheader-DIVISION.
header_data-PURCH_NO = Stru_Zsaleheader-PURCH_NO.
partner_wa-PARTN_ROLE = Stru_Zsaleheader-PARTN_ROLE.
partner_wa-PARTN_NUMB = Stru_Zsaleheader-PARTN_NUMB.
append partner_wa to partner_data.
Elem_Zsaleitem->get_Static_Attributes(
importing
Static_Attributes = Stru_Zsaleitem ).
item_wa-ITM_NUMBER = Stru_Zsaleitem-ITM_NUMBER.
item_wa-MATERIAL = Stru_Zsaleitem-MATERIAL.
item_wa-PLANT = Stru_Zsaleitem-PLANT.
item_wa-REQ_QTY = Stru_Zsaleitem-REQ_QTY.
item_wa-COND_TYPE = Stru_Zsaleitem-COND_TYPE.
item_wa-COND_VALUE = Stru_Zsaleitem-COND_VALUE.
append item_wa to item_data.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
EXPORTING
ORDER_HEADER_IN = header_data
WITHOUT_COMMIT = ' '
CONVERT_PARVW_AUART = ' '
IMPORTING
SALESDOCUMENT = sales_order
SOLD_TO_PARTY =
SHIP_TO_PARTY =
BILLING_PARTY =
RETURN = errorlog
TABLES
ORDER_ITEMS_IN = item_data
ORDER_PARTNERS = partner_data
ORDER_ITEMS_OUT =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CCARD =
ORDER_CFGS_BLOB =
ORDER_SCHEDULE_EX =
endmethod.
PLEASE SUGGEST ME IF ANY CODE CHANGE IS REQUIRED
Thanks in advance
AjayHi,
The item data is not read because, the dynamically added rows should also reflect back to the Web Dynpro context. When the user clicks on Add Row, use the Onsubmit event to add a empty line to internal table and then bind it to the context. And if the user removes a row, remove a row from internal table and bind it back to the context.
You may refer this article.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/802f0ed1-a17a-2c10-7db4-d515a5b047ed
Regards,
Runal -
How to Find Out The Production Order Number For The Sales Order Line Items
Hi All,
I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK. or in table AFPO.
Regards,
Rich HEilman -
Cannot reject/delete sales order line item due to del.date in 2210
Hi all,
not sure if anyone else had this issue already....
Situation :
Sales order line item entered with delivery date in 2210. We would like to correct this order but can't....
every time SAP issues error :
Error determining posting period (info
S008, variant GL, RC 3)
I believe this is because we haven't maintained our calendars yet for 2210 :-D
Question : without us having to load/define the calendar...is there a utility/oss program which we can use to delete the line item, or reject it...or even update the delivery date?
Thanks for your help!If the system pop ups the error message M2012, then please refer note 10891 or 37532. If the error message number is different, please update the forum.
thanks
G. Lakshmipathi -
Schedule line item data missing in Purchase order form in ECC6.0
Hi All,
We are doing ECC6.0 upgradation project . I am trying to print Purchase order in ECC6.0 , all data is coming fine in PO except schedule line item data is missing.
Same print program and form works fine in 4.7E but schedule line item data missing in ECC6.0.
Print program is a copy of standard SAP program SAPFM06P and layoutset is a copy of MEDRUCK.
If anyone knows if there is any OSS note for the standard print program or any solution please let me know.
Thanks,
Sonali.Resolved on own.
-
Capture START and END installation date on order line item
Requirement: capture both start and finish dates for an installation program. Will likely require 2 new fields at order line item level.
USEREXIT_MOVE_FIELD_TO_VBAP???
Any suggestion for this enhancement???Hi
U need to enhance the VBAP table by APPEND structure in order to add new fields you need.
So in that exit you can fill your new fields:
MOVE <......> TO VBAP-Z<......>.
Max -
Changing order line item move-out date
Hi All,
I am pretty new on the CRM end. I have a requirement where- in i need to change the move-out date on the order line item.
Could someone help me out what needs to be done in order to achieve the desired functionality.
Thanks,
ImHi,
Please check with the help of Abaper for the USEREXIT_FIELD_MODIFICATION why it is happening .
Also try to check with adding 3 -4 line items and see whether it is happening for all the line item.
Please post your result.
Hope this will help you .
Regards,
Krishna O -
Field added in Aditional data tab of sales order line item at screen 8459
Hi all,
My problem is .
I have appended one field in VBAP table, given it a name "WBS ELEMENT"
The field is getting displayed in VA23 as well as VA02 Transaction.
when i create sales order with the quotation reference,
the "WBS Element" of line item of quotation should get updated in "WBS Eleement " of sales order line item
This i am doing by triggering user exit.
Problem is:
Once Quotation line item get copied to the sales order line item
and the screen is in front of you with those details,
before saving sales order .
if you go at the sales order line item withou saving the document
The field i have created in the screen 8459 i.e WBS Element ,doesnt get displayed.
how could i retain the field Ihave created on screen 8459
while creating the sales order from quotation before saving that sales order.
Pleas help .Hi Vikram,
It seems as it has been coded only to save the values into the new field that you have appended to VBAP. But before saving if the user wants to see the field, it is blank. You can try coding in PBO (process before output) of the relevant screen as follows:
1. Get the reference of the quotation. Something like XVBAP-VGBEL will give this number.
2. Get the value of Z field in VBAP by passing this quotation.
3. Copy the above value to the corresponding Z field in XVBAP (or any internal table which holds VBAP data before saving)
Please reward if helpful.
Regards,
Krishna -
Replicate the Sales order Line Item Text to Production Order
I want to replicate the Sales Order Line Item Text to Production Order? Please tell me if this is Functional job or a Developers Job?
I believe this can be achieved by customization and doesnot need any programming and I am trying hard to gather relevant posts for this, but didnt find any.
Please help me with some information if some body encountered this earlier.
Regards,
Jessica Sam.Hey Jay, thanks for your reply.
Please confirm me if this is a developers job or a functional job?
Do i need to do some programming to achive this?
I checked with couple of my collegues and friends and 90% people say it can be achieved throug functional configuration.
can thorugh some light on this as i had been researching on this seriously and still have mixed opinions .
Thanks,
Jessica -
How to round quantity with FMS for some items in Production order lines?
Hello,
How to round the quantity with FMS or SP for only some items in the composition of Production order (lines) and the bill of materials like a box or a stick that should not be with commas.
Exemple of Production Order
P1
M1 | 234,78
M2 | 104,04 --> 104
M3 | 60,7
M4 | 512, 00
M5 | 107,67 --> 108
and others will not be rounded
Thanks,
HafidHi Gordon,
you're always the first to respond, thank you.
Its when adding the production order, before its creation or when entering the quantity of product in OWOR.
Like :
SELECT CASE WHEN ($[$37.4.0] = 'M2') OR ($[$37.4.0] = 'M5') THEN ROUND (T0.[PlannedQty],0)
ELSE T0.[PlannedQty] END AS PlannedQty FROM WOR1 T0
or
SELECT ROUND (T0.[PlannedQty],0) FROM WOR1 T0 WHERE T0.[ItemCode] =$[$37.4.0] AND (T0.[ItemCode] = 'M2' OR T0.[ItemCode] = 'M5)
Thanks,
Hafid
Maybe you are looking for
-
Share music on same mac with different user accounts
I'll try to make this clear, i have an imac with a large itunes collection. my two kids have accounts on that same mac, and want to be able to listen to what i have in my itunes. i can't see putting three copies of the same music on the same computer
-
When I connect to the SharePoint site that contains the lists I need to build my query from , Power Query enumerates the list and displays them in the tool. I can click on the system tables and view the records but any table in the list I created ret
-
Why does camera raw change my image?
I have had this issue a while now and can't figure out how to change this. When I upload my images from the camera they are exactly how I wnat them in Bridge. Then when I zoom in on the image or open in ACR the image seems blown out and orange or has
-
Transferring recordings from sky plus to macbook pro
Does anyone know how I can transfer recorded programmes from my sky+ box to my mac? I've been hit a few times when the sky box crashes and needs replacing resulting in me losing some treasured recordings. I did have a DVD recorder but that has recent
-
How does JEditorPane determine its preferred size?
Could someone explain how JEditorPane determines the initial preferred size? Its default sizing is not giving me what I need and I'm not sure how to control it, other than explicitly setting the size with setPreferredSize(). A simple example: