How to fill data in BusinessPartner - Role Employee - Tab Identification
Hi Experts!
My Program creates a new BP with BAPI_BUPA_CREATE_FROM_DATA.
After that I create the role 'employee' with BAPI_BUPA_ROLE_ADD_2.
In the role employee there is the tab 'Identification' with a block 'personal data' and 'employee data'
how the hell could I fill these two blocks with data (especially the block 'employee data')
thanks for your help in advance!
regards franz
Did you finally find out how to populate the additional enhance parametes of segment E1BPEXTC in the HR sending system?.
I would need to implement the same scenario.
Thanks in advance.
Similar Messages
-
IDOC: How to fill data for sub segments ?
Hi,
I have 3 segments, segA , segB , segA1 . segA1's parent segment is segA . segA and segB are at the same level .
How to fill data for segA1 ? can you give some sample code ?
Thanks a lot !hi,
You can fill the segment in the sequence in the idoc either parent or child.
In you case first fill parent segment SEGA next SEGA1. Then you can fill the SEGB.(If segB is deifned as next segment of segA in the idoc structre)
Thanks and regards,
shyla kumar -
How to fill data for asset accoutning datasources
hi gurus
i want to know how to fill data for the FI:asset accounting data sources.As these datasources are not related to Logistics,i think filling setuptables concept doesnot come into picture here.thenhoe to fill data for the datasources:0FI_AA_001,0FI_AA_005,0FI_AA_006
Pls give me some inputs ASAP
Its very Urgent
Thanks in Advance
Surya ReddyHi,
Asset Accounting works with Timestamp mechanism. No Setup table concept like logistics. Find the prerequisites for AA extraction.
For Asset Accounting Delta Extraction you first need to have this BADI - FIAA_BW_DELTA_UPDATE active in the system:
Check the link below for more details about the badi and the delta extraction procedure.
http://help.sap.com/saphelp_nw04/helpdata/en/a8/f4153c4eb5d82ce10000000a114084/frameset.htm
Sequence of Data Requests
For summarization of line items by master record characteristics (such as cost center) during posting of ODS objects to Info Cubes, master data must already exist prior to extraction of transaction data.
Also the following sequence must therefore be kept to during extraction:
1. 0FI_GL_4 General Ledger: line items (if required)
2. 0ASSET_ATTR_TEXT Asset sub number (flexible updating)
3. 0ASSET_AFAB Depreciation area real or derived
Then the transaction data
0FI_AA_11 FIAA: transactions and / or
0FI_AA_12 Posted depreciations (period values)
Hope it helps
Regards
Srikanth -
How to fill data in a table automatically
Hello Experts,
I would like to know if its possible to fill data in a table by looping.
I have the following table:
Draws(
NUM NUMBER,
START_DATE DATE NOT NULL,
END_DATE DATE NOT NULL,
ACTIVE CHAR(1 BYTE) DEFAULT 'Y')
Now my table should contain the foll:
Num start_date end_date active
1 23/01/2010 21:00:00 30/01/2010 19:00:00 Y
2 30/01/2010 21:00:00 06/02/2010 19:00:00 Y
I have an initial start date and the end_date is always (start_date + 7) and the next start date starts with the previous end_date but time changes from 19:00 to 21:00.
Is there a way i can enter those values on a weekly basis???
Thanks
Edited by: Kevin CK on Jul 5, 2010 3:07 AMthere are a number of ways to do weekly inserts. it just depends on your environment and what you want to manage.
1. write a PL/SQL procedure to do the periodic insert. i assume you know how to do this since you only asked about doing the insert weekly.
2. options for running the procedure weekly:
a. using your OS job scheduler, schedule a batch job to run a sql script to execute the procedure.
b. inside the Oracle database, use DBMS_SCHEDULER (or DBMS_JOB if you are on a version older than 10g) to run the procedure.
c. write yourself a reminder on a sticky note to run the procedure each week, post it on your computer, and run it manually.
if you need more details, just say so. -
How to fill data when call function of sap standard script form?
Hi every experts,
<Priority Normalized>
In our system, when we log in 'FR', we can print purchase order in language Franch,in t_code:ME22N. And when logging in 'EN', we can print it in language English, in ME22N. The English form is just only translated from Franch, with all same structure and frame. The form is done by script form.
And when logging in 'ZH', we create a new program, calling function smartform, instead of translating from EN language. Because of different structure and frame, I don't know the way to write script, so I print puchase order by smartform, when logging in 'ZH'.
But I have a new issue. Our MM module consultant needs me to print Chinese form if one condition, print English form in other condition.
So I have no idea to solve it. Because in my program, I get data to fill smartform and call function of smartform. And I don't know how to get data to fill script form. I only know the function name, 'OPEN_FORM' 'WRITE_FORM' 'CLOSE_FORM'.....
If I only call the several functions, I will get only frame without no data. So who can tell me how to do????
<Urgency downgraded>
Edited by: Suhas Saha on Jul 26, 2011 3:34 PM
Edited by: Vinod Kumar on Jul 26, 2011 4:09 PMHi,
Normally if we look in NACE transaction, you can see that upto five different FORMS can be assigned to a single output type . i.e. for each form there will be a seperate routine through which it gets called. But it all start from the first form only.
so you need to write your code in the ENTRY of the first form and if it does not satisfy do not go for processing of it but just exit of that form ENTRY. so that it will take you to next form.
hope this helps.
Thanks,
Venkatesh -
How to fill data in to extended idoc segments for outbound program
Hi all,
I am new to this Community In the extension of Standard idoc INVOIC02 with some custom segments like zemail, zfax,,,,how to fill the data into both standard segments and custom segments for outbound idoc using exit EXIT_SAPLVEDF_002 of standard function module IDOC_OUTPUT_INVOIC...
i need some sample code
THANKS
PAVAN KHi all,
I am new to this Community In the extension of Standard idoc INVOIC02 with some custom segments like zemail, zfax,,,,how to fill the data into both standard segments and custom segments for outbound idoc using exit EXIT_SAPLVEDF_002 of standard function module IDOC_OUTPUT_INVOIC...
i need some sample code
THANKS
PAVAN K -
Hi experts,
Could u please give some sample codes for filling data into idoc.Hi Nisha,
Go through this userdefined program u can understand .
*& Report ZBT_SEL_PROGRAM *
REPORT zbt_sel_program .
TABLES: mara.
Data declaration
*--Material number selection.
SELECT-OPTIONS: s_matnr FOR mara-matnr.
PARAMETERS:
*--Rec.Partner
p_rcvprn TYPE edi_rcvprn,
*--Message type
p_msgtyp TYPE edi_mestyp.
Internal table declaration
DATA:
*--MARA data
it_mara TYPE STANDARD TABLE OF mara WITH HEADER LINE,
*--To fill the segment Z1MARM
it_temp_mara TYPE STANDARD TABLE OF z1marm WITH HEADER LINE,
*--MAKT data
it_makt TYPE STANDARD TABLE OF makt WITH HEADER LINE,
*--To fill the segment E1MAKTM
it_temp_makt TYPE STANDARD TABLE OF e1maktm WITH HEADER LINE.
DATA: st_edidd TYPE STANDARD TABLE OF edidd WITH HEADER LINE,
st_comm_cont TYPE STANDARD TABLE OF edidc WITH HEADER LINE,
st_mast_cont TYPE edidc.
*--Fetch the data from MARA table
SELECT * FROM mara INTO TABLE it_mara WHERE matnr IN s_matnr.
IF sy-subrc = 0.
SORT it_mara.
ENDIF.
*--Fetch the data from MAKT table
IF NOT it_mara[] IS INITIAL.
SELECT * FROM makt INTO TABLE it_makt FOR ALL ENTRIES IN it_mara
WHERE matnr = it_mara-matnr.
IF sy-subrc = 0.
SORT it_makt.
ENDIF.
ENDIF.
*--Fill the iternal tables which is type the same of Segments
LOOP AT it_mara.
MOVE-CORRESPONDING it_mara TO it_temp_mara.
APPEND it_temp_mara.
CLEAR it_temp_mara.
ENDLOOP.
LOOP AT it_makt.
MOVE-CORRESPONDING it_makt TO it_temp_makt.
APPEND it_temp_makt.
CLEAR it_temp_makt.
ENDLOOP.
*--Fill the segments
LOOP AT it_temp_mara.
st_edidd-segnam = 'Z1MARM'.
st_edidd-sdata = it_temp_mara.
APPEND st_edidd.
CLEAR st_edidd.
ENDLOOP.
LOOP AT it_temp_makt.
st_edidd-segnam = 'E1MAKTM'.
st_edidd-sdata = it_temp_makt.
APPEND st_edidd.
CLEAR st_edidd.
ENDLOOP.
*--Fill Master IDOC
st_mast_cont-rcvprt = 'LS'.
st_mast_cont-rcvprn = p_rcvprn.
st_mast_cont-mestyp = p_msgtyp.
st_mast_cont-idoctp = 'ZMATMAS01'.
*--Create the communication IDOC by passsing master IDOC and control
information.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = st_mast_cont
OBJ_TYPE = ''
CHNUM = ''
TABLES
communication_idoc_control = st_comm_cont
master_idoc_data = st_edidd
EXCEPTIONS
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
OTHERS = 5
IF sy-subrc = 0.
*--Commit work
COMMIT WORK.
ENDIF.
*--Display IDOC Number.
LOOP AT st_comm_cont.
WRITE: 'IDOC Numbers:',st_comm_cont-docnum.
ENDLOOP.
Rewards some points.
Rgds,
P.Naganjana Reddy -
How to read data in CRM Activity relationship tab.
Hello friends,
I have a requirement to read data from CRM Activity relationship tab.
Mainly i have to read Transaction No/object refernced trans field of CRM Activity relationship tab.
Could anybody help me?
Thanks,
BunnyHi,
have you found in the meanwhile a good solution?
I have also a similar requirement.
At the moment I'm using the view CRMV_ACTFORGP to get the activities associated to a BP (by the way you have many filters that can be used) and then for each GUID (order guid - CRMD_ORDERADM_H-GUID) I call the fm BAPI_REL_GETRELATIONS to get the list of relationships.
Regards
Diego -
How to fill data in PDF form?
Hi All,
I have a pdf forms(about 100). Now I need to open that forms in the browser. User can fill that form and that data should be filled in the database/XML file. Then when user come again then that form details must be displayed in that form.
Please suggest me some path as I am totally blank about this concept.
Regards.Hi Leonard,
Thank you very much for the reply.Our users have only reader at their side. Can we set up any kind of software implementation at server side? Or with the use of the .NET(C#) ?
Can you please provide me some link to initiate this project? Actually I don't know how to start this.
Any help would be appreciated. -
How to fill date key figure with system date?
Dear All,
We would like to set on specific action (button press) to assign current system date top a date key figure within our infocube.
Any idea how to achieve this?many thanks in advance for any idea!
Kind Regards
Olivier DESFOURDear Khaja,
I'm not exactly using an update rule, i'm using Integrated Planning component.
Customer would like to set this key figure on user action; ie for example
user validate a step within planning process by pressing a button on workbook.
then system is stamping system date within cube.
Hope it helps
Kind regards
Olivier -
How to fill data to inputfield?
Hi,
I have 2 inputfield, which get from the dictionary at Graphical Screen Painter. eg. Name and Contact Number.
The Name have Search help function, which allow me to choose the value for the Name inputfield without manually input. I need to populate the contact number base on the value selected in the search help. How do i go about it?
Regards,
RaydenHi ..
Check this Code .. it should help.
Change the Same code as per Module pool.
***Function modules related to Search Helps In POV event..
F4IF_INT_TABLE_VALUE_REQUEST
F4IF_FIELD_VALUE_REQUEST
F4UT_PARAMETER_VALUE_GET
F4UT_PARAMETER_RESULTS_PUT
F4IF_SHLP_EXIT_EXAMPLE.
How to Generate F4 Help in Screens POV
REPORT zsel_f4help .
*---Report with selection screen and to display the list of
possible entries for field 'B' as per the value in field 'A'.
PARAMETERS: p_vbeln TYPE vbak-vbeln,
p_posnr TYPE vbap-posnr.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
DATA: BEGIN OF help_item OCCURS 0,
posnr TYPE vbap-posnr,
matnr TYPE vbap-matnr,
arktx TYPE vbap-arktx,
END OF help_item.
DATA: dynfields TYPE TABLE OF dynpread WITH HEADER LINE.
dynfields-fieldname = 'P_VBELN'.
APPEND dynfields.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-cprog
dynumb = sy-dynnr
translate_to_upper = 'X'
TABLES
dynpfields = dynfields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
OTHERS = 11.
**Find out the Value of P_VBELN
READ TABLE dynfields WITH KEY fieldname = 'P_VBELN'.
p_vbeln = dynfields-fieldvalue.
**Convert the Value into internal format
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = p_vbeln
IMPORTING
output = p_vbeln.
**Fetch the correponding itemnos from VBAP
SELECT posnr matnr arktx INTO TABLE help_item
FROM vbap
WHERE vbeln = p_vbeln.
**Generate the F4 help with internal table values
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'POSNR'
dynprofield = 'P_POSNR'
dynpprog = sy-cprog
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = help_item.
reward if Helpful. -
How to fill dates through a formular
Dear all,
I have created a Dashboard where the user is able to introduce 4 parameters:
-login
-password
-timestart (start, i.e: 00:00:00)
-timestop (stop, i.e: 12:00:00)
Through these parameters, a DDBB is loaded like this:
ActiveDocument.Sections["Query"].DataModel.Connection.Open(v_ddbb);
ActiveDocument.Sections["Query"].DataModel.Connection.Username = v_user;
ActiveDocument.Sections["Query"].DataModel.Connection.SetPassword(v_password);
ActiveDocument.Sections["Query"].Limits["Time"];.CustomValues.Add(v_timestart);
ActiveDocument.Sections["Query"].Limits["Time"];.CustomValues.Add(v_timestop);
ActiveDocument.Sections["Query"].Limits["Time"];.SelectedValues.AddAll();
ActiveDocument.Sections["Query"].DataModel.Connection.Connect();
ActiveDocument.Sections["Query"].Process();
ActiveDocument.Sections["Query"].DataModel.Connection.Disconnect();
After some tests, I have found out that in the Filter "Time" I have cumulated a lot of different values, as many as test I made. How could I delete the existing ones and then add the new ones [CustomValues.Add]?
Many thanks in advance.Hello,
Thank you for your help.
Unfortunately, it does not work properly because indeed your command instruction deletes my limits, but afterwards I am not able to add the new limit:
TLimit=ActiveDocument.Sections["Query"].Limits["timestamp"]
ActiveDocument.Sections["Query"].Limits.RemoveAll(); //your command
TLimit.CustomValues.Add(v_timestart);
TLimit.CustomValues.Add(v_timestop);
TLimit.SelectedValues.AddAll();
Thany you in advance!! -
How to fill data in reporting agent for alert
Dear friends
i use alert for MM module , i can set this query in reporting agent and also maintain variant for this query.
i can scheduling this alert. Scheduling is finished with no error but i am not geting any data.
using this variant i can run this query in rsrt and BX , it give some result.
so my que. is any other setting for alert or give me setp for creating alert.Palav,
Go thru the link for Broadcasting settings.
http://help.sap.com/saphelp_nw04/helpdata/en/aa/359840dfa5a160e10000000a1550b0/frameset.htm
Cheer's
HVR. -
How do I retrieve the Current Interactive Report Tab Identification
I have found the FLOWS_030100.Tables.WWV_FLOW_WORKSHEETS and related tables which contain the information relating to the Interactive reports.
I am writing a Procedure which need the 'Conditions' relating to a Saved Report tab of a Interactive report.
I am able to retrieve the some current info via 'Substitution Strings' like:
Flow_ID via APP_ID
Page_ID via APP_PAGE_ID
Session_ID via APP_SESSION
This info will get me to the WWV_FLOW_WORKSHEET_RPTS table which relates to the individual Saved Reports for a IR.
But if I have multiple Saved Reports on a single IR, I need to find the WWV_FLOW_WORKSHEET_RPTS.ID to be able to find the related rows on the WWV_FLOW_WORKSHEET_CONDITIONS table.
Is there a location where I can find the current IR information like the 'Substitution Strings' I listed above that will get me this info?
How would you attack this problem?
ThanksTrying to report off of an interactive report conditions reliably will lead you down a long road of frustration. Getting the current tab ID is not too tricky here is some JS to get you started:
function getCurTab() {
//alert('function called');
//Populate the array with all the page tags
var tabs = $x('apexir_REPORT_TABS').getElementsByTagName("span");
//Cycle through the tags using a for loop
for (i=0; i<tabs.length; i++) {
//alert(tabs.className);
//Pick out the tags with our class name
if (tabs[i].className=='current') {
//Manipulate this in whatever way you want
alert(tabs[i].id);
setTimeout("getCurTab()",5000);
getCurTab();
This is just a rough and dirty example. This could greatly be improved by using jQuery and an onclick event rather than the timeout. So dont use this in any sort of production environment.
Cheers,
Tyson Jouglet -
How to fill or bind data using Value Node in Tree Node
Hi Gurus,
Can anybody help me on how to fill data or bind data using Value Node in Tree Node View. I know how to create Tree Node but not able to show value on the UI in Tree View.
Can u please let if anybody has done it?
Thanks in advance.
Madhusudancontinued...
TRY.
lv_child = me->node_factory->get_proxy(
iv_bo = lv_value_node
iv_parent_proxy = me
iv_proxy_type = 'ZL_CLASS_CN02' ).
lv_child->is_leaf = 'X'.
APPEND lv_child TO rt_children.
CATCH cx_sy_move_cast_error cx_sy_ref_is_initial.
ENDTRY.
In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to build table and refresh in do-prepare_output of IMPL class.In the above code iv_bo , lv_value_node will be the actual object of the second node or leaf node here, which will have the same structure of parent node along with data. After/before this, you would need to buid table and refresh in do-prepare_output of IMPL class.
ztyped_context->resultlist->build_table( ).
IF ztyped_context->resultlist->node_tab IS INITIAL.
ztyped_context->resultlist->refresh( ).
ENDIF.
Also the EH_ONEXPAND has to be implemented and event handled in DO_HANDLE_EVENT. But this expand event has to be delegated to context node directly as CL_BSP_WD_CONTEXT_NODE_TREE will already have the implementation.
ztyped_context->resultlist->expand_node( lv_event->row_key ).
Where in result list is the node ZL_CLASS_CN00.
After typing the whole content , i found this blog :). There are few things i have written more that in the blog. /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
Regards,
Karthik
Maybe you are looking for
-
Safari crashes on open after installing 4shared desktop app
Safari crashes on open after installing the 4shared desktop app, i have included the error report in case anybody needs it!!!! Any help would be great5 as using chrome at the moment and want to go back to safari many thanks Process: Safari [3
-
Nested for loop in the collections
Hi Experts, collection1 ============ SELECT o.object_id BULK COLLECT INTO l_obj_info FROM (SELECT n.node_id, n.object_id FROM nodes n START WITH n.node_id = 100 CONNECT BY PRIOR n.node
-
Hi Experts, I am facing one problem.yesterday i take Full NT Backup at (OS LEVEL).it will be successfully completed. Then i start the production server .the sap is work in good condition. then start sap daily backup schedule.but
-
When is Patch for ADOBE DOCUMENT SERVICES 7.00 SP12 availaible
Hello, we want update netweaver2004s to SP12 (delayed at 21.05.2007), when is Patch for ADOBE DOCUMENT SERVICES 7.00 SP12 availaible? Best regards Oliver Prodinger
-
Is there a file conversion for CC2014 Indesign files to be read by CS6?
Is there a file conversion for CC2014 Indesign files to be read by CS6?