Creating puchase order
Can you please let me know how to create a new purchase order step by step.I am into technical and have no functional background.
Thanks
Sud
Dear Sud,
this is a broad question. Look for some documentation online...
Create a PO - ME21n. -
Create a PO document type NB.
Header information - Populate all the required mandatory information. as you keep hitting enter the system will be prompting for all the missing information you can keep populating
Line Item info With no material no reference - so you just populate the short text/ qty/UOM/net price/ Plant and any other required fields .
else
Look up an existing PO. Create a new PO by copying the details from it. .. you can actaully drop an old PO into a new PO to copy... You can look up old PO from the document over view part of the screen in transaction me21n- if you dont see it than you should atleast be able to see the document over view button, on clicking it you will be able to see it and then on on of the option you will be able to pull up old PO's
start trying and let me know if you have questions...It is not very easy to type everything...you got to give it a try
SK
Similar Messages
-
Creating Sales Order through SAP-EDI after PO
Hi, Experts.
Please help me to design business flow using SAP-EDI.
How can I design business among 2 affiliate companies and HQ.
are many company around the world, and they want to use SAP-EDI to realize intercompany process,
such as below.
1, Company A create Puchase Order from B
2, Sales Order is created automatically at Company B
I know it is possible If this is only among 2 companies.
But my client want to put HQ in this flow by plan as below.
1, Company A create Puchase Order. and in Puchase Order,
Vender is HQ and Invoicing Party is HQ
Goods supplier is Company B
2, Sales Order is created automatically at Company B, and in Sales Order,
Sold-to party is HQ and Bill-to party is HQ
Ship-to party is Company A
Be careful that A doesn't always purchase from B, so user should select where to purchase at each time.
Is it possible to realize customizing or user-exit? If so, please tell me.wazukanahikari
With regard to margins, you should be able to manage them using pricing conditions, you have the following in the standard any way:
PI01 Intercompany: fixed amount per material unit
PI02 Intercompany: percentage of the net invoice amount
If the above don't work, you can create your own condition types to add the margin.
I don't think you need to add on anything special, if you have an EDI specialist work with him/her. This is an ALE/EDI process that one company sends a PO Idoc and another company uses that Idoc to create a Sales order. Only difference is that both companies are in the same SAP client/instance. -
Create a Puchase order using Bapi
Hi all,
I have requirent to create a PO by using Bapi based on text file sent from
interface system here with the file layout.
1.plant (ekko-werks)
2. material EKPO-MATNR
3. pur.group EKKO-EKGRP
4.vendor EKKO-LIFNR
5.shiping ins EKPO-EVERS
6.quantity EKPO-MENGE
please some one help me step setp coding using by bapi.
i know using BDC but no idea how to use BAPI.Hello,
U can make use of the
BAPI_PO_CREATE1 Create purchase order
BAPI_PO_CREATE Create purchase order
BAPI_PO_GETDETAIL Display Purchase Order Details
BAPI_PO_GETITEMS List Purchase Order Items
BAPI_PO_GETITEMSREL List Purchase Orders for Release (Approval): New as of 4.0A
BAPI_PO_GETRELINFO Display Detailed Release (Approval) Information on Purchase Order
BAPI_PO_GET_LIST List Purchase Orders - Only up to 4.0A
Regards,
Vasanth -
Problem in creating Purchase order Using BAPI
Dear ABAPers,
I am creating the Purchase order Using BAPI_PO_CREATE1. In that the Purchase order Line item i am giving the Net Price for the Material.But While creating the purchase order the system creates the puchase order with the net price which is already available in the memory.So how to solve this problem.
Thanks & Regards,
Ashok.Hi,
Try to pass the value NO_PRICE_FROM_PO in the BAPI and see
NO_PRICE_FROM_PO = 'X'
Regards
Bala Krishna -
Problem in creating purchase order document
Hi,
I created a new business document : Purchase request that once it is validated we can copy it to Puchase order.
when i save the purchase order doc and then launch the creation of the purchase order the operation succed.
But when i try to copy an already created purchase request i get the error :
Object reference not set to an instance of an object
Does any have a clue?
Thanks a lot.This is my code
Form = _SboApplication.Forms.GetFormByTypeAndCount(pVal.FormType, pVal.FormTypeCount);
Documents _Documents =
(Documents)
_SboCompany.GetBusinessObject(BoObjectTypes.oPurchaseOrders);
// Add PO Header
_Documents.CardCode =
((EditText) _Form.Items.Item("3").Specific).Value.ToString();
_Documents.CardName =
((EditText)_Form.Items.Item("4").Specific).Value.ToString();
// Add PO Lines
Matrix matrix = (Matrix)Form.Items.Item("37").Specific;
if (_matrix.RowCount > 0)
_Documents.Lines.ItemCode =
((EditText)
_matrix.Columns.Item("35").Cells.Item(1).Specific).
Value;
string value =
((EditText)
_matrix.Columns.Item("38").Cells.Item(1).Specific).
Value.Replace(".", ",");
double val = Convert.ToDouble(value);
_Documents.Lines.Quantity =
double.Parse(
((EditText)
_matrix.Columns.Item("38").Cells.Item(1).Specific).
Value.Replace(".", ","));
_Documents.Lines.Price =
double.Parse(
((EditText)
_matrix.Columns.Item("39").Cells.Item(1).Specific).
Value.Replace(".", ","));
_Documents.Lines.DiscountPercent =
double.Parse(
((EditText)
_matrix.Columns.Item("40").Cells.Item(1).Specific).
Value.Replace(".", ","));
_Documents.Lines.VatGroup =
((ComboBox)
_matrix.Columns.Item("41").Cells.Item(1).Specific).
Selected.Value;
_Documents.Lines.Price =
double.Parse(
((EditText)
_matrix.Columns.Item("39").Cells.Item(1).Specific).
Value.Replace(".", ","));
_Documents.Lines.DiscountPercent =
double.Parse(
((EditText)
_matrix.Columns.Item("40").Cells.Item(1).Specific).
Value.Replace(".", ","));
_Documents.Lines.VatGroup =
((ComboBox)
_matrix.Columns.Item("41").Cells.Item(1).Specific).
Selected.Value;
for (int i = 2; i < _matrix.RowCount + 1; i++)
_Documents.Lines.Add();
_Documents.Lines.ItemCode =
((EditText)
_matrix.Columns.Item("35").Cells.Item(i).
Specific).
Value;
_Documents.Lines.Quantity =
double.Parse(
((EditText)
_matrix.Columns.Item("38").Cells.Item(i).
Specific).Value.Replace(".", ","));
_Documents.Lines.Price =
double.Parse(
((EditText)
_matrix.Columns.Item("39").Cells.Item(i).
Specific).Value.Replace(".", ","));
_Documents.Lines.DiscountPercent =
double.Parse(
((EditText)
_matrix.Columns.Item("40").Cells.Item(i).
Specific).Value.Replace(".", ","));
string val1 = ((ComboBox)
_matrix.Columns.Item("41").Cells.Item
i).Specific).
Selected.Value;
_Documents.Lines.VatGroup =
((ComboBox)
_matrix.Columns.Item("41").Cells.Item(i).
Specific).
Selected.Value;
int err = _Documents.Add();
GC.Collect();
thanks for your attention -
Hi,
I wanted to know the step by step procedure how to create a Puchase order starting from the Requistion phase.
Please guide me how shall i proceed in this as i am new to R/3 implementation.
Regards
MonaHi,
Please go through the beloe link.you can find step by step procedure to create purchase order.
http://www.sapmaterial.com/purchaseorder_create.html
Reward points if useful.
Regards,
Swetha -
How to restrict the order reason in Tcode Va01 while creating sales order
Hi Gurus,
My requirement is
while creating sales order in VA01
if order type is Zvol
than the list of order reasons has to be restricted.
Now 15 are coming from OVAU tcode
I need only 5 from these.
Thanks & Reagrds
kals.Hi,
By doing the user exit in IW32 we achieved the requirement of restriction of maintenance order TECO functionality if any Service Entry sheet pending with reference of maintneance order.
regards
JKM -
Issue in creating sales order using BAPI's...?
Hi Guru's,
i had generated the sales order using the BAPI..but could please guide me how to declare the data declaratin same fields as globally and how to move internal table and how to append ....
thanks in advance...
REPORT z_bapi_salesorder_create.
Sales document type
PARAMETERS: p_auart TYPE auart OBLIGATORY.
Sales organization
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
Distribution channel
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
Division.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
Sold-to
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
Ship-to
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
Material
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
Quantity.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
Plant
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
header-doc_type = p_auart.
headerx-doc_type = 'X'.
Sales organization
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
Distribution channel
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
Division
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
Partner data
Sold to
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
Ship to
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI to create the sales order.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
Commit the work.
COMMIT WORK AND WAIT.
call FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF.*& Report ZAREPAS30
REPORT zarepas30.
DATA : gs_vbeln TYPE vbak-vbeln,
gs_order_header_in TYPE bapisdhd1,
gs_order_header_inx TYPE bapisdhd1x,
gt_order_items_in TYPE STANDARD TABLE OF bapisditm,
gwa_itab1 TYPE bapisditm,
gt_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
gwa_itab2 TYPE bapisditmx,
gt_order_partners TYPE STANDARD TABLE OF bapiparnr,
gwa_itab3 TYPE bapiparnr,
gt_return TYPE STANDARD TABLE OF bapiret2,
gwa_itab4 TYPE bapiret2.
Sales document type
PARAMETERS: p_auart TYPE auart OBLIGATORY.
Sales organization
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
Distribution channel
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
Division.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
Requested Delivery Date
PARAMETERS: p_edatu TYPE edatu OBLIGATORY.
Sold-to
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
Ship-to
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
Material
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
Quantity.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
Plant
PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
gs_order_header_in-doc_type = p_auart.
gs_order_header_inx-doc_type = 'X'.
Sales organization
gs_order_header_in-sales_org = p_vkorg.
gs_order_header_inx-sales_org = 'X'.
Distribution channel
gs_order_header_in-distr_chan = p_vtweg.
gs_order_header_inx-distr_chan = 'X'.
Division
gs_order_header_in-division = p_spart.
gs_order_header_inx-division = 'X'.
Reguested Delivery Date
gs_order_header_in-req_date_h = p_edatu.
gs_order_header_inx-req_date_h = 'X'.
gs_order_header_inx-updateflag = 'I'.
Partner data
Sold to
gwa_itab3-partn_role = 'AG'.
gwa_itab3-partn_numb = p_sold.
APPEND gwa_itab3 TO gt_order_partners .
ship to
gwa_itab3-partn_role = 'WE'.
gwa_itab3-partn_numb = p_ship.
APPEND gwa_itab3 TO gt_order_partners .
ITEM DATA
gwa_itab2-updateflag = 'I'.
Line item number.
gwa_itab1-itm_number = '000010'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
Line item number.
gwa_itab1-itm_number = '000020'.
gwa_itab2-itm_number = 'X'.
Material
gwa_itab1-material = p_matnr.
gwa_itab2-material = 'X'.
Plant
gwa_itab1-plant = p_plant.
gwa_itab2-plant = 'X'.
Quantity
gwa_itab1-target_qty = p_menge.
gwa_itab2-target_qty = 'X'.
APPEND gwa_itab1 TO gt_order_items_in.
APPEND gwa_itab2 TO gt_order_items_inx.
CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
EXPORTING
order_header_in = gs_order_header_in
ORDER_HEADER_INX = gs_order_header_inx
IMPORTING
SALESDOCUMENT = gs_vbeln
tables
RETURN = gt_return
ORDER_ITEMS_IN = gt_order_items_in
ORDER_ITEMS_INX = gt_order_items_inx
order_partners = gt_order_partners.
Check the return table.
LOOP AT gt_return into gwa_itab4 WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error occured while creating sales order '.
ELSE.
Commit the work.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'Document ', gs_vbeln, ' created'.
ENDIF. -
Inputs requried to create purchase order report from flat file
inputs requried to create purchase order report from flat file
At a guess, I'd say purchase order data.
If you don't give us a clue what you are actually trying to do we can't really help you too much.
Do you want to call a BAPI? Do a BDC? Use an IDOC? Or just generally muck up the system by doing inserts into the purchasing tables?
No doubt if you tell us, you'll get lots and lots of suggestions.
Gareth. -
Can you calculate multiple text boxes to achieve a total value? If so how is that done? I am trying to create a order form where multiple items can be purchased but i would like the values of each item to calculate so I can achieve a total value.
Hi sashby51,
I've moved your discussion to the PDF Forms forum--the folks who visit this forum regularly should be able to point you in the right direction.
Best,
Sara -
Issue while creating repair order via IW52
Hi All,
I am facing an issue while creating a repair order from Service Notification.
In IW52 for service Notification , we have option of Create repair order in Action box of service notification, when i am clicking that i need to enter the sales order type.. when i am selecting standard order type KD01 or any other it is saying that
1)Order type KD01 does not have the sales doc. identifier "repair"
Message no. QM127
Diagnosis
You entered an order type that is not assigned to the sales document identifier "F" or "G" = repair order.
Procedure
Enter an order type that has the sales document identifier "F" or "G".
Where can we see sales document identifier in config ?
2. I would like know is there any setting where we can give default sales order type to service notification type ..
regards
giriDear,
Thanks for your inputs. It will be great help if you can let me know the below :
1) Diff between Repair order, spare parts order..
2)I happened to create a service order from a sales order following IDES Model for CS -4.6C / the service order type created is SM01 is created and my sales order type is OR .. now my question is there any setting where we assign Service order type to sales order type ???
Note :- In OIOL Tcode for SM01 Order type i have IRC Sales order document type linked ..
regards
giri -
How to create an order based on Notification through BAPI_ALM_ORDER_MAINTAIN
Hi
I need to create an order based on the notification no. This is manually can be done using the Standard T.Code IW34.I am using BAPI_ALM_ORDER_MAINTAIN to create an order based on Notification. I am getting the below message( which is success message)
Order %00000000001 saved with number 40001258
BAPI control was ended
Though order is created it not assigned to notification No. I am using ref key as '%00000000001' and also I tried with '%0000000000140232323' where 40232323 is notification No.
And if I checked in order the notification No is assigned to order as '%00000000001'. And when I check back the Notification, the order is not assigned to Notification No. How to assign the created order no to Notification No.
Code is attached for Ref.
Now the problem is the order is not assigned to notification no. Is there any FM or BAPI to do the same fucntionality..!
Regards,
AmarHello Amarnadh,
Keng Haw Soon is right, object key should always have the client like 010.
In your code you were passing it without the client.
Pass like below and it will work.
ls_methods-objectkey = '%00000000001000040232323'.
Regards,
Thanga -
Creating sale order by using BAPI
Hi,
My requirement is to create a inquiry(VA11), By using the Inquiry no as a input in report, i should create a salesorder using BAPI in which the datas should be flowed from inquiry to sale order. i did almost everything except the Pricing Condition.
I am fetching the pricing condition values from table KONV-KSCHL and passing the value via BAPI_SALESORDER_CREATEFROMDAT2 it creates saleorder. In the created salesorder, there are two same pricing conditions but different rate 1.) the price of the MATNR which is maintained 2.) the changed MATNR price in inquiry level,
i need the value which is changed in inquiry level that is 2nd value.
can anyone help me in this...REPORT ZSALESORDER.
<< Cut and paste without attribution from
create sales order using BAPI
removed >>
Edited by: Rob Burbank on Feb 24, 2009 10:43 AM -
Function module to add record into incompletion log of creating sale order
Hi SD Experts,
Do you know any function module / class to add record a into incompletion log procedure of creating / changing sale order process? We can do it through configuration OVA2 but I need to add more condition before adding to this table.
Thanks,
DuyHi,
Refer to The SDN Post : [user exit to update the incompletion log in sales order for pricing error |Re: user exit to update the incompletion log in sales order for pricing error].
Limitation : While creating Sales order, this works only for document type with external number range as the code required for updating XVBUV require Sales Order Number.
Regards
Vinod -
Can we create purchase order through report programming?
hi experts.....
can we create purchase order through report programming?If yes plz give me the thread details?Hi,
Use this code in a program by using a BAPI function module
Anothe rway is using classical/ALV report using call transaction from a report for changing the PO
loop at i_header.
header-ref_1 = i_header-legacy.
headerx-ref_1 = c_x.
header-doc_type = i_header-bsart.
headerx-doc_type = c_x.
header-comp_code = i_header-bukrs.
headerx-comp_code = c_x.
header-purch_org = i_header-ekorg.
headerx-purch_org = c_x.
header-pur_group = i_header-ekgrp.
headerx-pur_group = c_x.
header-vendor = i_header-lifnr.
headerx-vendor = c_x.
concatenate i_header-bedat+4(4)
i_header-bedat+0(2)
i_header-bedat+2(2)
into header-doc_date.
headerx-doc_date = c_x.
header-created_by = i_header-ernam.
headerx-created_by = c_x.
header-currency = i_header-waers.
headerx-currency = c_x.
concatenate i_header-kdatb+4(4)
i_header-kdatb+0(2)
i_header-kdatb+2(2)
into header-vper_start.
headerx-vper_start = c_x.
loop at i_items where legacy = i_header-legacy.
item-po_item = i_items-ebelp.
itemx-po_item = i_items-ebelp.
itemx-po_itemx = c_x.
if i_header-bsart = 'NB'.
item-material = i_items-ematn.
itemx-material = c_x.
schedule-quantity = i_items-menge * 1000.
schedulex-quantity = c_x.
else.
item-short_text = i_items-ematn.
itemx-short_text = c_x.
item-matl_group = '1000'.
itemx-matl_group = c_x.
schedule-quantity = '1'.
schedulex-quantity = c_x.
endif.
item-plant = i_items-werks.
itemx-plant = c_x.
schedule-po_item = i_items-ebelp.
schedule-sched_line = '1'.
schedulex-po_item = i_items-ebelp.
schedulex-sched_line = '1'.
schedulex-po_itemx = c_x.
schedulex-sched_linex = c_x.
concatenate i_items-eildt+0(2)
i_items-eildt+2(2)
i_items-eildt+4(4)
into schedule-delivery_date.
schedulex-delivery_date = c_x.
item-price_unit = i_items-peinh * 100.
itemx-price_unit = c_x.
item-tax_code = i_items-mwskz.
itemx-tax_code = c_x.
item-shipping = i_items-evers.
itemx-shipping = c_x.
account-po_item = i_items-ebelp.
accountx-po_item = i_items-ebelp.
accountx-po_itemx = c_x.
if i_header-bsart = 'FO'.
item-pckg_no = sy-tabix.
itemx-pckg_no = 'X'.
limits-pckg_no = sy-tabix.
limits-limit = i_items-overalllimit.
limits-exp_value = i_items-expectedoverall.
posrvaccessvalues-pckg_no = sy-tabix.
posrvaccessvalues-line_no = '0'.
posrvaccessvalues-serno_line = '00'.
posrvaccessvalues-percentage = '100.0'.
posrvaccessvalues-serial_no = '01'.
account-serial_no = '1'.
accountx-serial_no = '1'.
accountx-serial_nox = c_x.
account-quantity = '1'.
accountx-quantity = c_x.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = i_items-kostl
importing
output = account-costcenter.
accountx-costcenter = c_x.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = i_items-sakto
importing
output = account-gl_account.
accountx-gl_account = c_x.
item-acctasscat = i_items-knttp.
itemx-acctasscat = c_x.
item-item_cat = i_items-epstp.
itemx-item_cat = c_x.
endif.
append:item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
clear :item,itemx,schedule,schedulex,account,accountx,limits,posrvaccessvalues.
endloop.
call function 'BAPI_PO_CREATE1'
exporting
poheader = header
poheaderx = headerx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
importing
exppurchaseorder = ponumber
* EXPHEADER =
* EXPPOEXPIMPHEADER =
tables
return = return
poitem = item
poitemx = itemx
* POADDRDELIVERY =
poschedule = schedule
poschedulex = schedulex
poaccount = account
* POACCOUNTPROFITSEGMENT =
poaccountx = accountx
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
polimits = limits
* POCONTRACTLIMITS =
* POSERVICES =
posrvaccessvalues = posrvaccessvalues.
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
if ponumber eq space.
loop at return where type = 'E'.
clear buffer.
move-corresponding return to e_return.
concatenate i_header-legacy e_return into buffer.
transfer buffer to p2_file.
endloop.
move-corresponding i_header to i_eheader.
transfer i_eheader to p3_file.
loop at i_items where legacy = i_header-legacy.
move-corresponding i_items to i_eitems.
transfer i_eitems to p4_file.
endloop.
else.
commit work and wait.
endif.
clear:ponumber,header,headerx,item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
refresh:item,itemx,account,accountx,limits,return,schedule,schedulex,posrvaccessvalues.
endloop.
close dataset p2_file.
close dataset p3_file.
close dataset p4_file.
Regards
Krishna
Maybe you are looking for
-
Hi Experts, I have an attachment in Sender Payload. Header details are as below : <Attachment id="1 .abc - Desc.txt" filename="abc - Desc.txt">ATTACHMENT_HEADER</Attachment> Item details are as below : <Attachment id="2 .abc - CC.txt" filename="abc -
-
Where is the move tool on Ps Touch?
I made a selection and created a new layer and am trying to change the position of thay layer but I dont find the move tool. How can I move a new layer to a different position on the image?
-
Hi all, I�m trying to add the bytes of a PKCS7 signature in a PDF in order to adobe reader verify it. I�m using iText to do that... I can add my name in the signature, I generate the bytes that represent a PKCS7 signature, but when I put on the conte
-
I've just updated my operating system to 10.4.10 from 10.4.6. I manage a website designed by someone else, and they didn't define a font size for body text/paragraphs in our CSS. As a result, in the newest version of Safari, the portion of the site t
-
Authorization Object Documentation
Dear Colleagues, in earlier SAP versions there was on opportunity to download the documentation for all authorization objects in one docuemtn via execute transaction SU03 -> Information -> Object List with Documentation -> Download Does anyone know,