Custom - Material Master Update using an IDOC (Message Type - MATMAS_BAPI)
Hello everyone,
I was writing a functional specs. Basically, I want to update the material master MM02 using an IDOC (MATMAS_BAPI01 - Basic Type & MATMAS_BAPI - Message Type). This is currently working.
To my understanding, this currently uses function module - BAPI_IDOC_INPUT1 to update the material master after the IDOC is posted to SAP ECC from XI system.
Now I want to add one small validation logic before it actually updates the material master (MM02).
I looked around and found one exit - EXIT_SAPLMV02_002 in enhancement MGV00001. I was almost sure that this EXIT can be used to write the custom validation code before, actual MM02 updation.
However while trying to establish a link between this EXIT and BAPI_IDOC_INPUT1, I found that EXIT_SAPLMV02_002 is actually a part of another function module - IDOC_INPUT_MATMAS01 and not BAPI_IDOC_INPUT1. I am stuck here if adding the custom logic in the exit really going to work.
a bit of googling and I found from WE30 that the purpose of both these function modules are actually different. While BAPI_IDOC_INPUT1 actually create & updates the material master (also plant specific master data which is my need), IDOC_INPUT_MATMAS01 is just for maintenence of few fields in MM02 (may be custom fields).
Can anyone point out if my thing is in right direction?
Also please offer any solution where shall I put the Custom Logic in the EXIT or the some variants of
BAPI_IDOC_INPUT1.
A less technical explanation would be appreciated as I come from a functional background and invloved in this for writing the func specs. I want to make it sure that what I write is not useless and makes some sense.
Thanks in advance,
Arunesh
Hi Lalit,
Did some head breaking with the function module - BAPI_IDOC_INPUT1 to check whether it is calling the EXIT_SAPLMV02_002 internally. Couldn't get anywhere.
On question of another EXIT in BAPI_IDOC_INPUT1, I don't see any. I am not very proficient in ABAP code, I must say though.
I found the list of exits from google, almost same list everywhere.
http://www.sapfans.com/forums/viewtopic.php?f=21&t=296637
here I got the EXIT, I am talking about.
Any other way to find either the EXIT or link the above?
-- Arunesh
Similar Messages
-
Re:Uploading of material master data using lsmw-idoc method
Hi friends,
While processing each idoc one log on window is opening,and status of idoc is 51,eventhough i am passing material description to maktx of e1maktm,it is showing an 'No description is passed'.
Colud you please tell me how to correct these errors,i am new to this lsmw-idoc method.
Thanks in advance,
Anusha.Thank you for reply.
Actually I am uploading the data in flat file from file port to sap.
In idoc inbound processing of lsmw i have created a file port and iam giving the logical system name of the same client.
is this the correct procedure.
Every time when i process each idoc one new logon window is opening and it is showing idoc status as 51.
could you please tell me how to correct this one. -
ALE-IDoc : Outbound message control for MIRO,IDoc message type for INVOIC
Dear Experts,
I am using the IDoc message type INVOIC. For that i have created the new output type. Then i assinged the the Program RSNASTED and form routine ALE_PROCESSING.
But when i am saving the transaction in MIRO i am getting the Update Error like VN 056: Processing log for program RSNASTED
Please help me to rectify this problemHi Dharmendiran,
We also have the same requirement to send status acconf messages on Inbound INVOIC idoc posting..
Can you let me know how you went about creating new output type..did you mean new output type in NACE for application MR?
Thanks. -
CRM: IDOC Message Type: CRMXIF_PARTNER_REL_SAVE_M
Hi,
I'm currently working on a CRM data migration project. I'm using the IDOC Message Type: <b>CRMXIF_PARTNER_REL_SAVE_M</b> to map data into contact relationship structures.
The problem I am having is the above interface works with SAP standard <b>BUR001</b> type contact relationships. But a copy was taken of <b>BUR001(is contact person for) => ZUR001 (former contact person of)</b>. This allows you to add a date range: <b>DATE_TO - DATE_FROM</b>. Using the above interface I am able to map these dates to the <b>ZUR001</b> type relationships.
All the other data I try and map i.e Function, Telephone No, Fax No ect.. will not map. I'm at a loss as to why not?
note: running CRM 4.0
Any help with this would be greatly appreciated.
Regards,
Philip JohannesenThanks Saquib, the OSS note was very informative.
Do you know where I can find <b>" In addition, you can find DXWB/LSMW examples under service.sap.com/CRM-Integration which you can install in a CRM system and use as models."?</b>
I've looked under the new link <b>"service.sap.com/crm-netweaver"</b>. But have been unable to find any examples.
I've awarded points as promised.
Regards,
Philip Johannesen -
IDOC Message Type FIDCCP02 - Error RW029
Hi All,
We are trying to post a FB01 using a IDOC message type - FIDCC2 and struck at error message -
<b>Accounting transaction not permitted for posting in FI/CO
Message no. RW029</b>
When i try to post directly using the exact data in the IDOC, through FB01, there is no problem.
Debug showed that the error is in the following -
Include <b>LRWCLF01</b>
check business process
SELECT SINGLE * FROM t022 INTO ld_t022
WHERE activity = t_acchd-glvor.
IF sy-subrc IS INITIAL.
IF LD_T022-VORGTYP = 0 OR <---------
IF ld_t022-satztyp <> 0.
MESSAGE e029 WITH t_acchd-glvor.
ENDIF.
ELSE.
MESSAGE e029 WITH t_acchd-glvor.
ENDIF.
If this is not the right message type to use, can you suggest any other message type? FB01 we are trying to post is a simple GL posting, no tax, no withholding, etc. IDOC is just a 2 line posting.
Any help/advice is highly appreciated.
Many Thanks,
ShashiHi Shashi ,
This table is for Business Process t022 based on activity .
Check your customise settings .
There is no problem with message type .
Please reward if useful -
How to upload different views of customer master data using LSMW-IDOC
I need to upload customer master data using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.
convinient is the method that you can handle.
but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
the data can be in one source file, but need then to be maintained in a certain way
Example1: all data in 1 structure
GD1 - CC1 - SO1
GD1 - CC2 - SO2
GD1 - CC2 - SO3
in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
Example2: all data in 3 sturcures but one file
GD1
.CC1
.CC2
..SO1
..SO2
..SO3
Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
FILE General data:
GD1
GD2
GD3
file Compamy code data:
CC1
CC2
CC3
file Sales org data:
SO1
SO2
SO3
LSMW is flexible and can handle each of this scenarios, are you flexible too? -
Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)-documentation
HI All,
please send me some documents related to the following question
Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)
Regards,
Radha KrishnaHi Krishna,
Check out the documentation available on http://ifr.sap.com/catalog/query.asp
SAP CRM - 4.0 > Customer Relationship Management > Master Data > CRMXIF_PARTNER_SAVE
In the meanwhile I shall check if I have something better and more detailed.
Regards
Binai -
IDOC message type use for standard price ALE
Hi,
Does anyone know what is the best way to send material master standard price data from one SAP box to another SAP box?
ex. SAP box A will send standard price data to SAP box B, and the way to update the standard price data in SAP box B, can be done with what method?
I am thinking to use ALE, to send stanard price data and then trigger a MR21 transaction is the receiving box to update price. Does anyone know what IDOC message type I should use to transfer standard price data? thx.Hi
I think the IDOC type will MATMAS01.
Thanks
Deepak -
I can create material using inbound Idoc of type MATMAS01, but not MATMAS05
I can create material using inbound Idoc of type MATMAS01 in WE19, but MATMAS05 failed. In fact I used same data ( different material number), and same inbound function, but got different result.
What is different between MATMAS01 and MATMAS05? Is there some configuation need for MATMAS05?
My system is ECC5.0. Thanks.Hi, nagaraj
this is inbound IDoc, not outbound IDoc, so we can't assign Basic type in WE20, only can assign Message type.
In WE82, there are 5 records about Messagetype MATMAS:
Message type Basic type Release
MATMAS MATMAS01 30A
MATMAS MATMAS02 30D
MATMAS MATMAS03 40A
MATMAS MATMAS04 46C
MATMAS MATMAS05 470
I think it should be ok.
In WE57, there 2 records are exist:
FM_name BasicType MessageType
IDOC_INPUT_MATMAS01 MATMAS01 MATMAS
IDOC_INPUT_MATMAS01 MATMAS05 MATMAS
so I think all configurations should be ok.
Message was edited by:
liu bin -
I want to upload material master (MM01) using LSMW with BAPI method
I want to upload material master (MM01) using LSMW with BAPI method and also later on I may need to change the updated data.
Which business object and Method I should use so that i can do both.
Thanks
kumar nHi,
The business object is BUS1001.
Thanks,
Murali -
Material Master Update from group routing.
Dear All,
When we make material routing. in CA02>scheduling>Results--->Update material master (marking). can be done for the lead time scheduling Purpose. and update in CA96.
But when we use Group Routing, and assign multiple materials in routing header, and then go for
CA02>scheduling>Results--->** (no Material Master Update tab Appeared)
Do we have a solution for this?
Thanks & regards
RaghuDear,
Follow these steps,
Scheduling in routing (CA02 ) as :
Call up the operation overview for the routing.
Choose Extras-- Scheduling -- Schedule.
You reach the Scheduling dialog box.
Maintain the data on the dialog box. The system proposes Backward scheduling for the scheduling type.
Choose Continue.
You reach the Enter overview variant dialog box 00000001.
Enter the overview variant you want to use to display the scheduling results. Choose Continue.
The routing is scheduled. You reach the Schedule Overview screen containing the scheduling data.
After the scheduling run has been carried out, click on scheduling Result-- update material master
You use this function to update material master. Go to the CA96 and update material master.
Please try and come back.
Regards,
R.Brahmankar -
Exit for Material Master UPdate
Hi Friends,
could anyone let me know any user exit for Material Master UPdate.
Thanks in Advance
Regardshi
good
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
thanks
mrutyun^ -
Problems with PROOF field in idoc (message type HRMD_A)
Hello,
I'm using the standard message type HRMD_A with IDOC base type HRMD_A06 and the function module IDOC_INPUT_HRMD.
I have a doubt with field 'PROOF' when I fill the IDOC. Does anybody know for what is it used? For example, what's going to happen if I put PROOF = 'X' in an update operation?
In my case I have tested that when PROOF = 'X', I receive the following warning in intotype 0001:
The EMPLOYEE_ORG_ASSIGNMENT-ADMINISTRATOR_GROUP field is not maintainable in dialog, so it is ignored
The EMPLOYEE_ORG_ASSIGNMENT-ORG_UNIT field is not maintainable in dialog, so it is ignored
The EMPLOYEE_ORG_ASSIGNMENT-COSTCENTER field is not maintainable in dialog, so it is ignored
but I cannot be sure if these warnings are due to PROFF.
In the change data record screen, I have filled the following fields: plan version ('01'), object type ('P'), object id (employee number), PROOF ('X'), Operation ('U'). Structure for the idoc is EDIDC->E1PLOGI->E1PITYP.
Any help on this?Hello,
I'm using the standard message type HRMD_A with IDOC base type HRMD_A06 and the function module IDOC_INPUT_HRMD.
I have a doubt with field 'PROOF' when I fill the IDOC. Does anybody know for what is it used? For example, what's going to happen if I put PROOF = 'X' in an update operation?
In my case I have tested that when PROOF = 'X', I receive the following warning in intotype 0001:
The EMPLOYEE_ORG_ASSIGNMENT-ADMINISTRATOR_GROUP field is not maintainable in dialog, so it is ignored
The EMPLOYEE_ORG_ASSIGNMENT-ORG_UNIT field is not maintainable in dialog, so it is ignored
The EMPLOYEE_ORG_ASSIGNMENT-COSTCENTER field is not maintainable in dialog, so it is ignored
but I cannot be sure if these warnings are due to PROFF.
In the change data record screen, I have filled the following fields: plan version ('01'), object type ('P'), object id (employee number), PROOF ('X'), Operation ('U'). Structure for the idoc is EDIDC->E1PLOGI->E1PITYP.
Any help on this? -
Idoc/message type related to su01 tcode fields?
hi experts,
when i create a user in su01,an idoc should get triggered.
are there any standard idoc / message type having fields related to this.
thanks,
charu
Edited by: charudevrani on Jan 11, 2012 7:38 AMHi Charu,
You can use one of following IDoc types, depending on the action you want to perform on the user master record:
USERCHANGE Change user
USERCLONE Create User with Template in Another System
USERCREATE BAPI to Create a User
Regards,
Marcin -
Idoc Message type and Process Cosde for CJ01 transaction
Hi,
What is the Idoc message type and inbound Process code for CJ01 transdaction?
Is there Any standard procedure to find out Idoc Mesage type and process codes for particular application?
Thanks.Hi,
All the sending and receiving programs(transaction) start with BD. e.g. if you want to send the material you can use the BD10 transaction and IDOC is available for the same.
Go to se93 and search for BD* and look for the description.
Regards,
Nilesh.
Maybe you are looking for
-
Dynamic VLAN assignments with ACS
Hello all. I am trying to do dynamic vlan assignments with dot1x auth. I am using ACS5.3 and Cisco 3560. I have configured them correctly to the best of my knowledge but it doesn't seem to be working correctly. aaa group server radius nac_serversser
-
Is it possible to edit stylesheets?
I would like to edit the stylesheets in the latest (September 2013) version of Pages for iOS. Is it possible in this latest version? I know the previous version did not support editing of stylesheets by the user.
-
Cracked screen on ipad2 need to get fixed cheap
i need to get my ipad screens fixed cheap where do i go
-
IPhoto Will Not Open - iMac G5 2.0 Ambient - Please Advise
My logic board failed on my iMac. Apple replaced it for free and also replaced the power supply. I picked up yesterday and everything seemed to be working fine. All my emails were there, desktop was fine, etc... This morning, I went to open iPhoto '0
-
Tax info. PLEASE HELP!!
I signed up as an individual for "standard developer program". But when i go to iTunes Connect to edit "Contact Info", it asks for company contact, like: Senior Management, Finance, Technical, Legal, Promotions. I'm not working for a company right no