LSMW Upload SalesOrder Creation:problem in assigning Partner type SH and SP
Hi
I'm trying to upload sales order creation data using LSMW -BAPI Method
Business Object : BUS2032
Method : CREATEFROMDAT2
Message type : SALESORDER_CREATEFROMDAT2
Basic Type : SALESORDER_CREATEFROMDAT202
and I'm passing the following header data
Sales Order Type, Sales organisation, Distribution Channel, Division, Sold To Party, Ship To party,
Purchase order number, PO Date, Requested delivery date, Order Reason, Payment terms, Incoterms part1, Incoterms part2, Document Currency.
and the following item data
MATERIAL NUMBER
Order quantity
Storage Location
Item Category
Item Usage
Reason for Rejection
Plant
Net Weight
Gross Weight
Condition Type
Amount
Internal Order Number
I'm assigning the header data to structure <b>E1BPSDHD1</b>
and Item data to <b>E1BPSDITM,E1BPSDITM1</b>
and Partner data to structure <b>E1BPPARNR</b>.
When I am assigning Partner data to the structure E1BPPARNR, I want to assign both <b>sold-to-party</b> and <b>ship-to-party</b> ,(because I have two source fields of this type) but there is only target field related to the partner data , here I am assigning <b>partner type as SP</b> and <b>partner number as sold-to-party</b>, still there is an unassigned field ship-to-party, for this field I am unable to find a relevant target field so please help me how can I assing These two flat file fields <b>(sold-to-party,ship-to-party)</b>
Looking for further more information : if there is many sold-to-party's and many ship-to-party's how can I go that in this situation i.e maintaining Many to Many relationship using LSMW tool
Thanks in advance
regards
Rajasekhar
Here is what you have to do.
In field mapping, double click on the field PARTN_NUMB (or any field of that structure) in change mode. This opens up the code editor. There just enter the following code. I am assuming you are doing only these fields. But if you are mapping more fields of this structure, you have to map them here.
E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNAG.
E1BPPARNR-PARTN_ROLE = 'AG'.
E1BPPARNR-ITM_NUMBER = '000000'.
*-- add more field mappings here, if needed
TRANSFER_RECORD.
*-- Now pass the Ship-to record
E1BPPARNR-PARTN_NUMB = ORDERHEADER-KUNWE.
E1BPPARNR-PARTN_ROLE = 'WE'.
E1BPPARNR-ITM_NUMBER = '000000'.
*-- Add more partners if needed by copying the above code.
Remember, you need to do TRANSFER_RECORD only that many times as you have the partners. There will be one 'TRANSFER_RECORD' at the end of this structure, so keep that in mind.
Srinivas
Similar Messages
-
Problem with Dockingsta​tion Type 2504 and R60 LAN Performanc​e
Hello,
we have a smal problem with a lenovo dockingstation type 2504 and a r60 laptop.
Made some performance test for oure fileserver.
Found out, if i use dockingsstation, i get poor performance.
If i use the r60 without dockingstation, lan performance is realy good.
Some idea why?
How could it be?
Performance profile is max.
Use battrie in r60, dockingstation with power supply.
Big thanksOk, so I was able to video chat with Defcom last night by turning on my firewall and also by changing iChat/AIM to logon through port 334. I still cannot video chat with appleutest01. Any other ideas?
-
Regarding Partner types LI and KU in WE20 transaction
Hi,
I want to send a purchase order to a particular vendor through EDI. When ever I create a PO if the customer is CUST1(for example) and vendor is VEND1(for example) then only EDI should trigger. Pls give me the possible configuration steps. <b>Is it possible by using LI and KU partner types in WE20.</b>
Points will be awarded for all helpful points.
Thanks&Regards
Giridhar KarnamHi Giridhar,
Please check the tab Permitted agent that might be used for specifying the vendor name.
I think these validatikons can be carried out while executing the Function Module.
Regards,
Ravi G -
Message "Wrong partner type LS" in message control
Hi All,
I am trying to send PO's out to a middleware system. I have configured the middleware system as a LS (logical system) done all the config required for Message control.
But when I enter Output type = NEU and Medium = A (ALE) and Partner Function = LS and partner name and save the PO, I get the error "Wrong Partner type LS" in the processing log for that message. The details description says "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed.". But i need to send it to partner type LS.
Am I missing anything. Please Advise.
Thanks in advanceHi!
'By default' purchase orders can be send to vendors or plants - the two parties in the document. This is linked to the two different partner types KU and LI. Only partners of this type of a purchase order can be used to send data.
Check, if you can create a partner definition (WE20) for KU (hopefully you have less plants then vendors).
You also need a partner determination for the document - only out of this partners automatically a message output can be assigned.
Regards,
Christian -
Regarding Partner Type LI (Vendor) configuration
Hi All,
My scenario is File > XI> IDOC (INVOIC02 Idoc) Partner Type LI
I had configured WE20 in receiving System for Partner Type LI and given the Process code details.
Now in XI what are the steps that i need to configure( For Partner Type LI Vendor Only)?
DO we need to create Parties for both Sender System and Recieving System?
Please suggest with the various steps to be done for Hanling Partner Type LI in XI .
And i think in receiveing SAP system only WE20 is enough for Partner Type LI ... correct me if i am wrong.
Thanks and Regards,
Sridhar ReddySridhar,
I don't think because of change in partner types whether LI or KU...etc settings at xi will chnage :
It is going to be same :
1. Idoc Import .- through IR
2. RFC destination pointing to R3
3. Port creation - IDX1 using the rfc destination created at step 2.
Apart from this partner profiles needs to created at r/3 end .
Regards -
No address found for partner function type : 0002 and 0013
Hi Experts,
I have SRM PO and it is partially confirmed ,requester and Goods receipant has left the organisation, now another user trying to post the confirmation, getting the error :
No address found for partner function type : 0002
No address found for partner function type : 0013
We understood that requester and Goods receipant has left the organisation and this user is not there in organisation structure, hence we are getting the error.
Now we are trying to amend requester and goods receipant in the PO with new user(alreday there in the Orgn structure) but system is not allowing to do the same.
How can i post the confirmation now?? is ther any way to post the confirmation without amending the PO ?
Thanks in advance
Suresh.AHi
Please find the below steps
Step1:
Fetch the shopping baskets GUID using the table CRMD_ORDERADM_H.
Creator of shopping basket -CREATED_BY
Shopping basket no.: OBJECT_ID
Creation date: CREATED_AT
Fetch the shopping baskets GUID.
Step 2
Fetch the GUID of Alternative goods recipient:New User who would be doing Goods Receipt
Use the Function Module'HR_OBJECTBUPA_GETBUPA'
Use function module BBP_PD_SC_GETDETAIL input the shopping basket and GUID.
Fetch E_PARTNER-PARTNER_GUID's of Partner type 00000016 and 00000020.
Go to CRMD_PARTNER table for the above GUIDs replace the PARTNER_NO for 16 and 20
with PARTNER GUID of the alternative goods recipient.
Thanks
Trinath -
Read Only Access while assigning Analysis Types and Reports in User/Group
Hi Team,
While Assigning Analysis Type,Reports and Workbooks to User "Read" option is not enabled. It is not working and as soon as we select analysis type ,Only one option is editable "Create/Update/Delete". The other two Option is always there as display "Read" and "Execute" . Execute might work with "Scripts template" but "READ" should work for analysis types and Reports.
We are already struggling with "Read Only" Access in security filter as its not working now.
Thanks
Edited by: user7918731 on Mar 2, 2011 11:22 AMThe behavior for Analysis type, workbook and script as follow:-
The Analysis type create/update/delete option will be enabled, read and execute option will be disabled by default.
The report workbook read option will be enabled, and other two options will be disabled.
The script execute option will be enabled, and other two option’s will be disabled.
For providing “Read Only” access in security filter, Switch to the administration tab, Click on Security Filters, Click on Add button, Open Create Security Filter window, Select the access level to Read Only and select user in assigned user , Click on ok.
It should work. -
Assign MIC in inspection type 03 and 04
Dear all
Plz tell me whether i m correct
I have X material and for that i have assign inspection type 03 and 04.
for 03 i have assign MIC in routing (N).its working well,but for 04 i have assigned quality inspection plan(Q) is it wright practice or shall i assign MIC in routing for 04 also.
Regard
NirmalaDear Nirmala
It is the sap process . For 03 inspection you need to assign MICs in routing but while inspection 04 MICs need to aasigned in inspection plan . You cannot mics for 04 in routing
Regards
gajesh -
Hi Guys,
I am tryin to do LSMW using IDOC method.
In the transaction LSMW...i have reached radiobutton - Start IDOC Generation.
here i am facing a problem....it's giving me a message ' No Partner Exists with the name, "type". '.
Please help me out with this.
Thanks and regards,
Frank.hai
u go fist page of lsmw and then click the settings and then click idoc inbound processing .then u create the file port .
partner type
partner number
after u active .........then u enter the maintain the attributes structure once again enter all the values after save it ........................... -
Problem facing in partner rofile creation !
After adding new message type in the partner profile...When i check it by cntr+f2 i am getting the warning as
" No message control entry for the following entry "
Will it affect my idoc processing ?
can any one help !Hi,
I am not sure if you have missed any step... but check if helpful.
Put the msg type in the inbound/ outboud paramenter section in the partner profile corresponding to any partner type (say 'LS'). Hope you have done this.
Now, you have to double click the msg type which will take you to a new screen, where you have to enter various other parameters depending on your requirement, like basic type, msg control etc.
Finally save/activate it. It should work now.
Regards, Tapas
<Reward pts if useful or answered> -
How to switch off automatic creation of the business partner?
Hello!
Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.Hi,
I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
1. Set BP Role Category for Direction BP to Customer
Roles: FLCU00 - Business Partner FI Customer (FS: BP)
FLCU01 - Business Partner Customer (FS: BP)
2. Defined the Number assignment for Direction BP to customer
4. Customer account group and numbering is also defined.
3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
Kindly let me know if any customizing I have missed.
Regards
Ameya -
LSMW Upload of Purchase Requisition MM
Hi Experts,
I have a quick requirement to create a LSMW project for creating the PR(Purchase Requisition) in the SAP system from a legacy data by means of uploading.
I want the data of the header and item to be uploaded in one go. I searched the forums and came to know that
we can use batch input but the problem is that it will upload one by one which does not suffice my requirement.
Please suggest me how to achieve this.
Thanks and Best Regards,
SahilHeader and item is always loaded in one go. I have never seen an object in SAP migration where you load header and items individually.
SAP says in FAQ note 499627 - FAQ: BAPIs for purchase requisitions
Can I use the BAPI BAPI_REQUISITION_CHANGE to add new items?
Answer:
No.
However, we can create a BAPI that has this function for you.
This takes one to three days depending on the features, and is subject to charge.
...but this is for BAPI_REQUISITION_CHANGE , when you create requistions you usually use BAPI_REQUISITION_CREATE. so give it a tryto see if you can load several item to one PR.
if it does not work with the BAPI, then record the old ME51 transaction (ME51N is not suitable for batch input) -
Problem with External List Management; Business Partner Type
Hello experts;
I created a mapping format for importing a simple notepad file. In the ELM i see all my fields populated correctly. Once i start the importing process it goes smoothly with no mistakes at all (green lights). The bp is actually imported and i can see it in the BP transaction with most of the fields correctly imported BUT the business partner type (PERS_PERS_BPKIND in ELM). For this field i have a Constant Assignment which is always HH and because of that i don't have it in my notepad file but i pass the value directly from ELM constant assignement=HH. Unfortunately this value is not copied. Any idea? Am i doing something wrong or i'm loosing some steps in between?
Thank you very muchHello,
the issue is most probably related to missing authorizations. As you know the processing in external list management happens in the background using WF-BATCH user.
Please check the following notes:
708557 - 'ELM: Troubleshooting' point 1.
https://service.sap.com/sap/support/notes/708557
1912414 - ELM upload: Error in the map data-step
https://service.sap.com/sap/support/notes/1912414
1664498 - External List will not execute
https://service.sap.com/sap/support/notes/1664498
The information provided in the notes should help to solve the issue.
best regards,
Johannes -
Hello experts
plz solve my problem
I am entering material in material mASTER through MM01 t-code, I have taken the following
five fields for the material creation through LSMW
Material Number (MATNR)
Industry sector (MBRSH)
Material Type (MTART)
Material Description (MAKTX)
Base Unit Of Measure (MEINS)
after that I have created a raw .txt file with material fields and proceed successfully
till step-13(Create Batch Input Session) and also execute the step-14(Run Batch Input Session)
after that the batch is shifted for Background processing and then execute the batch input
session from there which will be finished without any error, at last when I check the data
in MM01 I haven't get my material in there, I check LSMW when then it shows the session status with Error.
The following is the log error for all the transaction copied in the making og bat input session
record 21 DEF_SKIP does not exit in the table
So please Solve this problem as soon as possible this will be a great help
With RegardsTry programming the following recording:
T MM01
SAPLMGMM 0060 X
BDC_CURSOR RMMG1-MATNR
BDC_OKCODE /00
RMMG1-MATNR Yourmaterial
RMMG1-MBRSH industry type
RMMG1-MTART material type
SAPLMGMM 0070 X
BDC_CURSOR MSICHTAUSW-DYTXT(01)
BDC_OKCODE =ENTR
MSICHTAUSW-KZSEL(01) X
SAPLMGMM 4004 X
BDC_OKCODE =BU
BDC_CURSOR MAKT-MAKTX
MAKT-MAKTX sample material
MARA-MEINS ea
MARA-MTPOS_MARA NORM -
Need BAPI program to upload PO creation with flatfile having HEADER N ITEM
Hi abap experts,
I Need sample BAPI program to upload PO creation(ME21) with flatfile having HEADER AND ITEM datas.
arunHi,
Look at the below links
Re: BAPI_PO_CREATE1 and net price
Re: Using BAPI_PO_CREATE1 : Linking service, and account assignment
Regards
Sudheer
Maybe you are looking for
-
Photoshop CS4 for Mac What can cause the error: Plug-in failed to load - NO VERSION
With Photoshop CS4 for Mac I install the Kodak Plug-in DIGITAL GEM Airbrush Professional v2.1.0. When Photoshop starts I get an error: Plug-ins that failed to load: DIGITAL GEM Airbrush Professional v2.1.0 NO VERSION - - from the file "DigitalAIR
-
hi all, i am adding jspinner which is used for date to a table, the problem is when i change date in jspinner, the changed value is not displaying in the table, the following code i used. private void addDataSpinnerToRepayment(JTable tableMemberToGrp
-
Problems with Bluetooth mouse following Lion upgrade
I upgraded my MacBook Pro from Snow Leopard to Lion, this morning, and now my Kensington Bluetooth mouse, which I have been using for nearly 2 years, has stopped working. The upgraded MacBook now only registers a connection with the mouse if it is he
-
Screen Saver Photo Slide Show...
...Hello... This used to work but for some reason it doesn't any more. Whenever I go to the screen saver preferences and choose a folder full of pictures to use as a photo slide show screen saver, it says 'folder contains no pictures'. However, is DO
-
Save as disability in PDF Reader
Hi I am working on a Windows Application developed using .net and using a 3rd party DLL for creating PDF Files.Through the application the users will open pdf files available on the server and view it in Adobe Reader. Since this is a sensitive data