BDC for customer data
Hi,
I am recording customer. I am going through shdb after entering all, finally in the contact person tab its throughing error like enter valid value. In the contact persong tab fields are fromof,name,firstname,telephone no,department,function and description.
what to do?
Regards
Srinu
see already crated screen.
example go to display mode . see default entries.
same value enter in newly created customer.
Similar Messages
-
Need help in BDC for Customer master change
I have an interface for Changing Customer master data and I am using BDC for that. I have three scenarios:
1. Insert new data.
2. Change the existing data.
3. Delete the existing data.
The BDC is working fine in the first two scenarios, but if i want to delete an the existing data, lets say for e.g. Name3 or Email Id its not working because i need to pass the value as blank in the BDC for this field.How would i check? i thought i would first get the existing value in customer master and check if the interface value is blank then make this field value to blank in BDC.
But this is not working because in case the interface wants to remove only the email id, the other fields would still be blank.
How to handle this scenario, please advice.What is the difference between 2 and 3? Isn't "deleting data" in your context the same as changing to a blank value?
Why can you not just fill the value as received in the input data into the BDC data?
Thomas -
I18n for custom date format strings
I want to internationalize dates shorter than DateFormat.SHORT, in the form "M/d". For example, when the Locale is US, January 16 should display as 1/16, but if the Locale is MX (Mexico), it should display as 16/1.
It seems like a very simple problem date formatting problem, but it doesn't look like the DateFormat/SimpleDateFormat classes have any way of doing this. Am I missing something?
--StevenYou need to apply your own customized date pattern to get the formats you want. I suggest you put the patterns in resource bundles...the default pattern in your default bundle, and the Mexican pattern in your bundle for Mexico. Then do something like this:
<pre>
<code>
String newPattern = "M/d"; // retrieve from bundle instead
Date today = new Date();
DateFormat df = DateFormat.getInstance();
SimpleDateFormat simpleFormat = (SimpleDateFormat)df;
simpleFormat.applyPattern(newPattern);
System.out.println(df.format(today);
</code>
</pre> -
Bdc for ip01, data upload in table control
I was working on a bdc for ip01 . there is a table control - whose 5 rows are visible and I need to fill data upto 6 row . 6th row get filled by scrolling . will scrolling get captured in recording . whether this is possible or not sir . If yes then how?
Sir please help me.
With regards,Hi
Scrolling does not get recorded while recording. You can achieve it by having ok_code to p+ or p++.
Refer the following link for detailed description.
http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ#BatchInputFAQ-Howtoscrollatablecontrol%3F
Hope this helps you.
Regards
Vinodh -
BAPI /BDC for contract data VA41
hi all,
We have a requirement. We have Contract data in legacy system, and need to migrate that into SAP (VA41). Should i use BAPI or BDC for this.
If i have to use BAPI, Please let me know the BAPI name.
Regards,
KavithaHi Kavitha,
May be this thread provides you some help.
Have a look.
Link:[Thread|Re: Creating Contracts using BAPI_CONTRACT_CREATEFROMDATA;
Have a best day ahead. -
BADI to validate data input for custom data model.
Hi,
I have a custom data model which has Material as the key field. When the user enters the Material number and clicks on CONTINUE, he is taken to the second screen where he has to enter data and description of the change request (the standard familiar screen). Now when the user fills the data and submits the record I need to do data validation and throw an error accordingly, Can anyone please help me out with the BADI or a solution to achieve this result.
Any kind of help would be sincerely appreciated.
Regards,
Tushar.Hello Tushar
Path is - General Settings - Business Add-Ins- BADI - Define Validation / Enrichment - You can check all the relevant BADI's here. Click on display and then you have filter option. Add your data model in filter. This is useful for Finance. You have check for MM.
Kiran -
BDC for Uploading data from XL sheet with unknown order of fields
Hi SAP Gurus,
My requirement is as follows,
A BDC is to be developed for uploading data from an XL sheet, but the problem here is , the order of fileds in the sheet can be changed .
ie, for example the fields in the XL sheet are :-
matnr maktx menge amount
but the user can give as
matnr amount menge maktx
or
maktx matnr amount menge
how i can solve this problem.
Thanks and Regards,
pavan.Hi Pavan,
You need to handle it by your self, you can create a dynamic table based on the file value.
The field name pass from file with the record as a header, and based on the header name create your dynamic table.
afterward you can pass your value to BDC.
for creating dynamic table you can use this method
call method cl_alv_table_create=>create_dynamic_table
exporting
i_style_table =
it_fieldcatalog = it_field[]
i_length_in_byte =
importing
ep_table = dyn_tab
e_style_fname =
exceptions
generate_subpool_dir_full = 1
others = 2
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
-Dhirendra -
Function module Vs BDC for master data upload
Hi ,
Please advice we should use the following function modules for master data upload or we should go for BDC.
MP_RFC_SINGLE_CREATE
MP_RFC_INACT_CHANGE
MPLAN_CREATE
MPLAN_CHANGE
MPLAN_SET_DELETION_INDICATOR
ASSET_MASTERRECORD_MAINTENANCE
MPLAN_ITEM_CREATE
MPLAN_ITEM_CHANGE
GL_ACCT_MASTER_SAVE
GL_ACCT_MASTER_SAVE
GL_ACCT_MASTER_SAVE
Actually, we have already used these function modules in our upload program, but we are not sure if these function modules will create any data inconsistency.
Please let me know, if we should continue using the FMs, or there is any risk using the FMs and we should replace them by BDC.
Thanks in advance.HI Vikram,
Better to serch for the BAPI for uploading the master data.Becuase we have problems with BDC and FM's.
If you use FM's it does n't contain all the fields which you want.IF you go for BDC this is not maintainable for future releaseas.IF you upgrade then screen may change.
IF don' have any BAPI then better go for BDC.
Thanks -
IW38 Traffic Light for Custom Date field
Hi Experts,
I am trying use the Reference Field for Monitor. It has got 1. Priority, 2. Order/Start/End, 3. Scheduled Start/End.
We have created a custom date field as Original start/Finish dates. I want to create traffic light based on this date.
Can you please help me where and how to do this configuration. I have already searched the forum. But no help found.
Thanks,
PanneerPanneer,
You can use Enhancement Spot ES_EAM_LIST_ENHANCEMENTS for this purpose (see SE18)
PeteA -
Data element creation for custom 'data element orgchart'
Hi all,
I'd like to create my own Data element orgchart, using self-developed functional modules to achieve more flexibility in outputting data. Is any recommendations or examples for in-out interface of such modules?
Regards,
Sergey AksenovHi Sergey,
What are you trying to achieve here? It sounds like you want to create new structures or use FMs to replace the data retrieval for the existing structures. This cannot be done in OrgChart, at least not through the AdminConsole.
The structure is called in one call, as well as the data in the nodes. However, for each data source (e.g. NakisaRFC) used in a node there will be a call. For example, if you show position data from HRP1000 and employee data from PA0001 in a node then there will be 2 calls (which calls the data for all nodes at once). You can use an FM to do one call, but this would be in the view and not in the structure. The details panel makes multiple calls to retrieve data, so you can write an FM to call all data in one call rather than many.
You should refer to page 58 of the OrgChart Admin Guide for more information on custom RFCs.
Best regards,
Luke -
Search Term 2 missing in BDC for customer Master
Hi,
Iam creating a BDC program for Uploading Customer Master Data.
While Recording, i found that Search Term 2 (Search Term B) is missing.
I am trying to record using tcode FD01.
Thanks
KunaHi Kuna,
you must missed search term 2 mapping with screen field. either wrong mapping. Check your program and screen field, screen val also your internal table. If u have problem then paste ur program.
Regds,
Rakesh -
Search Help for custom data element
Hi experts,
I have a small question regarding accessing data on different clients.
Can I have an abap program where I can make reference to data /tables in different client AAA, assuming the system (AAA) with data is logically connected to the client that has the ABAP Program ?
thanks,
RajeshThanks Ankur and Rich,
I would like to clarify your responses.
I have a custom field my material in SAP xRPM system( different client from R/3). As per your previous replies, I understand it is possible to have search help for material in xRPM and validate the data with material in R/3. Is this correct? Do I need to maintain all the data in the xRPM ?
thanks again,
Rajesh -
Interfacing application with SAP for Customer data
Hello,
I would like to build an interface between an external application and SAP for the customers. The Customer will be created and maintained in the external application and data should be updated in SAP automatically.
I thought that I could use the idoc debmas but I am facing to issues :
- Debmas doesn't update the data ( I have to fill again all the data to update the customer unless all the other data is cleared)
- Debmas doesn't contains address data
Is there any other way to build this kind of interface ? I would like to avoid specific programs.
Thank you,Hi,
Have you ever considered Direct Input method to upload your customer master records?
RFBIDE00 is the standard sap program to upload.
You can use LSMW to avaoid coding.
Alternatively, you can extend the DEBMAS idoc to make it work the way you want to work.
Regards,
Ravi Kanth Talagana -
BDC for appending data for t-code FK02
Hi,
I want to append data for t-code FK02 through BDC.
Like if for particular lifnr and bukrs, there is existing 2 line items
then my BDC should starting appending data from 3rd line item.
Thanksfirst u count line item
select count(*) into cnt
from LFBW as a
where a~lifnr = itab-lifnr
and a~bukrs = itab-bukrs.
then put logic for
if cnt > '06'.
tme = cnt / 6.
cnt = cnt mod 6.
do tme times.
perform bdc_dynpro using 'SAPMF02K' '0610'.
perform bdc_field using 'BDC_CURSOR' 'LFBW-QSREC(01)'.
perform bdc_field using 'BDC_OKCODE' 'P+'.
enddo.
endif. -
Error "Unable to interpret '\' as number" whe run a BDC for integer data
Dear All,
I am trying for the BDC of the user define table and have to upload data but the system is giving error for the field whose domain i have made as QUAN Error is : "Unable to interpret '\' as number".
Please clarify the situation and solution for the problem
Regards,
vishal.Hi Vishal,
Check whether '\' is getting populated in any of the field on the screen in which it is giving an error. I think it is not because of your QUAN field. The error may be in some other field on the same screen.
Regards,
Swapna.
Maybe you are looking for
-
How to get my contacts from ipad to iphone? (I don't want any contacts to come from my PC via icloud, only from the ipad.)
-
No Digital Output available in Playback devices (USB audio device)
If one has USB audio device with coax/toslink out, with proper drivers (like ie TurtleBeach Micro Advantage) available & installed then Digital Output is available to select in Playback devices. (and one can play AC3/DTS to external amplifier with ie
-
Hi All Our current scenario bank statement gendered each and every day and we are uploading the bank statement with same format by using transaction code FF.5 . We are trying to upload the bank statement on weekly basis with same format and same bank
-
MacBook Pro DVD/CD not engaging
My 15 inch MacBook Pro will not play DVD's or CD. There are no errors - the discs are not engaging and just ejecting. I have tried several store bought DVDs and CD's. My Apple Care just expired earlier this month. Thanks for any advice!
-
Table name change in procedure dynamically
create table tab1(x number); create table dynamic_table (x number); insert into tab1 values (1); insert into dynamic_table values (1); commit; create procedure proc1 is v_x number; begin execute immediate 'create table mytab as select tab1.* from tab