I want purchase order bdc or bapi with full solution
hi,
if any one have purchase order bdc or bapi with full solution . plz send me .
thanking u,
hi
Just take all required fields to create PO into one internal table . Just use BAPI_PO_CREATE1 function module. In that function module give internal table name. It will create the PO. Extra decorations like error messages and all you need to take care.
Reward if it helpful.
Thanks
Siva Kumar
Similar Messages
-
Create a Purchase order using the BAPI using the data in the XML file.
Hello Gurus,
here is the scenario can anyone help me how to proceed explaining the procedure?
Create a Purchase order using the BAPI using the data in the XML file.
comprehensive explanations are appreciated.
thanks in advance.hi,
first use fm "bapi_po_create".
then use fm "BAPI_ACC_GL_POSTING_POST"
The demo environment was made with real business scenario in mind, but following subjects need to be addressed in a live implementation:
No exceptions and error handling is implemented, except the order rejection (e.g. partly delivery);
In Navision both XML Ports and the XML DOM has been used to integrate with SAP XI, because XML ports has some drawbacks regarding to Namespaces in XML Documents (mandatory in SAP XI);
A minimum of SAP and Navision customization is required to implement this solution. (e.g. user exit in SAP, Navision XML DOM). -
Auto GR for Purchase order for ext.operation with operation confirmation
Can somebody thow a light on the issue encountered. Need to do the auto goods receipt for the purchase order for external operation with the external operation confirmation in the production order.
Any help is highly appreciated!Not possible in standard system.
-
Send purchase order by e-mail with address of bad partner order
I have a supplier with 3 addresses of order of which I choose 1 during the creation of the order.
The creation of message NEU is done with the new partner.
The sending by e-mail is done with the address of the initial partner.
I do not find any note OSS on this problem.
We are with the version SAP ECC 6.0.
Did somebody already encounter this problem?
Thank you in advance for your assistance.
Frédéric BlaiseHi Frédéric,
Sorry about the mess, SDN does this some times. I'll try it again.
I have attached a very useful note 191470 regarding the steps you need to setup to enable message determination in the PO via email.
191470 - Purchase order as an e-mail
1. You must maintain an e-mail address in the address in the vendor
master.
2. The same applies to your own user master.You also have to specify a
e-mail address there in order to identify the sender.
o Note that it is not possible to change the e-mail address of the
vendor via the SAP purchase order transaction (ME21N, ME22N and
so on).
o The system only uses the e-mail address of the vendor that is
maintained in the vendor master!
However a suggested workaround would be in that transaction XK02
you can enter several e-mail addresses and select the standard one.
When you create a purchase order in ME21N, in 'address' tab, click on
'address details', there you have the possibility to select another
e-mail address than the standard one.
Also regarding the partner functionality and message determination
I would advise you to review the help documentation online via
http://help.sap.com/.
Help documentation - vendor master (partner roles)
Logistics -> MM -> purchasing -> master records -> vendor master ->
partner roles in purchasing.
Message determination
If you want to have partner roles taken into account in the message
determination process, you must select the New Partner Role
Determination indicator in Customizing when assigning the message
determination schema.
To do so, choose Messages -> Output Control -> Message Determination
Schemas -> Define Message Schemas for in Customizing for Purchasing.
If you select the indicator, all partners maintained in the purchasing
document will be passed on to the message determination facility. For
each partner role, the latter then searches for condition records
containing the relevant role.
Hope this helps,
Kind Regards,
Matthew -
Additional code for PO(purchase order) BDC
Hi All,
I wrote a BDC for uploading Open PO(purchase order). I did it using recording. But when coming to upload it can take only one line item for material. In a PO we can include any number of materials. So inorder to get such upload functionality where do we need to add the code and how to? The coding is stated as follows....The bold text is the line item data to upload in which multiple materials need to be uploaded.
TYPE-POOLS: TRUXS.
DATA: IT_RAW TYPE truxs_t_text_data.
TYPES: begin of SPORD,
BSART(004),
SUPERFIELD(030),
BEDAT(010),
EKORG(004),
EKGRP(003),
BUKRS(004),
EBELP_01(005),
KNTTP_01(001),
EMATN_01(018),
MENGE_01(017),
MEINS_01(003),
EEIND_01(010),
NETPR_01(014),
WAERS(004),
PEINH_01(006),
NAME1_01(030),
SAKTO(010),
KOSTL(010),
REPOS(001),
MWSKZ(002),
WEBRE(001),
end of SPORD.
DATA: T_PORD TYPE TABLE OF SPORD,
PORD TYPE SPORD.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS: FILENAME TYPE RLGRAP-FILENAME.
SELECTION-SCREEN END OF BLOCK B1.
include ZBdcrecx1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR FILENAME.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
FIELD_NAME = 'FILENAME'
IMPORTING
FILE_NAME = FILENAME.
start-of-selection.
PERFORM GET_DATA.
perform open_group.
LOOP AT T_PORD INTO PORD.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEDOCTYPE'.
perform bdc_field using 'BDC_CURSOR'
'MEPO_TOPLINE-BSART'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
PORD-BSART.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
PORD-BEDAT.
perform bdc_field using 'DYN_6000-LIST'
' 1'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=MEV4001BUTTON'.
perform bdc_field using 'BDC_CURSOR'
'MEPO_TOPLINE-SUPERFIELD'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
PORD-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
PORD-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
PORD-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
PORD-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
PORD-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
PORD-BUKRS.
perform bdc_field using 'DYN_6000-LIST'
' 1'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
PORD-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
PORD-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
PORD-BEDAT.
perform bdc_field using 'MEPO1222-EKORG'
PORD-EKORG.
perform bdc_field using 'MEPO1222-EKGRP'
PORD-EKGRP.
perform bdc_field using 'MEPO1222-BUKRS'
PORD-BUKRS.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-NAME1(01)'.
perform bdc_field using 'MEPO1211-EBELP(01)'
PORD-EBELP_01.
perform bdc_field using 'MEPO1211-KNTTP(01)'
PORD-KNTTP_01.
perform bdc_field using 'MEPO1211-EMATN(01)'
PORD-EMATN_01.
perform bdc_field using 'MEPO1211-MENGE(01)'
PORD-MENGE_01.
perform bdc_field using 'MEPO1211-MEINS(01)'
PORD-MEINS_01.
perform bdc_field using 'MEPO1211-EEIND(01)'
PORD-EEIND_01.
perform bdc_field using 'MEPO1211-NETPR(01)'
PORD-NETPR_01.
*perform bdc_field using 'MEPO1211-WAERS(01)'
PORD-WAERS.*
perform bdc_field using 'MEPO1211-PEINH(01)'
PORD-PEINH_01.
perform bdc_field using 'MEPO1211-NAME1(01)'
PORD-NAME1_01.perform bdc_field using 'DYN_6000-LIST'
' 1'.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
PORD-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
PORD-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
PORD-BEDAT.
perform bdc_field using 'BDC_CURSOR'
'MEPO1211-EEIND(01)'.
perform bdc_field using 'DYN_6000-LIST'
' 1'.
perform bdc_field using 'MEPO1317-REPOS'
PORD-REPOS.
perform bdc_field using 'MEPO1317-MWSKZ'
PORD-MWSKZ.
perform bdc_field using 'MEPO1317-WEBRE'
PORD-WEBRE.
perform bdc_dynpro using 'SAPLMEGUI' '0014'.
perform bdc_field using 'BDC_OKCODE'
'=TABIDT7'.
perform bdc_field using 'BDC_OKCODE'
'=MESAVE'.
perform bdc_field using 'MEPO_TOPLINE-BSART'
PORD-BSART.
perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'
PORD-SUPERFIELD.
perform bdc_field using 'MEPO_TOPLINE-BEDAT'
PORD-BEDAT.
perform bdc_field using 'DYN_6000-LIST'
' 1'.
perform bdc_field using 'MEACCT1200-KNTTP'
PORD-KNTTP_01.
perform bdc_field using 'MEACCT1100-SAKTO'
PORD-SAKTO.
perform bdc_field using 'BDC_CURSOR'
'COBL-KOSTL'.
perform bdc_field using 'COBL-KOSTL'
PORD-KOSTL.
perform bdc_dynpro using 'SAPLSPO2' '0101'.
perform bdc_field using 'BDC_OKCODE'
'=OPT1'.
perform bdc_transaction using 'ME21N'.
ENDLOOP.
perform close_group.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
FORM GET_DATA .
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_LINE_HEADER = 'X'
I_TAB_RAW_DATA = IT_RAW
I_FILENAME = FILENAME
TABLES
I_TAB_CONVERTED_DATA = T_PORD.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " GET_DATA
regards
PSNG
Edited by: PSNG on Jun 11, 2008 3:28 PMME_PROCESS_PO_CUST
use above BADI for ME22N/ME21N,often we use method PROCESS_HEADER
PROCESS_ITEM our most of the requirement meet by these methods only,check once if your requirement does meets with these two methods?
if not than you may implement some more method which are in ME_PROCESS_PO_CUST, for more help you may read documentation,there is well enough documentation already there for each method.
and for ME22/ME21 you may use
ME_PURCHDOC_POSTED
and method POSTED. -
Purchase order rejection via BAPI
Hi,
i need to use BAPIs for purchase order release because it is interfaced with Notes.
I'm looking for a BAPI or Function module in order to reject PO as it is possible in ME29N transaction in ECC 6.0 . I found BAPI_PO_RELEASE (to release) and BAPI_PO_RESET_RELEASE (to cancel release) but not BAPI for rejection.
Is there anybody experiencing such a problem ?
Pierre-Edouard HamonNo, thanks for your answer, but this BAPI only allows cancellation of a release code that has already been posted but doesn't allow rejection of a release code that has not yet been managed. (in ME29N, push button Refuse in PO header tab)
PE Hamon -
Purchase Orders replicated in BE with wrong number
Hello,
Recently we've observed that in our dev system Purchase Orders are being replicated from SRM to R/3 System with numbers used for POs created in R/3,
Let say, for example, that in SRM the PO number starts with 33 and once the PO is replicated it's created with a number that starts with 45.
Once POs are replicated, there are no links between this PO and the one in SRM shown in bbp_pd.
So we want to know what checks (transactions) we must check in order to detect what could the reason for this behaviour.
Any advice is welcome.Dear Elias,
please check number ranges which was defined in SRM for PO's.
The number ranges for PO's in SRM should be defined as internal, the same number range should be define as external in R/3.
The number ranges for PO's in SRM which was defined in SRM already defined in R/3 previously and in use.
Regards
vasanth -
Error while creation of PUrchase order by using BAPI.
Hi All,
We are creating a purchase order thru BAPI ("BAPI_POEC_CREATE") and we are passing the following parameters ( I_PO_HEADER , I_PO_ITEMS , I_PO_ACCASS , I_PO_PARTNER and I_PO_ORGDATA) to the bapi and after processing we are getting the following error and Abend messages.
Messages:
1) Enter at least one item or one limit ( we have added line items in I_PO_ITEMS structure).
2) Incorrect interface data for set 78 in method C.
3) Interface data contains errors.
Can anyone help me in fixing these errors inorder to proceed further.
Regards
DharmarajuHi there,
Did you manage to sort this problem ?
If not let me know
I am using the same and know how to overcome
Thanks
Turlock
T -
Purchase Order concurrent request printing with XML Publisher
Need to use the standard Print Purchase Orders Report (Portrait) to print batches of purchase orders using the seeded XSL template that generates a PDF document. Used the white paper 295409.1 as a guide to create Data Definition and Template using the short name POXPRPOP, with seeded XML schema and XSL template. Changed POXPRPOP report output from text to XML.
Report completes successfully but gives no data. The PDF is blank. Am I missing a step or is the seeded template not compatible with the POXPRPOP report?Did you check whether your Pasta is Setup Correctly?? check the pasta configuration required for XML Publisher there are couple of utils/libraries that need to be setup on the Concurrent Manager Node
-
Purchase order automatic amount determination with scales
Hi,
I have a problem with the automatic definition of amount of a purchase order item on the basis of the scales defined for a condition type (only for a material, the others are ok).
As you can see in the attached images I have scales dedfined from 300 pieces, so, when I put 200 pieces, system should give me an error or set the amount of the more similar scale, but instead the system sets the value 4,21, that I have for 600 pieces! And very strange thing is that if I go in analysis, I can see that value setted was 5,33 and then manually modified, but it's not true: I've not modified. I tried to do all again and always error for that material code.
Why? What should I check?
Thank youInfo record (subcontractor).
Here the scales of other item (different scales): -
Hi i want to ceate customer through bapi with external no range not implici
hi i want to create customer through bapi which facilitates to enter customer code(our own defined not the sequentially next no.)
i have gone through F.M BAPI_CUSTOMER_CREATEFROMDATA1 BUT NOT ABLE TO UNDERSTAND HOW TO INPUT PARAMETER FOR CUSTOMER_CODE.
PLEASE GUIDE ME IF ANY ONE AWARE ABOUT THAT.
THANKS
Moderator message: please don't use all caps from now on.
Edited by: Thomas Zloch on Aug 4, 2010 6:12 PMIf the iTunes database files are on that drive, launch iTunes with the Shift key(Windows) or Option key(Mac OS X) held down, select Choose Library, and navigate to it. The computer may need to be authorized to play protected content, and if the library contains rented movies, those won't play.
If not, import the content to an iTunes library.
(100371) -
Can a Purchase Order (PO) Be Created With Negative Quantity or Price?
The object is to have a negative line on a PO? Is this possible?
Hi,
Oracle Purchasing does not provide functionality to create a Purchase Order with a negative quantity or price.
Enhancement Request BUG 2457862 NEGATIVE QUANTITIES ON PO LINES has been logged to request this functionality.
Thanks
-Arif. -
Do the purchase order can be created with several purchasing groups?
Hello gúrus,
I need your help again a.s.a.p. please!
We are implementing SAP R/3 ECC 600 and we have SRM too.
In the SRM is possible to create a purchase order with several purchasing groups, but, in MM we cannot because of the purchasing groups is the the header level.
Somebody expert from SAP told to the client that its possible to create a Purchase order in MM with several purchasing groups..
Is it possible? or, where I can find information from SAP that said that its not possible?
Could you help me please?
Regards,
Sandra PalomoHow can I create a PO with different purchasing groups to the same PO?
Could you give me a detail?
Regards,
Sandra Palomo -
Purchase Order Report of PO with Balances
Hi Experts,
Is there a report to view Purchase Orders that still have balances (not yet received and not yet fully paid)?
Thanks,
MattPO balance, you have the standard reports. here you know balance amount. and already billed amt.
PO paid or not paid is to look at Invoice verification document. Not by PO. From invoice verification reports, you can tell what is balance amt to be paid. So, you have PO already billed amt - IR bal amt + PO bal amt = bal amt for PO to be paid.
You need a customized report to consolidate that information required. If not, user have to run 2 reports to give figure. -
Purchase Order Creation using BAPI BAPI_PO_CREATE1.
Hi All,
We are trying to create a pruchase order with the below line items.
Example:
Line item Material Quantity Price
10 MATNR1 1 53 --> should be 59
20 MATNR1 1 53 --> should be 59
30 MATNR1 1 53 --> should be 59
40 MATNR1 1 53 --> should be 59
50 MATNR1 4 53 --> Correct price based on the quantity 4.
In the above example as the total quantity is more than 4 ( consolidating the 5 line items ), the price for each line item is picked from the Info record applying the scaling condition for quantity 4. Standard SAP will consolidate the quantities based on Service material, Purchase Organization, Vendor and Plant and pick the price based on the scales from Info record.
The expected out put is.
Line item Material Quantity Price
10 MATNR1 1 59
20 MATNR1 1 59
30 MATNR1 1 59
40 MATNR1 1 59
50 MATNR1 4 53
Please help us in knowing on how to populate the bapi to get the Expected output.Hi All,
We are trying to create a pruchase order with the below line items.
Example:
Line item Material Quantity Price
10 MATNR1 1 53 --> should be 59
20 MATNR1 1 53 --> should be 59
30 MATNR1 1 53 --> should be 59
40 MATNR1 1 53 --> should be 59
50 MATNR1 4 53 --> Correct price based on the quantity 4.
In the above example as the total quantity is more than 4 ( consolidating the 5 line items ), the price for each line item is picked from the Info record applying the scaling condition for quantity 4. Standard SAP will consolidate the quantities based on Service material, Purchase Organization, Vendor and Plant and pick the price based on the scales from Info record.
The expected out put is.
Line item Material Quantity Price
10 MATNR1 1 59
20 MATNR1 1 59
30 MATNR1 1 59
40 MATNR1 1 59
50 MATNR1 4 53
Please help us in knowing on how to populate the bapi to get the Expected output.
Maybe you are looking for
-
Help importing/exporting AVCHD in FCP 6.0,6
I have been having numerous problems in Final Cut Pro for the proper procedure on how to Export HD footage at its fullest quality. I shoot with a Sony NX5U and after im done exporting the footage, it always looks terrible. meaning that the footage is
-
We are going to implement IC Webclient and our Agents will each have 2 logins - one for incoming Emails and one for incoming phone calls since SAP with Genesys routing does not allow for two open interactions at the same time. The users would like a
-
How to manage obligatory parameters on standard selection screen.
Hi all, How could I ensure settings some fields-parameters as obligatory on standard selection screen-dynpro1000. I would like to manage this according choosen block. On standard dynpro 1000 I have two blocks for two different selections. Checkboxes
-
Hello, I recently have found I have a problem with my photo's uploading into the organizer and when they are finished uploading all I get is the hour glass symbol and not the image itself. I thought that I saw somewhere that I may have a virus attac
-
KPF6 posting to a wrong columm
Dear experts, During planning on transaction KPF6 the values are going to a wrong columm, isntead of planning the values are flowing to the variable columm. report (S_ALR_87012993 - Orders: Actual/Plan/Variance ). Also the columm Plan has values tha