Issue with Idoc for creating purchasing contracts
Hello everyone,
I'm trying to create purchasing contracts using Idoc BLAORD3 through LSMW.
But i have a problem : all informations concerning account assignement are missing on this Idoc.
Does anyone know how to solve this problem? Maybe is there a BAPI which could replace my Idoc? Or is there another Idoc which could create account assignement seperatly?
Thanks in advance for your help.
Cédric
Hi,
Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
Cheers,
Similar Messages
-
Issue with Idoc when creating invoice taking wrong payment term
Hi All,
My Requirement is invoices created through B2B interface should hold the payment term of purchasing party instead of invoicing party
400021 is Invoicing party having payment term 2000 i.e. 20 days
414478 is the Purchasing party having the payment term 1000 ie 10 days
So invoice should hold the payment term 10 days instead of 20 days
I have an IDOC which is creating Invoice, I am trying to reprocess the IDOC to see the issue but could not able to achieve the solution.
Please help me out which approach should i follow to achieve the solution of this issue.
Thanks,
VBHi,
Try using E1EDK18 segment. Put "Number of days" ,Qualifier and check if this achievs the desired result or not? If yes then you have to use an user exit to put the number of days in the IDOC.
Cheers, -
Issues with nested for loops - saving images from a camera
Hi all,
I've written a vi. to capture a specific number of images ('Image No') and save these images, outputted to a folder of my choice. Each image is identified sequentially. However, I wish to do a number of iterations ('Run') of this capture sequence, such that the filename of each image would be 'Filename (Run)_(Image No).png', e.g. run 5, image 10 would be 'Filename 5_10.png'. I have tried a nested for loop for this but I receive an error 'Asynchronous I/O operation in progress' (I've attached a printscreen).
Can anyone assist me in solving this problem? I preiously posted this in machine Vision but got no response (http://forums.ni.com/t5/Machine-Vision/Capturing-image-sequences-issues-with-nested-for-loops/m-p/19...). Please find attached my vi.
Kindest regards and thanks,
Miika
Solved!
Go to Solution.
Attachments:
Labview problem.jpg 3841 KB
Image sequence save to file.vi 48 KBMiika,
the problem is not the filenam, but the name of the folder (AHHHHH!). You try to create the same folder in the outer for loop over and over again.... (it is the error message above the '======', not below )
Norbert
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it. -
BAPI for Release Purchase Contracts
Hi Experts,
I have an ECC with a Workflow for approve Purchase Contracts, ok!!
I have too an External Program for approve this contracts, but I don´t know a BAPI or FM for export this requisitions to the External Program.
I know that for PO and PR exist BAPI's, but I did not found for the aprove Purchase Contracts.
Could you help me?
Regards,
Ariel Prebianca
Edited by: Rob Burbank on Sep 16, 2010 2:22 PM
Edited by: Ariel Prebianca on Sep 16, 2010 10:38 PMHi
The BAPI which you found for purchase orders works for Purchasing contracts also.
Please test.
Regards
Sachin -
Create Purchasing Contracts on SAP SRM system
Hi all,
I need to know how can I create purchasing contracts on SRM system: I must do it only through web portal or can I create them through SRM Transactions? What are the transactions which allow me to do this?
Thanks in advance, best regards,
MariaHi Maria,
In addition to what Masa has replied, the system does not allow the transaction to be processed in GUI once it is classified as Easy web transaction.
BBP_CTR_MAIN is the transaction for Processing contracts. You can maintain the transaction using SE93 txn code.
If you click on display button you can see that the transaction is classified as Easy web transaction by activating the radio button.Once this setting is deactivated the transaction can be processed in GUI.
You can test the transaction by clicking on the Test icon on the menu bar.
Hope this makes you more clear.
Award points for helpful answers.
Rgds,
Teja -
LSMW with Idocs directly created
Hello,
I'm using the LSMW with Idocs for the migration of business partners in CRM.
During the step "convert data" I have the choise to create the Idocs directly (without creating the file first).
Some days ago everything was well working. But without knowing what I've changed in LSMW, this is no longer possible.
I get the same screen as when I want to create a file ".conv", but the name of "converted file" is not named. Instead there is a message "no directly creation of Idoc"
What do I do wrong? What do I have to change?
Thanks in advance!
Nicoleyou have to always convert the data after reading the data.
please check in the specify files section you have given the file name for the converted data in the application server.
you will not get the option to create idocs directly in the convert data step.
please let me know if you any more details.
regards
vivek
reward points for all the useful answers -
I need output type NEU automaticaly for create purchase order document type
Dear Experts,
I need output type NEU automaticaly for create purchase order document type NB
when transaction code MN04, I am doing the following:
(1) I selected the third option Purchasing Output determination: Document type
(2) I selected the output type NEU.
(3) In condition records in document type , i have chosen NB.
(4) In name its automatically coming as Purchase requisition
Please suggest how Purchase Order NB will comeHi,
Check & press F4, NB Purchase Order (for catagory F) will be there after entering PO output type NEU & then maintaion the condition record in MN04.
Output type NEU automaticaly defaulted during purchase order creation with document type ,then just fine tune the output (message) type in following path:
SPRO--->MM->Purchasing>Message>Output control->Message types> Define message type for Purchase Order----->Fine-Tuned Control: Purchase Order
Now here select the check box corresponding to your output(message) type NEU to have print output automatically displayed & save.
Now try to creating Purchase Order & you will have default message type NEU.
Regards,
Biju K -
Photoshop batch production - issues with 'save for web'
Hi,
I'm having an issue with 'save for web' on a batch. I've just spent the last 2 hours searching the web and this forum and although the issue gets touched upon, the threads either suddenly head off in another direction, end, or i just struggle to make sense of the answers given.
I have 350 images that i want to resize to thumbnails and then save for web. 2 hours ago this seemed like a 5 minute job.
I creat an action called 'batch_thumbnail' and press 'Record'.
I then select 'File' > 'Open' and select an image to open using the dialog box.
I then select 'Image' > 'Image Size' and resize the image to the thumbnail size (200 x 125) and press 'OK'.
I then select 'File' > 'Save for Web and Devices', set my optimisation settings and press 'save'.
Using the dialog box that pops up, i navigate to a pre-created directory called 'thumbs' and press 'save'.
I then select 'File' > 'Close' and on the dialog box that pops up i select 'Don't Save'.
I then stop the action from recording.
So far so good.
I then select 'File' > 'Automate' > 'Batch...' and the dialog box appears.
I select my action in the 'Action' drop down menu.
In 'Source' i set the drop down menu to 'Folder', select 'Choose' and select the target directory with my 350 images in.
In 'Destination' i set the drop down menu to 'Folder', select 'Choose' and select the target directory (thumbs), where i wish to save the thumbs.
In 'File Naming' i leave the first box as 'document name', set the second to '_thumb' and have the third as 'extension'.
I then click 'OK'.
And this is where the problem begins. Everything works fine till it trys to save the second image. I can see what's happening, as the directory path and image name that are used whilst setting up the SFW part of the action, are getting hardcoded into the action. So every resulting image is being saved as the same file, instead of being overriden by the settings in 'File Naming'.
I've tried selecting 'Override action 'Save' command', but it doesn't make any difference. Is it actually possible to batch produce files using 'Save for Web and Devices'?
Cheers,
JamesI have written a couple of Save For Web batch processors, they may be of use to you?
They can both resize and run an action if required.
CS2-CS3 http://www.ps-scripts.com/bb/viewtopic.php?t=2374
CS4 http://www.ps-scripts.com/bb/viewtopic.php?t=2276 (This handles metadata) -
Issue with authorizations for BPS
Hi Experts,
There was an issue with authorizations for BPS. We have a large number of agents that need to enter plan data via a layout. In order to control the necessary authorizations, we would like to filter via something similar to a user exit using a function module in order to avoid having to define authorization objects for each of the agents who have access to the systems. Right now, we are not sure if there is user exit concept available as it is for BW variables. Any body experienced similar issue may share their experience.
Regards,
AnkitHi,
In BPS, you can use user specific variables or you can set up a Variable of type exit. You can also have a variable of type authorization which uses the security / authorization of the BW system.
Hope it helps...
Cheers,
Tanish -
Search user-exit for create purchase order
Hi all,
i'm searching the user-exit (or BADI) for create purchase order.
Thanks for help.Hi CECG,
GOTO SMOD and press F4
then Click on Information system
and in the Package name give as ME
and press enter.
you will get all user exits for Purchase Orders
Hope this solves your problem.
Please reward points if found helpful.
Thanks and regards,
Rajeshwar. -
Program for Creating Purchase Order with reference to purchase requisition
Hi ,
I need to Create purchase Order with reference to Purchase requisition,
in my case i need to automize the Process which is happening in MD04,
Can you please suggest me ?
Thanks ,
MuraliHi,
Plz check this link. It will be helpful to you.
Purchase order creation with reference to PR
We can also create the PO Using the BAPI_PO_CREATE1 function module.
In this function module fill up the all necessary Details.
With details in Item Table we haveto give the Fields PREQ_NO and PREQ_ITEM for each item .
then it will creates the PO with PREQ.
Thanks & Regards,
Sarita Singh Rathour
Edited by: Sarita Rathour on Aug 3, 2009 7:01 AM -
Hi,
I have an idoc for which the edids-STATXT CA '&',but the edids-stamno is 0.
my intention is to get the description i.e edids-statxt
so for few idoc i have edids-staxt = &&&&but since the stamno is 0, i am getting an error from
FM MESSAGE_PREPARE SAYING MESSAGE 000 IS NOT DEFINED IN LANG EN AND WA.
loop at itab.
SELECT SINGLE * FROM EDIDS INTO WA_EDIDS WHERE DOCNUM = ITAB-IDOC
AND COUNTR = ITAB-STATUS_COUNTER.
IF WA_EDIDS-STATXT CA '&'.
V_MSGNO = WA_EDIDS-STAMNO.
CALL FUNCTION 'MESSAGE_PREPARE'
EXPORTING
msg_id = WA_EDIDS-STAMID
msg_no = V_MSGNO
MSG_VAR1 = WA_EDIDS-STAPA1
MSG_VAR2 = WA_EDIDS-STAPA2
MSG_VAR3 = WA_EDIDS-STAPA3
MSG_VAR4 = WA_EDIDS-STAPA4
IMPORTING
MSG_TEXT = itab-descrp.
CONDENSE ITAB-DESCRP.
ELSE .
ITAB-DESCRP = WA_EDIDS-STATXT.
ENDIF.
modify itab.
endloop.
loop at itab.
if itab-descrp is initial.
select single descrp from teds2 into itab-descrp
where status = itab-STATUS AND
LANGUA = 'E'.
endif.
MODIFY ITAB.
clear itab.
endloop.
LET ME KNOW
ThanksHi
I have made the foloowing changes which shows as added.
all i want in the itab-descrp is the message in status record.
if you have any messgae below the staus then i need that , if you don't have any mess below the status numeber then i need the message which is beside the no.
note the diffenece is below and beside.
loop at itab.
SELECT SINGLE * FROM EDIDS INTO WA_EDIDS WHERE DOCNUM = ITAB-IDOC
AND COUNTR = ITAB-STATUS_COUNTER.
IF WA_EDIDS-STATXT CA '&'.
V_MSGNO = WA_EDIDS-STAMNO.
if v_msgno ne '000'.----
added
CALL FUNCTION 'MESSAGE_PREPARE'
EXPORTING
msg_id = WA_EDIDS-STAMID
msg_no = V_MSGNO
MSG_VAR1 = WA_EDIDS-STAPA1
MSG_VAR2 = WA_EDIDS-STAPA2
MSG_VAR3 = WA_EDIDS-STAPA3
MSG_VAR4 = WA_EDIDS-STAPA4
IMPORTING
MSG_TEXT = itab-descrp.
CONDENSE ITAB-DESCRP.
endif.----
added
ELSE .
ITAB-DESCRP = WA_EDIDS-STATXT.
ENDIF.
modify itab.
endloop.
loop at itab.
if itab-descrp is initial.
select single descrp from teds2 into itab-descrp
where status = itab-STATUS AND
LANGUA = 'E'.
endif.
MODIFY ITAB.
clear itab.
endloop.
let me know if this works
Thanks -
How to use BLAREL03 standard iDOC to upload Purchasing contract to SAP
Hello
Guru's
Thanks in advance for your time.
we ae planning to upload purchasing contract details to SAP using BLAREL03 standard idoc.
can any one give me step step procedure to follow.
i am new to IDOC's i need little bit detail. give me with function modules names to upload.
In any way can we test it quickly,by creating text file with mandatory fields on the idoc and upload it.
we just worried about like contract start date,end date,(how it is handling while uploading) the fields which are on tree view of idoc, are not there,if we look at flat file structure of idoc.Hello
Guru's
Thanks in advance for your time.
we ae planning to upload purchasing contract details to SAP using BLAREL03 standard idoc.
can any one give me step step procedure to follow.
i am new to IDOC's i need little bit detail. give me with function modules names to upload.
In any way can we test it quickly,by creating text file with mandatory fields on the idoc and upload it.
we just worried about like contract start date,end date,(how it is handling while uploading) the fields which are on tree view of idoc, are not there,if we look at flat file structure of idoc. -
Message with IDOC number, created by LSMW, missing in job log in SM37
Hi gurus,
We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
This is what it looks like in the dev system:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
Data transfer started for object 'MATMAS' (project 'X', subobject 'Y') /SAPDMC/LSMW 501 I
Import program executed successfully /SAPDMC/LSMW 509 I
File 'XXX.lsmw.read' exists /SAPDMC/LSMW 502 I
Conversion program executed successfully /SAPDMC/LSMW 513 I
File 'XXX.lsmw.conv' exists /SAPDMC/LSMW 502 I
IDoc '0000000002489289' added E0 097 S
File 'XXX.lsmw.conv' transferred for IDoc generation /SAPDMC/LSMW 812 I
Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y') /SAPDMC/LSMW 516 I
In both cases the IDOC is created and update works fine.
My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
Regards,
LisbethHi Arun,
If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
Regards,
John. -
Problem with IDoc for an outbound delivery
Dear All,
I am facing a problem with the IDoc defined for an outbound delivery.
Scenario:
Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
What I did:
I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
What I can do:
I can issue an IDoc message, it looks ok and contains the standard data.
Problem:
It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
Am I using the proper exit? I appreciate any suggestions.
Thanks,
Grzegorz SkorusHello Grzegorz
Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases, it may help you.
Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
Futher the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
Hope this helps and others will pitch in.
1498409 - Valuation Type unavailable when creating deliveries using IDOC
631913 - Exit after formatting delivery IDoc type DELVRY
Maybe you are looking for
-
<b>CIM_ERR_ALREADY_EXISTS: Instance already exists: SAP_BCSystem.CreationClassName="SAP_BCSystem",Name="BRP.SystemNumber.0020270914.SystemHome.sapprddb"</b> Before I defined R/3 system in XI SLD wrongly, after that I delete from Business and technica
-
My HP Officejet 8500 will not install on windows 8.1. The error message says: The system will not find the specific file
-
Pages to epub...pfft...over!
Working with Pages on iMac. Tried ePub--exported file to iTunes Books. Connected iPad. Everything OK, save Chapters. They are all connected, i.e., no breaks despite having cleanly placed Section Breaks at end of each Ch. How does one command each Ch
-
I have my BC4J&JSP application deployed to Tomcat 4.1.27. Web Monitor (BC4J Admin Utility, /webapp/wm/bc4j.jsp) doesn't work properly on Tomcat, some elements on page are not displayed and I don't see any items of Application Module Pools... If I go
-
Hello, I have a USB-6211 and I want to generate a pulstrain for a power supply. The pulstrain is determined in ms on and off time (e.g. 49ms off, 1ms on, 5V). The length of the pulstrain is infinite, but must be haltet when an error happens. (I do no