Regarding transports document
Hi,
How are you ?. Can anyone send a document of transports at BI from Dev to quality instance, Quality to Prod
instance document of the flow of transports.
If anyone has this document, kindly share to me.
Thank you.
Hi,
Don't mix all obejcts in single request.
First Transport the Package then
1. InfoObejcts.
2. Cubes, DSO's
3.DataSources from ECC Dev to ECC Qty
4. DataSource Replication in BW Qty
5. InfoSources.
6.Transformations in between DataSource and InfoSource.
7.Transformations in between InfoSource and InfoCube/DSO.
8. DTP's & InfoPackages.
9. Multiproviders/InfoSets.
10. Reports.
See article:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b1d20e-c1e8-2c10-d9b9-d48eb3a83d89?quicklink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5023ba03-25af-2c10-6191-99480554d90e?quicklink=index&overridelayout=true
Search for "How to...Manage BW Transports " document, in SDN and google.
Thanks
Reddy
Edited by: Surendra Reddy on Mar 9, 2010 9:54 AM
Similar Messages
-
Terms of payment - Transportation document
Dear All,
We are using payment terms in our business scenario. Our payment terms will follow customer received for calculation of discount.
We are using Transportation documents for shipping the deliveries. Each transportation document will applicable to only one customer. If the customer is having more than one delivery, we are clubbing the all the deliveries and creating the transportation document.
After confirmation of the customer, forwarding agent will give the confirmation based on the transportation document.
How can I give the receiving date of the customer, for calculating the terms of Payment terms for each invoice.
Plz help me out
Regards,
Ramakrishnahello, friend.
well, there are a few ways to meet your requirement. you can try any of the following:
1. the system can take your invoice date as baseline for calculating payment terms; therefore, enter the customer acknowledgement date as your billing date when creating and saving billing documents.
2. you can also go for Proof-of-Delivery, which is similar but a little more complicated because you have to activate this on several levels (customer, item category, schedule lines, etc.); what this means is that you can bill a delivery only when you receive the customer's acknowledgement of receipt of delivery. to process POD, you can use VLPOD or VLPODL (you can use for parameters, the outbound delivery, delivery group, shipment number, etc.).
regards. -
Transport document attached to infoobject from development to qualification
Hi Experts,
I am facing issues with transporting document attached to one infoobject.
I tried to transport this by going into RSA1-documents-attributes and taking the logical and physical ID's. But it did not work.
I tried transnporting the table entries BDSCONT8 and BWCONTMAST, but of no use.
Could you please let me know the procedure to transport the document attached to the infoobject.
Could you please let me know how to check where these documents are stored. I have no Idea if these are stored in BDS.
Regards,
PurnimaUse program RSOD_CTO.
-
Hi -
Does anyone have any transporter documents for install/configuration/etc????
We are on 5.3.1 and we will be patching to the latest 5.3.1. build and I wanted to see what I needed to do w/transporter.
Also, if there are any steps as to what to do w/Transporter when we upgrade to 6.X from 5.3.1.
Thanks,
BillHi Keshav,
Yes, this problem is resolved except because i don´t know where i have to introduce the License Plate in the waste transporter (WAA19) in order to it appears in the WWI document.
I have anothe question to it in the Forum "Report Template with WWI: Waste Transporter: License Plate".
Can you help me?
thank you very much again. Marí -
REGARDING TRANSPORTATION OF OBJECTS
hello friends,
I NEED INFO REGARDING TRANSPORT INFO
first i transported the datasources from source system(dev) to source system(quality) and then i replicated them in to the bw(quality) system. after that i given the source system mappings in the bw(quality system) and then i started transporting the objects independently in the following manner.
transport connections:
collection mode: (start manual collection)
and then i collected all infoobjects and clicked on the gather dependent objects ( the option which is available for the start manual collection option in the collection mode tab) and then i set a package and then i transported . in the same manner i created transport requests seperately under the same package for the infosources , datatargets,update rules. and then i released the requests and in the quality system we successfully imported the objects(infoobj,infosources etc....). but one infoobject for example 'X' which is a dependent attribute for the another infoobject 'Y' is inactive in the quality system(bw). but X is active in the bw(dev) and when i imported the object it exists inn the bw(quality) but in inactive mode. because of this all the dependent objects like datatargets are not active. once again i released the infoobject 'X' [which is active in bw(dev)] seperately by creating a seperate request and then imported but still it is inactive. i tried several times but i am failed. shall i install that infoobject('X' infoobject ) from business content(in bw quality). if i do so does it effect all the imported objects. pls let me know.
thanks & regards,
harishdear bwer and anand raj and friends,
when i am trying to import '0crm_f_cust'(X) object i am getting the following error
Start of the after-import method for object type R3TR IOBJ (Activation Mode)
Error/warning in dict. activator, detailed log > Detail
Value table /BI0/SCRM_F_CUST is not active
Search help /BI0/OCRM_F_CUST is not active or does not have parameters
Enhancement category for table missing
Enhancement category for table missing
No active nametab exists for /BI0/SCRM_F_CUST
Termination due to inconsistencies
Table /BI0/SCRM_F_CUST (Statements could not be generated)
Flag: 'Incorrect enhancement category' could not be updated
Enhancement category for table missing
Table /BI0/SCRM_F_CUST is not a database table => not suitable as selection method
Row type /BI0/SCRM_F_CUST is not active or does not exist
Table /BI0/SCRM_F_CUST is either not active or inconsistent
Srch Help /BI0/OCRM_F_CUST could not be activated
Table /BI0/SCRM_F_CUST could not be activated
Table Type /BI0/WSCRM_F_CUST could not be activated
View /BI0/RCRM_F_CUST could not be activated
Domain /BI0/OCRM_F_CUST was activated (error in the dependencies)
Data Element /BI0/OICRM_F_CUST was activated (error in the dependencies)
Return code..............: 8
DDIC Object TABL /BI0/SCRM_F_CUST has not been activated
Error when activating InfoObject 0CRM_F_CUST
Start of the after-import method for object type R3TR IOBJ (Delete Mode)
Errors occurred during post-handling RS_AFTER_IMPORT for IOBJ L
RS_AFTER_IMPORT belongs to package RS
The errors affect the following components:
BW-WHM (Warehouse Management)
Post-import method RS_AFTER_IMPORT completed for IOBJ L, date and time: 20060620132453
pls let me know the solution.
regards,
harish -
Issue in WAD 7.0 regarding opening document from MIME repository
Hi Experts,
I am facing an issue in WAD 7.0 regarding opening document from MIME repository..
My requirement
I want to have a button , on clicking of this button one excel file ( already located at MIME Repository) should open in a new window.
To achieve the same, I have added one button. and also added one java script web item in my web template.
And as per my understanding, I need to write command/code in the script web item.
I have tried with several standard commands available, but not yet succeeded.
Please suggest the appropriate command or code , that I can put into the java script web item.
Also please provide me, if there is any other solution.
Thanks and Regards,I think you might be posted in the frong forum, what is WAD 7?
this forum is for WebIntelligence related questions, part of Business Objects software suite. -
Doubts : Regarding Transportation
Hi XI Gurus,
I want to know more about Transportation mechamism of XI.
As per my knowledge one is File system based(a lot of manual work ::( another one is CMS.
1. Pros and Cons of File System/CMS Transport ?
2. For Transporting IR and ID Objects above two mechamism is fine.But what about other objects used in a scenario :
a) ABAP objects created in Application System like RFC/Report/RFC Destinations.
b) Information of Business Systems/Tech Systems with SWCV in SLD ?
Regards,Transporting Objects
Hey
for FMS,suppose u have a BS called BS_File_IDOC_Dev which uses the IS of dev,now u create one more BS with the name BS_File_IDOC_Qa which uses the IS of QA,when u go in transport tab or BS_File_IDOC_dev u will find an option traget system,there u can give BS_File_IDOC_Qa,now when u move the objects from Dev to QA,u will automatically see the QA BS instead of Dev BS.this way u dont have to to change BS names manually in QA or Prd
For more infermation go thru these links:
using CMS system. in XI
1. /people/sap.india5/blog/2005/11/03/xi-software-logistics-1-sld-preparation
2. /people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
3. /people/sap.india5/blog/2005/11/28/xi-software-logistics-solution-iii-cms
4. /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi --> Overview of Transition from Dev to QA in XI
5. /people/sravya.talanki2/blog/2005/12/20/inconsistencies-while-transporting-rfc-objects-from-dev-to-qa-150-sp12
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e76e511-0d01-0010-5c9d-9f768d644808
http://help.sap.com/saphelp_nw2004s/helpdata/en/93/a3a74046033913e10000000a155106/content.htm --> Transporting XI Objects
http://help.sap.com/saphelp_nw04/helpdata/en/ef/a21e3e0987760be10000000a114084/content.htm --> Configuring Groups and Transport Targets
Look into this blog for how to export / improt IR and ID objects,
/people/sap.india5/blog/2005/11/09/xi-software-logistics-ii-overview
/people/sap.india5/blog/2005/11/03/xi-software-logistics-1-sld-preparation
Please go through these links which actualy show you how to configure CMS and also gives you all information regarding it.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/43f5d790-0201-0010-2984-ff72d822b109
http://help.sap.com/saphelp_nw04/helpdata/en/de/a4214174abef23e10000000a155106/content.htm
/people/daniel.wirbser/blog/2005/10/27/tcsfilecreateexception--error-while-assembly-of-software-components-in-nwdi
http://help.sap.com/saphelp_nw04/helpdata/en/f6/719a2172f74b67b150612a7cd3b7df/content.htm
http://www.sap-hefte.de/download/dateien/964/074_lesesprobe.pdf
I hope it helps...
reward points if helpful
regards
sreeni -
Query regarding transport request
Hey guys,
I have a question regarding transport requests.
If only the report source code is included in the transport request, the text elements of the program will not be transported to the next box?
when you transprot the main program or the function pool, does it follow that all the changes in FM's under the function pool will be transported to the next box?
Thanks a lot!
Rgds,
MarkHello,
If you create transport request with just the report, text element will not be transported:
LIMU REPS <Program>
For text element, you need the following transport entry:
LIMU REPT <Program>
If you want to transport both, you can have the following entry:
R3TR PROG <Program>
If you have the following transport, all the components of function pool will be transported.
R3TR FUGR <Function Group>
Thanks,
Venu -
WAD 7.0 issue regarding opening document from MIME repository
Hi Experts,
I am facing an issue in WAD 7.0 regarding opening document from MIME repository..
My requirement
I want to have a button , on clicking of this button one excel file ( already located at MIME Repository) should open in a new window.
To achieve the same, I have added one button. and also added one java script web item in my web template.
And as per my understanding, I need to write command/code in the script web item.
I have tried with several standard commands available, but not yet succeeded.
Please suggest the appropriate command or code , that I can put into the java script web item.
Also please provide me, if there is any other solution.
Thanks and Regards,
Biswarup GhoshYes I tried it at first with Script Item but it did not work. I am not sure how should I change the path because of the portal:
"/sap/bw/Mime/Customer/.../file.htm" - this path is not working anymore
Another option that you mentioned I do not want to use. I have about 20 different html files in MIME repository so I would have to create 20 different web application. I do not like this solution.
Regards
Erwin -
This is regarding appaisal document.
Hi
This question is regarding Appraisal document. On clicking a pushbutton in portal, a new outlook compose email should popup with Subject line and PDF attachment populated in the email fields. Once it gets popup with these things populated then the user can send it to who ever he wants by typing the recepient in the TO section of the email.
We were suggested to implement a BADI to this. The name of the defination is HRHAP00_LINK. There is a method called show_link. Inside this method we have pasted the below code.
METHOD if_ex_hrhap00_link~show_link.
DATA : lw_header_appraiser TYPE hap_s_header_appraiser,
lw_header_appraisee TYPE hap_s_header_appraisee,
lt_header_appraisee TYPE hap_t_header_appraisee,
lw_header_others TYPE hap_s_header_others.
DATA : name TYPE text40.
*Check if appraiser then only mail window gets trigger with icon.
READ TABLE t_header_appraiser INTO lw_header_appraiser INDEX 1.
IF sy-subrc = 0.
*To get appraisee name
CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'
EXPORTING
ADD_ON_APPLICATION =
MODE = ' '
UI_MODE = ' '
plan_version = plan_version
s_appraisal_id = s_appraisal_id
IMPORTING
t_header_appraisee = lt_header_appraisee
DATA : s_pdf_document TYPE hap_s_pdf_document,
pdf_xstring TYPE fpcontent,
t_output TYPE tsfixml,
output_length TYPE i,
pdf_content TYPE solix_tab,
lp_pdf_size TYPE so_obj_len,
document TYPE REF TO cl_document_bcs,
send_request TYPE REF TO cl_bcs.
S_RETURN TYPE BAL_S_MSG.
s_pdf_document-s_appraisal_id-appraisal_id = s_appraisal_id.
DATA: test TYPE REF TO cl_im_hrhap00_offline01.
CREATE OBJECT test.
CALL METHOD test->if_ex_hrhap00_offline~download
EXPORTING
flt_val = 'STANDARD'
s_pdf_document = s_pdf_document
IMPORTING
t_output = t_output
pdf_xstring = pdf_xstring
output_length = output_length
s_return = S_RETURN
IF sy-subrc = 0.
ENDIF.
send_request = cl_bcs=>create_persistent( ).
get PDF xstring and convert it to BCS format
lp_pdf_size = XSTRLEN( pdf_xstring ).
pdf_content = cl_document_bcs=>xstring_to_solix(
ip_xstring = pdf_xstring ).
document = cl_document_bcs=>create_document(
i_type = 'PDF'
i_hex = pdf_content
i_length = lp_pdf_size
i_subject = 'test created to send mail' ).
add document to send request
send_request->set_document( document ).
LOOP AT lt_header_appraisee INTO lw_header_appraisee.
name = lw_header_appraisee-name.
Function module to get a new outlook mail window
Attachment cannot be exported without path
CALL FUNCTION 'ZS_REFLEX_REVIEWER'
EXPORTING
appraisee_name = name
attachment = 'D:\Documents and Settings\id823291\Desktop\test.txt'. "c:\temp\test.txt' "c:\temp|test.txt is only for test
ENDLOOP.
ENDIF.
COMMIT WORK.
READ TABLE t_header_appraisee INTO lw_header_appraisee INDEX 1.
IF sy-subrc = 0.
EXIT.
ENDIF.
READ TABLE t_header_others INTO lw_header_others INDEX 1.
IF sy-subrc = 0.
EXIT.
ENDIF.
ENDMETHOD.
In the Z FM the code is as follows :
FUNCTION ZS_REFLEX_REVIEWER.
""Local Interface:
*" IMPORTING
*" VALUE(APPRAISEE_NAME) TYPE TEXT40
*" VALUE(ATTACHMENT) TYPE TEXT_72
INCLUDE : OLE2INCL.
DATA: OUT TYPE OLE2_OBJECT,
OUTMAIL TYPE OLE2_OBJECT,
DESTI TYPE OLE2_OBJECT,
ATT TYPE OLE2_OBJECT,
ATTS TYPE OLE2_OBJECT.
DATA : Name1 type text40,
Name2 type text40,
subject type string.
Name1 = 'Evaluation input requested for'.
Name2 = APPRAISEE_NAME.
Concatenate Name1 Name2 into subject separated by ' '.
CREATE OBJECT OUT 'Outlook.Application'.
CALL METHOD OF OUT 'CREATEITEM' = OUTMAIL EXPORTING #1 = 0.
SET PROPERTY OF OUTMAIL 'SUBJECT' = subject.
CALL METHOD OF OUTMAIL 'RECIPIENTS' = DESTI.
CALL METHOD OF OUTMAIL 'ATTACHMENTS' = ATTS.
CALL METHOD OF ATTS 'ADD' EXPORTING #1 = ATTACHMENT .
CALL METHOD OF OUTMAIL 'DISPLAY'.
free object out.
CLEAR : Name1,Name2,subject,APPRAISEE_NAME.
ENDFUNCTION.
Earlier we thought that the PDF would be stored in a link but now we are informed that it would be generated at Runtime.
Please let me know how to proceed.
Thanks
sandeepHi
This question is regarding Appraisal document. On clicking a pushbutton in portal, a new outlook compose email should popup with Subject line and PDF attachment populated in the email fields. Once it gets popup with these things populated then the user can send it to who ever he wants by typing the recepient in the TO section of the email.
We were suggested to implement a BADI to this. The name of the defination is HRHAP00_LINK. There is a method called show_link. Inside this method we have pasted the below code.
METHOD if_ex_hrhap00_link~show_link.
DATA : lw_header_appraiser TYPE hap_s_header_appraiser,
lw_header_appraisee TYPE hap_s_header_appraisee,
lt_header_appraisee TYPE hap_t_header_appraisee,
lw_header_others TYPE hap_s_header_others.
DATA : name TYPE text40.
*Check if appraiser then only mail window gets trigger with icon.
READ TABLE t_header_appraiser INTO lw_header_appraiser INDEX 1.
IF sy-subrc = 0.
*To get appraisee name
CALL FUNCTION 'HRHAP_DOCUMENT_GET_DETAIL'
EXPORTING
ADD_ON_APPLICATION =
MODE = ' '
UI_MODE = ' '
plan_version = plan_version
s_appraisal_id = s_appraisal_id
IMPORTING
t_header_appraisee = lt_header_appraisee
DATA : s_pdf_document TYPE hap_s_pdf_document,
pdf_xstring TYPE fpcontent,
t_output TYPE tsfixml,
output_length TYPE i,
pdf_content TYPE solix_tab,
lp_pdf_size TYPE so_obj_len,
document TYPE REF TO cl_document_bcs,
send_request TYPE REF TO cl_bcs.
S_RETURN TYPE BAL_S_MSG.
s_pdf_document-s_appraisal_id-appraisal_id = s_appraisal_id.
DATA: test TYPE REF TO cl_im_hrhap00_offline01.
CREATE OBJECT test.
CALL METHOD test->if_ex_hrhap00_offline~download
EXPORTING
flt_val = 'STANDARD'
s_pdf_document = s_pdf_document
IMPORTING
t_output = t_output
pdf_xstring = pdf_xstring
output_length = output_length
s_return = S_RETURN
IF sy-subrc = 0.
ENDIF.
send_request = cl_bcs=>create_persistent( ).
get PDF xstring and convert it to BCS format
lp_pdf_size = XSTRLEN( pdf_xstring ).
pdf_content = cl_document_bcs=>xstring_to_solix(
ip_xstring = pdf_xstring ).
document = cl_document_bcs=>create_document(
i_type = 'PDF'
i_hex = pdf_content
i_length = lp_pdf_size
i_subject = 'test created to send mail' ).
add document to send request
send_request->set_document( document ).
LOOP AT lt_header_appraisee INTO lw_header_appraisee.
name = lw_header_appraisee-name.
Function module to get a new outlook mail window
Attachment cannot be exported without path
CALL FUNCTION 'ZS_REFLEX_REVIEWER'
EXPORTING
appraisee_name = name
attachment = 'D:\Documents and Settings\id823291\Desktop\test.txt'. "c:\temp\test.txt' "c:\temp|test.txt is only for test
ENDLOOP.
ENDIF.
COMMIT WORK.
READ TABLE t_header_appraisee INTO lw_header_appraisee INDEX 1.
IF sy-subrc = 0.
EXIT.
ENDIF.
READ TABLE t_header_others INTO lw_header_others INDEX 1.
IF sy-subrc = 0.
EXIT.
ENDIF.
ENDMETHOD.
In the Z FM the code is as follows :
FUNCTION ZS_REFLEX_REVIEWER.
""Local Interface:
*" IMPORTING
*" VALUE(APPRAISEE_NAME) TYPE TEXT40
*" VALUE(ATTACHMENT) TYPE TEXT_72
INCLUDE : OLE2INCL.
DATA: OUT TYPE OLE2_OBJECT,
OUTMAIL TYPE OLE2_OBJECT,
DESTI TYPE OLE2_OBJECT,
ATT TYPE OLE2_OBJECT,
ATTS TYPE OLE2_OBJECT.
DATA : Name1 type text40,
Name2 type text40,
subject type string.
Name1 = 'Evaluation input requested for'.
Name2 = APPRAISEE_NAME.
Concatenate Name1 Name2 into subject separated by ' '.
CREATE OBJECT OUT 'Outlook.Application'.
CALL METHOD OF OUT 'CREATEITEM' = OUTMAIL EXPORTING #1 = 0.
SET PROPERTY OF OUTMAIL 'SUBJECT' = subject.
CALL METHOD OF OUTMAIL 'RECIPIENTS' = DESTI.
CALL METHOD OF OUTMAIL 'ATTACHMENTS' = ATTS.
CALL METHOD OF ATTS 'ADD' EXPORTING #1 = ATTACHMENT .
CALL METHOD OF OUTMAIL 'DISPLAY'.
free object out.
CLEAR : Name1,Name2,subject,APPRAISEE_NAME.
ENDFUNCTION.
Earlier we thought that the PDF would be stored in a link but now we are informed that it would be generated at Runtime.
Please let me know how to proceed.
Thanks
sandeep -
Transport documents - Many items in FI documents
Hi experts:
We are implementing transport management module but we have many items in FI documents. Then, we modify table TTYPV with the following entry:
MKPF BSEG PAOBJNR
Then, the FI line item deletes the paobjnr but we can't get to reduce the number of items.
Thanks in advance for your help.
Jose
Edited by: JosManuel Bas on Jul 25, 2011 3:49 PMWe are implementing Transport Management module. When posting transport expenses, FI document have many items and we need to reduce them.
At the moment, during transport expenses settlement, a FI document is posted with several transport expenses document (one FI document for each transport agency). Therefore, thousands of lines might be generated.
We have tried to customize table TTYPV to reduce line items in FI document by we haven´t get it. We had thouhgt that we could eliminate pa object in FI document (in a similar way when we have many items in invoices).
Best regards
Jose -
Transport documents with object
When I add a document to an object (i.e. process chain) then it appears that these documents are not transported from DEV to PRD. Is there a trick to transport documentation along with the objects?
Hi T. Jans-Beken,
documents attached to info provider, info object or queries can be transported via transport connection.
However, this function does not support documents like "document for navigation status" in web query -> so called "navigational state". It seems the document type in your case belongs to this as well.
You can try to transport these document manually:
A document has assigned to IDs, the locical and physical document ID (in RSA1 -> documents ->...right click on the document -> properties -> technical information..)
These numbers can be found in the table TADIR:
R3TR SBGL <LOIO ID>
R3TR SBGP <PHIO ID>
If you put this two objects on one request, the document should be transported to your target system.
Hope it helps!
Regards,
Lilly -
Regarding : Material document data and PO data do not match (Plant)
Hi Gurus,
Please go through this BAPI program.
While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
DATA: BEGIN OF it_itab OCCURS 100,
docdate(10),
postdate(10),
mvt_type(3), "Movement Type
plant(4), "Plant
lgort(4),
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
material(18), "Material Number
delnote(16),
erfmg(13),
uom(3),
lfmng(13), "Quantity
batch(10) TYPE c,
vfdat TYPE vfdat,
END OF it_itab.
DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01 INITIAL SIZE 100,
it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code INITIAL SIZE 100,
it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create INITIAL SIZE 100.
DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
DATA: w_mat_doc TYPE bapi2017_gm_head_ret-mat_doc,
w_year TYPE bapi2017_gm_head_ret-doc_year.
DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
INCLUDE STRUCTURE bapiret2.
DATA: END OF it_errmsg_goodsmvt.
DATA : obj_type LIKE bapiache09-obj_type,
obj_key LIKE bapiache09-obj_key,
obj_sys LIKE bapiache09-obj_sys.
DATA: v_date1 TYPE sy-datum.
DATA: v_date2 TYPE sy-datum.
DATA: w_lines TYPE i.
DATA: errflag.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
PARAMETERS: p_file TYPE rlgrap-filename.
SELECTION-SCREEN END OF BLOCK bk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Start-of-selection processing
START-OF-SELECTION.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
i_line_header = 'X'
i_tab_raw_data = i_excel
i_filename = p_file
TABLES
i_tab_converted_data = it_itab[]
EXCEPTIONS
conversion_failed = 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.
LOOP AT it_itab.
REFRESH it_goodsmvt_head.
REFRESH it_goodsmvt_item.
CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
wa_goodsmvt_head-pstng_date = v_date2.
wa_goodsmvt_head-doc_date = v_date1.
wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
wa_goodsmvt_head-pr_uname = sy-uname.
APPEND wa_goodsmvt_head TO it_goodsmvt_head.
Maintain it_goodsmvt_code
wa_goodsmvt_code-gm_code = '04'.
Maintain it_goodsmvt_item
*LOOP AT it_itab.
IF wa_goodsmvt_item-po_number IS INITIAL.
wa_goodsmvt_item-po_number = it_itab-pur_doc.
wa_goodsmvt_item-move_type = it_itab-mvt_type.
wa_goodsmvt_item-MOVE_PLANT = it_itab-plant.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = it_itab-material
IMPORTING
output = it_itab-material.
wa_goodsmvt_item-material = it_itab-material.
wa_goodsmvt_item-stge_loc = it_itab-lgort.
wa_goodsmvt_item-po_item = it_itab-po_item.
wa_goodsmvt_item-entry_qnt = it_itab-erfmg.
wa_goodsmvt_item-ENTRY_UOM_ISO = it_itab-uom.
wa_goodsmvt_item-po_pr_qnt = it_itab-lfmng.
wa_goodsmvt_item-batch = it_itab-batch.
wa_goodsmvt_item-expirydate = it_itab-vfdat.
wa_goodsmvt_item-NO_MORE_GR = 'X'.
wa_goodsmvt_item-mvt_ind = 'B'.
APPEND wa_goodsmvt_item TO it_goodsmvt_item.
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = wa_goodsmvt_head
goodsmvt_code = wa_goodsmvt_code
IMPORTING
materialdocument = w_mat_doc
TABLES
goodsmvt_item = it_goodsmvt_item
return = it_errmsg_goodsmvt.
Process of commit work
IF it_goodsmvt_head[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
ENDIF.
IF it_goodsmvt_item[] IS NOT INITIAL.
DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
IMPORTING
RETURN =
CLEAR errflag.
READ TABLE it_errmsg_goodsmvt INDEX 1.
IF it_errmsg_goodsmvt-type EQ 'E'.
WRITE:/'Error in function', it_errmsg_goodsmvt-message.
errflag = 'X'.
ELSE.
WRITE:/ it_errmsg_goodsmvt-message.
ENDIF.
IF errflag IS INITIAL.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
WRITE:/ 'Error in updating'.
EXIT.
ELSE.
WRITE:/ 'Material Document created successfully and the Document Number for the Material',
wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.Hey,
Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
Mine is solved....
Thanks -
Hi All,
We have created a Z Cube which is getting data from 0FI_GL_4 InfoSoucre. This is the common infosource for 0FIAP_O03, 0FIAR_O03, 0FITX_O03. All these cubes are having data in Prodution client. Now when I tested Data loading in Dev for my Z cube, I got error regarding alpha conversion. So I enabled alpha conversion in Transfer Rules and reloaded data. The data loaded perfectly. Now when i transported the model to production, my transport request failed. The reason is
(1)InfoObject 0REF_DOC_NO still used in ODS object 0FIAP_O03 (contains data), 0FIAR_O03, 0FITX_O03.
(2)Characteristic 0REF_DOC_NO cannot be activated.
One solution for it will be to delete data in those ODS in prod then transport the active version of InfoObject from Dev to Prod and then retransport my Zcube. But for this I have to delete data from production. Is there any work around for it?????
Regards
JayHi Jayanta,
Have you changed the conversion routine at the info-object level / you just activated the conversion routine in the IS? If it is only activated in IS level then you should not have received such error message. I am assuming you have changed the property of the info-object.
Can you use a different info-object instead ? If not then i don't really see there is any work around. It is generally a problem whenever there is a change in the conversion routine of the info-objects and transported to production that contains data without conversion.
You need to take a copy of the production data before deletion.
Thanks
Soumya -
Hi Guys,
Does any one has material or link regarding SAP Workflows ? please can you send the documents to the given mail id.
[email protected]
Points will be rewarded.
Thanks,
SachinHello
SAP workflow is basically used to define roles, tasks and responsibilities in an organization. you can go through the transaction pfac, pftc for roles and responsibilitues defininig and ppoc for definingand assigning roles to employees ni an organization.
. This becomes handy when a request has to pass through some approval then you can define workflow to route a request to various persons. In case an errorr occurs a workflow item is sent to responsibele person and to all persons who are identified for those roles. The flowflow items generated can be executed and you will know cause of errorr then remove it and start process again.
For SAP objects go to transaction SWO1 and give objects as IDOC, IDOCTYPE, IDOCPKT and you will see attributes, methods,events defines for all workflow objects. attributes represents properties, methods are actually code for processing the task and events are programs which are triggered in case when a error occurs in a workflow item.
Regards,
Amit
Please reward any help
For details refer to below
You can refer to the links
http://searchsap.techtarget.com/bestWebLinks/0,289521,sid21_tax283318,00.html
http://help.sap.com/saphelp_46c/helpdata/ru/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
Regards,
Amit
Please reward any help
Message was edited by: amit bhadauria
Maybe you are looking for
-
Loading this xml data into tables
Hello, I am having a problem loading this XML file into tables. The xml file structure is <FILE> <ACCESSION> some ids <INSTANCE> some data <VARIATION </VARIATION> <VARIATION> </VARIATION> variation gets repeated a number of times <ASSEMBLY> </ASSEMBL
-
Video displays a "Scrolling Torn Picture" every 15 - 20 seconds
On all downloaded TV shows or Movies, every 15 to 20 seconds the video (picture) does what I can only describe as a "scrolling rip or tear" in which the picture displays a line across the screen that separates the picture slightly and starts at the b
-
Reason code for short payment received from Customers
Hello We are on ECC 6.0 without application of any enhancement package. Requirement is to capture reasons of short payment received from customer and generate a report based on such reason codes. Reasons of short payment received could be - Adhoc pay
-
Hi, I have recently learned in great detail configuration of FI/CO in theory, now I want to learn in Practical unfortunately I donu2019t have access to SAP system, I managed to download SAP mini WAS and install it on my computer however this version
-
Hi Gurus, I need to compressed/zipped an email attachment. I have found class that can be used for my requirements. Can you help me on how to use this class CL_ABAP_ZIP. Email cant be processed in SOST due to a large email size. Your help is very muc