Customing employee data in emp related process overview - MSS
Hi Experts,
I have got a requirement to customise the employee data screen ( Eg : remove some of the fields and add few - screen shot attached) under MSS->Team->employee related process overview. The screen gets opened when you click the affected employee field. Please see the screen shot. Can you advise what is the best way to achieve this customisation.
Cheers,
Shyam
it's a WDABAP component. You can Right click on any field in that screen and click on More Help and then Technical details.
It will show the WD component details. In that you can do enhancement as per your requirement.
Below are the details of component details
Application:
ASR_PROCESSES_DISPLAY
Web Dynpro Component:
HRASR00_PROFILE_ADDRESS
Window Information:
ASR_PROFILE_ADDRESS3
View Information:
ADDRESS_SHOW_3
Similar Messages
-
Formula date variable ,which is processing by 'Customer exit' with ready in
Hi ,
I need to create 1 variable which takes date from user and do some calculation.irrespective of any date char.
so I have created Formula date variable ,which is processing by 'Customer exit' with ready input .
But when selection screen pop up date formula variable comes with the format yyyymmdd.
but i need dd.mm.yyyy. i have checked my profile and it is dd.mm.yyyy.
Waitin for replyHi Babu
Did you get the answer to the query....if yes please drop me a mail on this as I have the same requirement and thanks in advance...
my id [email protected]
REgards
Amit -
Runtime error in MSS - Team- General Information- Related links- Employee Dates
Hello All,
We recently upgrade from 7.01 to 7.31, we also updated the respective XSS components also to compatible levels. All applicatoins are coming up well except the Employee dates and Desciplinary actions based on related links under MSS ->Team->General Information.
Below is the error -
java.lang.ClassNotFoundException: com.sap.pcuigp.xssfpm.wd.interfaces.wdp.IExternalIVAC ------------------------- Loader Info ------------------------- ClassLoader name: [sap.com/mss~hras] Loader hash code: 5ed59f53 Living status: alive Direct parent loaders: [system:Frame] [interface:webservices] [interface:cross] [interface:security] [interface:transactionext] [library:webservices_lib] [library:opensql] [library:jms] [library:ejb20] [service:p4] [service:ejb] [service:servlet_jsp] [library:tc~bl~exception~lib] [library:tc~aii~base~offline~facade] [library:tc~cmi] [library:tc~ddic~runtime~facade] [library:tc~bl~logging~api] [sap.com/tc~wd~api] Resources: /Q1ETP001/usr/sap/QP4/J44/j2ee/cluster/apps/sap.com/mss~hras/servlet_jsp/webdynpro/resources/sap.com/mss~hras/root/WEB-INF/lib/sap.com~mss~hras.jar ---------------------------------------------------------------
Please note our ECC is on EHP4, so we cannot proceed as mentioned in http://scn.sap.com/thread/3415508
Thanks,
VamshiSame here: ClassNotFoundException in getting connection>>java.lang.ClassNotFoundException: com.sap.portals.jdbc.db2.DB2Driver Found…
cheers -
How to configure CVC automation process using SNP master data and BI customer master data
Hi Gurus,
How to configure CVC automation in MPOS structure technically, using SNP master data in CVC creation such as Product and location details
and in parallel extract date from ECC to BI customer master data in DP. Where-in a APO BI cube should have only new combinations which are to be validated with ECC and existing combinations in the MPOS structure before creation of CVC in different regions of MPOS.
Second the automation should also check certain validations of product, location and are part of SNP-ECC master data and are these new combinations.
Could someone guide us in this process.
Thanks
KumarPraveen,
The short answer is to move the data into infoproviders or flat files for all of the 'characteristic-type' source data; and then copy CVCs from the infoproviders into the Planning area, probably using one or more Process Chains (program /SAPAPO/TS_PLOB_MAINTAIN).
The long answer is that this is not a trivial undertaking; this could end up being a pretty involved solution. If you do not have enough BW/DP expertise available locally to create this solution for you, then I recommend you consider engaging external resources to assist you. I personally wouldn't even consider starting to work on such a solution without first knowing a lot more about the detailed business requirements, and about any existing solutions that may already in place. An SCN forum is not really suitable for such an answer. In my opinion, the BBP doc alone would be 20+ pages, assuming no enhancements..
Best Regards,
DB49 -
Is it possible to include t-code information in tx SM50 (Process Overview)?
Hello, folks!
I'm the Basis guy responsible for monitoring SAP system activities at the company I work for, and one of the main tools I use to do this task is transaction SM50 (Process Overview), which give us some valuable informations, but one very important and missing info is the transaction code that started the corresponding process, as transaction code is the most known form for both technical staff and end-users to determine what is being done in the system.
I asked our ABAP team to develop a custom ZSM50, but they're struggling to find a way to include this information, so we would like to ask for help, if any of you knows a way or a hint on how to do it, please inform us, and we would be very grateful.
Thanks in advance,
Reginaldo O. Andrade
SAP Basis SupportI don't think you can rely on a 1:1 relation from process to transaction code, the programs that you see active in SM50 could be started by background jobs, asynchronous RFC and probably many other techniques that would not allow a 1:1 relation to a transaction.
Not 100% reliable, so not really possible, in my opinion.
Thomas -
Demo - Extraction of Customer Master Data from SAP R/3 ECC6 to MDM5.5
Hello,
I am new to MDM . Would appreciate if someone can give a solution to the below request.
We are doing a demo project in our Company to extract all the master data related to SALES cycle. We are doing an extraction of Customer Master Data. Currently we have the unlicensed version of MDM and very soon we will get the licensed version.
We have the Customer Master Repository created in MDM Console. The IDOC type we are using is DEBMDM05.
Is there a easy way to map the fields of IDOC to the MDM Repository. Right now we are doing a manual process of comparing the IDOC fields and MDM Repo in an excel but this is tedious and time consuming.
Can anyone suggest an easier way to identify so that we know which fields match correctly.
Thanks
LeenaHi Leena,
First of all you have 2 options to generate IDOCs from SAP R/3 system
1.mdmgx>one IDoc per record
2.mdm_clnt_extr>for generating single IDoc having entire set of records.
Secondly,if you want to get the data mapped automatically,you should use standard maps provided by SAP(Business Content).
If at all you have created new fields then you should manually map those fields.
If any other queries pl ask
Reward points if found useful
Regards,
Pramod. -
Retrieving data from a relational table and CLOB as a whole XML file
I created the table lob_example and I have managed to insert XML document into it using XML SQL Utility. In this document I put contents of <DESCRIPTION> tag into CDATA section.
LOB_EXAMPLE
Name Null? Type
ID NOT NULL NUMBER
DESCRIPTION CLOB
NAME VARCHAR2(40)
But I could not retrieve this data properly. I can think of only one solution - to parse and build the whole XMLDocument. I found the suggestion of another solution to use Oracle8i views to do that in http://technet.oracle.com/tech/xml/infoocs/otnwp/about_oracle_xml_products.htm, but this text is not clear enough for me.
I would like to quote the fragment from document mentioned above, which is ambiguous for me:
"Combining XML Documents and Data Using Views
Finally, if you have a combination of structured and unstructured XML data, but still want to view and operate on it as a whole, you can use Oracle8i views. Views enable you to construct an object on the "fly" by combining XML data stored in a variety of ways. So, you can store structured data (such as employee data, customer data, and so on) in one location within object -relational tables, and store related unstructured data (such as descriptions and comments) within a CLOB. When you need to retrieve the data as a whole, you simply construct the structure from the various pieces of data with the use of type constructors in the view's select statement. The XML SQL Utility then enables retrieving the constructed data from the view as a single XML document."
The main question is - how to use type constructors in the view's select statement?Hello
Sorry for asking the same question again, but any responses would be greatly appreciated.
How to use type constructors in the view's select statement?
I could not find any answers for this question on Technet. Maybe the other approaches are more efficient to combine the part of data from CLOB with data from other column types?
Thank you -
XD01 assertion failed error while updating customer master data
Hi Guys,
This is an error when I use transaction XD01 to create customers accounts, If you have any ideas do let me and we'll try it....
The error does not let an BDC or LSMW progress as well. There are also no recent sap notes on the same.
The error is as follow
ASSERTION_FAILED
Short text
The ASSERT condition was violated.
What happened?
In the running application program, the ASSERT statement recognized a
situation that should not have occurred.
The runtime error was triggered for one of these reasons:
- For the checkpoint group specified with the ASSERT statement, the
activation mode is set to "abort".
- Via a system variant, the activation mode is globally set to "abort"
for checkpoint groups in this system.
- The activation mode is set to "abort" on program level.
- The ASSERT statement is not assigned to any checkpoint group.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
The following checkpoint group was used: "No checkpoint group specified"
If in the ASSERT statement the addition FIELDS was used, you can find
the content of the first 8 specified fields in the following overview:
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
" (not used) "
I have a company code CG01 with sales organization CTS0 and I want to transfer or extend all the customer master data to another company code CG03 with the sales organization CTS0
The things that I have tried and not work
using xd01, fd15, fd16, fd01, does not wok and gives the error as above
The things that I have tried and it works
Change the sales organization from CTS0 to CTS1 I am able to post the customer master data, using any of the above tcodes and it does not give any error, however the client wants to sales organization to remain CTS0
So please give me any ideas as per your experience as this transfer of master data has to happen by Monday, else I'll be fried by my boss
My number is 9820029197
Will also keep you'll posted on any developments on this case,
Ronan Pinto>
> Firstly I am from SAP FI, so totally new to SAP SD
>
Then you are best person to explain the reason on why the same sales organization, can't be assigned to different company codes. When a sales is done through one sales organization, then will the profit/loss be accounted in different company codes. Is it legally allowed in the country, where your customer is doing business? How you are going to develop the balance sheet? Again being the FI person, you are best judge to provide the details to your customer and not a SD guy.
>
> 1) How did the system not give an error while putting the data inside CG02 with sales organisaton same as CST0 same as in company code CG01.
>
I dont see any other method than removing the assignments in the backend and uploading the data. You can consult a Basis person to find the change logs for the assignment table. In my opinion, removing the sales organization from a company code assignment just for loading a customer master data and then reassigning to original sales org is a crooked method and/or not a professional method.
>
> 2) Since I have limited experience of SD, If I have to convince my client about the use of CTS1 sales organisation or a unique sales organisation against his argument that it worked for company code CG02, how should I do it.......
>
As explained above, how the sales will be accounted in different company codes (even if the system allows to assign the same sales org to different company codes)?
I would recommend you to post this question in FI forum (after closing here) to check what are the legal implications for this scenario.
Regards, -
Question about terms of payment of company code tab of customer master data
Hi:
As I know there are two places to be maintained terms of payment of customer master data, one is in billing documents of sales area data tab and I understood it will default to the one in sales order when you create, another is in company code tab and I don't know what does it be used for? Could you advise?Hi
Along with the payment terms, the reconciliation account number and the dunning procedure is set specifically for the customer to the particular company code.
This would be the default data for all transactions specific to the customer in specific company code.
If you extend the customer to another company code, you can have different recon, payment terms etc.
All FI transactions are relative to these settings.
In SD when you process, any changes to the particular customer can be modified and it will supercede the default settings of PT
Reg
Suresh -
Non-editable mode for customer master data in VA01 and VA02
Hi all,
User requirement is they don't want to give permission to change customer master data (payer & ship-to ). I didn't find any user exit to do screen non-editable.
Can any one help me in this..
Regards,
SudhakaraHi Sudhakar Reddy,
For this transaction code user exits available :
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly
V45L0001 SD component supplier processing (customer enhancements
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
For ur requirement whixh exit is suitable plz check it out. other wise put breakpoint for userexit and check it out.
Rewards somr points.
Rgds,
P.Nag -
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Employee_data
class Employee
public string ename { set; get; }
public string edpt { set; get; }
public int eno { set; get; }
class Program
int index = 0, menu;
Employee[] emps = new Employee[100];
public Program()
while (true)
Console.WriteLine("1.Add Employee");
Console.WriteLine("2.Delete Employee");
Console.WriteLine("3.Dispaly Employee");
Console.WriteLine("Enter your option:");
menu = Convert.ToInt32(Console.ReadLine());
switch (menu)
case 1:
Console.WriteLine("Add Employee");
Console.WriteLine("Enter Employee name:");
string ename = Console.ReadLine();
Console.WriteLine("Enter department name:");
string edpt = Console.ReadLine();
Console.WriteLine("Enter employee id:");
int eno = Convert.ToInt32(Console.ReadLine());
Employee e = new Employee();
e.ename = ename; e.edpt = edpt; e.eno = eno;
emps[index] = e;
int i = 1;
foreach (Employee e1 in emps)
if (e1 != null)
Console.WriteLine("----------------------------------");
Console.WriteLine("Sno: {0}", i); i++;
Console.WriteLine("Employee Name: {0}", e1.ename);
Console.WriteLine("Employee Department: {0}", e1.edpt);
Console.WriteLine("Employee Number: {0}", e1.eno);
Console.WriteLine("----------------------------------");
index++;
break;
case 2:
Console.WriteLine("Delete Employee");
break;
case 3:
Console.WriteLine("Display Employee");
foreach (Employee e1 in emps)
if (e1 != null)
Console.WriteLine("----------------------------------");
Console.WriteLine("Sno: {0}", i); i++;
Console.WriteLine("Employee Name: {0}", e1.ename);
Console.WriteLine("Employee Department: {0}", e1.edpt);
Console.WriteLine("Employee Number: {0}", e1.eno);
Console.WriteLine("----------------------------------");
index++;
break;
//default:
// Console.WriteLine("Exit");
// break;
public void addemply(string name, string dpt, int num)
//emps[0] = "kotesh";
//emps[1] = "IT";
//emps[2] = "31";
public void delemply(string name, string dpt, int num)
public void display()
static void Main(string[] args)
new Program();
Console.ReadLine();Hello,
Please do not post requirement as helping develop a function or an application, this forum is used to discuss and ask questions about the C# programming language, IDE, libraries, samples, and tools. You can attempt to do it yourself and if you meet some
question, you can post it to here.
For the requirement, it is beyond the scope of our support.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Z600 workstation missing pci data acquisition and signal processing controller driver
I just installed Win7 Pro x86 on my Z600 workstation. It was an upgrade from WinXP Pro. In Device Manager I am missing the driver for the PCI Data Acquisition and Signal Processing Controller and Hardlock USB 1.02. Can someone assist me in finding these drivers. I looked on the Support/Drivers page for this model but couldn't find anything.
This question was solved.
View Solution.Hi,
You might get better assistance on the HP Enterprise Business Forum since you have a professional worktsation.
HP DV9700, t9300, Nvidia 8600, 4GB, Crucial C300 128GB SSD
HP Photosmart Premium C309G, HP Photosmart 6520
HP Touchpad, HP Chromebook 11
Custom i7-4770k,Z-87, 8GB, Vertex 3 SSD, Samsung EVO SSD, Corsair HX650,GTX 760
Custom i7-4790k,Z-97, 16GB, Vertex 3 SSD, Plextor M.2 SSD, Samsung EVO SSD, Corsair HX650, GTX 660TI
Windows 7/8 UEFI/Legacy mode, MBR/GPT -
How can I custom my date in OBIEE.
How can I custom my date in OBIEE.I want to see date in my user friendly format for Date Format MM/DD/YYYY to filter with
leading zero(number) eg (01.21.2008) and not M/D/YYYY (1.21.2008) that i am seeing.I would appreciate it if you could give me a step by step process on how to do it in RPD.I know how to change the data format in my column propeties since i have more that 5000 columns that need changed.I am looking for a localised area
that can take care of business.
ThanksEdit the following parameters in OracleBI\web\config\localedefinitions.xml
- Search for the locale that you want to customize by looking for the tag *<localeDefinition name="en">*
- Customize the following tags as you require
<property name="dateShortFormat">MM/DD/YYYY</property>
<property name="dateLongFormat">dddd, MMMM dd, yyyy</property>
- Restart the presentation server -
Query in customer master data upload ....?
Hi Guru's,
I am uploading the customer master data from presentaion server to customer tables using functional module SD_CUSTOMER_MAINTAIN_ALL.
while check the Function module separatly and it working properley and i am able to ctere customer...
and i am using the same function module in the program i am unable to upload ..could please check and let me know where i am doing mistake in the below program logis..and values also moving properly before calling function module..while calling the functinal module the controle comming out of the loop and program went to dump i am able to see the message in dump as like this(it may helpfull for resolve):
Name of function module...............: "SD_CUSTOMER_MAINTAIN_ALL"
Name of formal parameter..............: "O_KNA1"
Technical type of actual parameter....: "C"
Technical length of actual parameter..: 20 bytes
Technical type of formal parameter....: "u"
Technical length of formal parameter..: 3634 bytes
Name of formal parameter at caller....: "O_KNA1"
*& Report ZERP_CUSTOMER_CREATE_UPLOAD
REPORT zerp_customer_create_upload.
PARAMETERS:p_files TYPE string.
*DATA :xkunnr(10) LIKE kna1-kunnr. "unique KUNNR
DATA: gs_i_kna1 TYPE kna1,
gs_i_knb1 TYPE knb1,
gs_i_knvv TYPE knvv,
gs_return TYPE bapireturn1,
gs_i_bapiaddr1 TYPE bapiaddr1,
gt_t_xknvi TYPE STANDARD TABLE OF fknvi,
gwa_t_xknvi TYPE fknvi,
gt_t_xknbk TYPE STANDARD TABLE OF fknbk,
gwa_t_xknbk TYPE fknbk,
gt_t_yknvp TYPE STANDARD TABLE OF fknvp,
gwa_t_xknvp TYPE fknvp.
TYPES:BEGIN OF gty_itab1,
abc(305),
END OF gty_itab1.
DATA: gt_itab1 TYPE STANDARD TABLE OF gty_itab1,
gwa_itab1 TYPE gty_itab1.
TYPES :BEGIN OF gty_itab2,
ktokd(4), "customer account grp kna1
kunnr(10), "customer kna1
name1(35), "name1 kna1
sortl(10), "sort filed kna1
stras(35), "house number and adres kna1
pstlz(10), "postal code kna1
ort01(35), "city kna1
land1(3), "country kna1
telf1(16), "tele phone no kna1
telfx(31), "fax num kna1
kukla(2), "cust classificaion kna1
bukrs(4), "company code knb1
akont(10), "reconcilation acct knb1
vkorg(4), "sales org knvv
vtweg(2), "distr chan knvv
spart(2), "division knvv
zterm(4), "terms of payment knvv
bzirk(6), "sales district knvv
vkbur(4), "sales office knvv
vkgrp(3), "sales grp knvv
kdgrp(2), "cust grp knvv
waers(5), "currency knvv
konda(2), "price grp knvv
kalks(1), "pricing procedure assign knvv
lprio(2), "delivery plant knvv
vsbed(2), "shipping conditions knvv
vwerk(4), "delivering plant knvv
inco1(3), "inco1 knvv
inco2(28), "inco2 knvv
kkber(4), "cred control area knvv
ktgrd(2), "acc assgn grp knvv
taxkd(1), "tax classification 4 cust knvi
bankn(18), "bank account number knbk -
xkunnr(10),
END OF gty_itab2.
DATA: gt_itab2 TYPE STANDARD TABLE OF gty_itab2,
gwa_itab2 TYPE gty_itab2.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_files
filetype = 'ASC'
TABLES
data_tab = gt_itab1
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT gt_itab1 INTO gwa_itab1.
gwa_itab2 = gwa_itab1-abc(305).
APPEND gwa_itab2 TO gt_itab2.
ENDLOOP.
LOOP AT gt_itab2 INTO gwa_itab2.
SPLIT gwa_itab2 AT ',' INTO gwa_itab2-ktokd
gwa_itab2-kunnr
gwa_itab2-name1 gwa_itab2-sortl
gwa_itab2-stras gwa_itab2-pstlz
gwa_itab2-ort01 gwa_itab2-land1
gwa_itab2-telf1 gwa_itab2-telfx
gwa_itab2-kukla gwa_itab2-bukrs
gwa_itab2-akont gwa_itab2-vkorg
gwa_itab2-vtweg gwa_itab2-spart
gwa_itab2-zterm gwa_itab2-bzirk
gwa_itab2-vkbur gwa_itab2-vkgrp
gwa_itab2-kdgrp gwa_itab2-waers
gwa_itab2-konda gwa_itab2-kalks
gwa_itab2-lprio gwa_itab2-vsbed
gwa_itab2-vwerk gwa_itab2-inco1
gwa_itab2-inco2 gwa_itab2-kkber
gwa_itab2-ktgrd
gwa_itab2-taxkd
gwa_itab2-bankn.
*moving files values from ITAB2 work area to global structure related to FM.
gs_i_kna1-ktokd = gwa_itab2-ktokd.
gs_i_kna1-kunnr = gwa_itab2-kunnr.
gs_i_kna1-name1 = gwa_itab2-name1.
gs_i_kna1-sortl = gwa_itab2-sortl.
gs_i_kna1-stras = gwa_itab2-stras.
gs_i_kna1-pstlz = gwa_itab2-pstlz.
gs_i_kna1-ort01 = gwa_itab2-ort01.
gs_i_kna1-regio = gwa_itab2-land1.
gs_i_kna1-telf1 = gwa_itab2-telf1.
gs_i_kna1-telfx = gwa_itab2-telfx.
gs_i_kna1-kukla = gwa_itab2-kukla.
gs_i_knb1-bukrs = gwa_itab2-bukrs.
gs_i_knb1-akont = gwa_itab2-akont.
*I FOR GOT TO INCLUDE THE ZTERM VALUE IN EXCELL SHEET SO INCLUDED HARD CODE HERE
gs_i_knb1-zterm = '0001'.
gs_i_knvv-vkorg = gwa_itab2-vkorg.
gs_i_knvv-vtweg = gwa_itab2-vtweg.
gs_i_knvv-spart = gwa_itab2-spart.
gs_i_knvv-zterm = gwa_itab2-zterm.
gs_i_knvv-bzirk = gwa_itab2-bzirk.
gs_i_knvv-vkbur = gwa_itab2-vkbur.
gs_i_knvv-vkgrp = gwa_itab2-vkgrp.
gs_i_knvv-kdgrp = gwa_itab2-kdgrp.
gs_i_knvv-waers = gwa_itab2-waers.
gs_i_knvv-konda = gwa_itab2-konda.
gs_i_knvv-kalks = gwa_itab2-kalks.
gs_i_knvv-lprio = '02'. "gwa_itab2-lprio.
gs_i_knvv-vsbed = gwa_itab2-vsbed.
gs_i_knvv-vwerk = gwa_itab2-vwerk.
gs_i_knvv-inco1 = gwa_itab2-inco1.
gs_i_knvv-inco2 = gwa_itab2-inco2.
gs_i_knvv-kkber = gwa_itab2-kkber.
gs_i_knvv-ktgrd = gwa_itab2-ktgrd.
gwa_t_xknvi-tatyp = 'UTXJ'. "HARD CODE
gwa_t_xknvi-aland = 'US'. "HARD CODED
gwa_t_xknvi-kz = '0'. "HADR CODE
gwa_t_xknvi-taxkd = '0'. "gwa_itab2-taxkd.
APPEND gwa_t_xknvi TO gt_t_xknvi.
gwa_t_xknbk-bankn = gwa_itab2-bankn.
APPEND gwa_t_xknbk TO gt_t_xknbk.
gs_i_knb1-lockb = 'X'.
gs_i_knvv-kzazu = 'X'.
gs_i_knvv-kztlf = 'X'.
gs_i_knvv-perfk = 'X'.
gs_i_knvv-prfre = 'X'.
gs_i_kna1-spras = 'EN'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = gs_i_kna1
i_knb1 = gs_i_knb1
i_knvv = gs_i_knvv
I_BAPIADDR1 =
I_BAPIADDR2 =
I_MAINTAIN_ADDRESS_BY_KNA1 = ' '
I_KNB1_REFERENCE = ' '
I_FORCE_EXTERNAL_NUMBER_RANGE = ' '
I_NO_BANK_MASTER_UPDATE = ' '
I_CUSTOMER_IS_CONSUMER = ' '
I_RAISE_NO_BTE = ' '
PI_POSTFLAG = ' '
PI_CAM_CHANGED = ' '
PI_ADD_ON_DATA =
I_FROM_CUSTOMERMASTER = ' '
IMPORTING
e_kunnr = xkunnr
o_kna1 = xkunnr
E_SD_CUST_1321_DONE =
TABLES
T_XKNAS =
t_xknbk = gt_t_xknbk
T_XKNB5 =
T_XKNEX =
T_XKNVA =
T_XKNVD =
t_xknvi = gt_t_xknvi
T_XKNVK =
T_XKNVL =
T_XKNVP =
T_XKNZA =
T_YKNAS =
T_YKNBK =
T_YKNB5 =
T_YKNEX =
T_YKNVA =
T_YKNVD =
T_YKNVI =
T_YKNVK =
T_YKNVL =
t_yknvp = gt_t_yknvp
T_YKNZA =
T_UPD_TXT =
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF sy-subrc EQ 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE: / 'Error Message:', 'error in creation'.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
WRITE: / 'costomer', gwa_itab2-kunnr, 'created'.
ENDIF.
ENDLOOP.please let me know if my qestion is not clear...
and please cinfirm me ..that can i use the function module (SD_CUSTOMER_MAINTAIN_ALL) instead of BAPI (BAPI_CUSTOMER_CREATEFROMDATA1) for uploading customer master data.
please respond me ASAP.
thanks in advance and will give full points
thanks®ards
Srinivas. -
Need to Create Customer Master Data under Multiple Sales Areas
Hi Gurus,
My requirement is to create a customer under multiple sales areas by processing the Inbound Idoc function module "IDOC_INPUT_DEBITOR"( After generating Outbound Idoc and outbound is processed successfully).
But, when I am trying to send the multiple sales areas information in segment "E1KNVVM". It is creating the customer under first sales area filled in first E1KNVVM segment and it is giving error that "Fill all required fields SAPMF02D 0111 ADDR1_DATA-NAME1" and it is not creating the customer under other sales areas.
Following are the details of the Outbound Idoc which I have processed.
Idoc Basic type : DEBMAS06
Message : DEBMAS
I have filled required fields in E1KNA1M and E1KNVVM segments. But filled E1KNVVM segments twice with different sales area data.
Please help in solving this problem?is it really just one IDOC?
I have never seen that SAP just does a part of one IDOC.
the structure of DEBMAS ist like this:
E1KNA1M
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNB1M
which means for your example it should be like this
E1KNA1M
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNVVM
E1KNVPM
E1KNVDM
E1KNVIM
--E1KNB1M
and in this case I am very certain that it would never just process and create the part for one sales area.
Maybe your customer already exists from ealier tests with just one sales area.
Display your IDOC in WE02 or WE05 and make sure you have a value in name1 field
Maybe you are looking for
-
Why won't my Lightroom 5.3 import files anymore?
I'm on a Mac with Lightroom 5.3 freshly installed. It worked neatly for a couple of days when importing either from my iPhone or my 6D (from the card reader). Suddenly it stopped doing that. I've been through all the discussions and I've tried the fo
-
I own InDesign CS5 (single product, not part of a suite) and I'm trying to upgrade to CS6, which I just bought. When prompted for the serial no. for CS5 the installer won't accept it; it says it is not a qualifying product. I have double-checked the
-
I have just set up a kodak 7.1 printer on our home wifi system, our Mac works fine but how do set up my iPad2 to print using the same wifi system, both the ipad @ printer are on the same system. Thanks for your help Judith
-
How to query ICP result in [Elimination] value ?
Dear experts, I want to create a form which can show an ICP transaction as below: ____________________________________SalesIC______CostIC_______PlugPL Entity A____Partner B___<Entity Currency>__500 Entity B____Partner A___<Entity Currency>___________
-
I've downloaded mozilla3.6, why don't i have the 'Awesome Bar' still?
i do not know how it all changed. usually when i log into Mozilla, my search engine would be Google with its signature 'Google' word image there. now it's just 2 'arrows' which i suppose links to 'dvdvideosoft.com'. I've never even heard of this site